diff --git a/custom_components/xiaomi_miot/core/device_customizes.py b/custom_components/xiaomi_miot/core/device_customizes.py index 68cbe89f7..fc39c9635 100644 --- a/custom_components/xiaomi_miot/core/device_customizes.py +++ b/custom_components/xiaomi_miot/core/device_customizes.py @@ -236,6 +236,9 @@ }, 'leshow.humidifier.jsq1': { 'miot_type': 'urn:miot-spec-v2:device:humidifier:0000A00E:leshow-jsq1:2', + 'sensor_properties': 'humidifier.water_level', + 'switch_properties': 'alarm,warm_wind_turn,turn_ovp,dry_turn,turn_off_dry_turn', + 'number_properties': 'screen_brightness,tsms_turn_off', }, 'lumi.acpartner.mcn02:electric_power': { 'value_ratio': 1, diff --git a/custom_components/xiaomi_miot/core/miot_specs_extend.json b/custom_components/xiaomi_miot/core/miot_specs_extend.json index fe9ae3d0c..10e37c32e 100644 --- a/custom_components/xiaomi_miot/core/miot_specs_extend.json +++ b/custom_components/xiaomi_miot/core/miot_specs_extend.json @@ -85,6 +85,26 @@ } ], + "leshow.humidifier.jsq1": [ + { + "iid": 8, + "properties": [ + { + "iid": 5, + "access": ["read"] + }, + { + "iid": 6, + "access": ["read", "write"] + }, + { + "iid": 7, + "access": ["read"] + } + ] + } + ], + "lumi.airer.acn01": [ { "iid": 2,