Skip to content

Commit

Permalink
👔 fix for hyd.airer.pro (#2252)
Browse files Browse the repository at this point in the history
  • Loading branch information
al-one committed Feb 11, 2025
1 parent 0434319 commit 3e0c5c6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions custom_components/xiaomi_miot/core/device_customizes.py
Original file line number Diff line number Diff line change
Expand Up @@ -763,6 +763,8 @@
'cover_position_mapping': {},
},
'hyd.airer.pro': {
'switch_properties': 'mode,nightlight_switch',
'number_properties': 'brightness,upper_limit,lower_limit',
'append_converters': [
{
'services': ['set_night_light'],
Expand All @@ -773,6 +775,8 @@
'cover_position_mapping': None,
},
'hyd.airer.pro2': {
'switch_properties': 'mode,nightlight_switch',
'number_properties': 'brightness,upper_limit,lower_limit',
'append_converters': [
{
'services': ['set_night_light'],
Expand Down

0 comments on commit 3e0c5c6

Please sign in to comment.