Skip to content

Commit

Permalink
❄️ add miio2miot for zhimi.aircondition.v1 (#2107)
Browse files Browse the repository at this point in the history
  • Loading branch information
al-one committed Dec 19, 2024
1 parent 8974d62 commit 184c990
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions custom_components/xiaomi_miot/core/miio2miot_specs.py
Original file line number Diff line number Diff line change
Expand Up @@ -2545,12 +2545,12 @@ def cbk(prop, params, props, **kwargs):
'prop.2.4': {'prop': 'ptc', 'setter': True, 'format': 'onoff'},
'prop.2.5': {'prop': 'silent', 'setter': True, 'format': 'onoff'},
'prop.3.1': {'prop': 'speed_level', 'setter': 'set_spd_level', 'dict': {
0: 4, # quiet
1: 1, # low
2: 2, # medium
3: 3, # high
4: 5, # turbo
5: 0, # auto
0: 1,
1: 2,
2: 3,
3: 4,
4: 5,
5: 0, # auto
}},
'prop.3.2': {'prop': 'vertical_swing', 'setter': 'set_vertical', 'format': 'onoff'},
'prop.3.3': {'prop': 'vertical_rt', 'setter': 'set_ver_pos'},
Expand Down Expand Up @@ -2587,12 +2587,12 @@ def cbk(prop, params, props, **kwargs):
'prop.2.4': {'prop': 'silent', 'setter': True, 'format': 'onoff'},
'prop.2.5': {'prop': 'ptc', 'setter': True, 'format': 'onoff'},
'prop.3.1': {'prop': 'speed_level', 'setter': 'set_spd_level', 'dict': {
0: 1,
1: 2,
2: 3,
3: 4,
4: 5,
5: 0, # auto
0: 4, # quiet
1: 1, # low
2: 2, # medium
3: 3, # high
4: 5, # turbo
5: 0, # auto
}},
'prop.3.2': {'prop': 'horizon_swing', 'setter': 'set_horizon', 'format': 'onoff'},
'prop.3.3': {'prop': 'vertical_swing', 'setter': 'set_vertical', 'format': 'onoff'},
Expand Down

0 comments on commit 184c990

Please sign in to comment.