diff --git a/custom_components/xiaomi_miot/core/device_customizes.py b/custom_components/xiaomi_miot/core/device_customizes.py index 742b9e623..6d3ce46b7 100644 --- a/custom_components/xiaomi_miot/core/device_customizes.py +++ b/custom_components/xiaomi_miot/core/device_customizes.py @@ -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'], @@ -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'],