Skip to content

Commit

Permalink
💦 add sub entities for leshow.humidifier.jsq1 (#556)
Browse files Browse the repository at this point in the history
  • Loading branch information
al-one committed May 20, 2022
1 parent 673a400 commit c08d324
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
3 changes: 3 additions & 0 deletions custom_components/xiaomi_miot/core/device_customizes.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
20 changes: 20 additions & 0 deletions custom_components/xiaomi_miot/core/miot_specs_extend.json
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit c08d324

Please sign in to comment.