Skip to content

Commit

Permalink
🛀 fix miio2miot for viomi.waterheater.e1 (#1707)
Browse files Browse the repository at this point in the history
  • Loading branch information
al-one committed Oct 28, 2024
1 parent b77a855 commit 41d86e3
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion custom_components/xiaomi_miot/core/miio2miot_specs.py
Original file line number Diff line number Diff line change
Expand Up @@ -1587,7 +1587,17 @@ def cbk(prop, params, props, **kwargs):
},
},
'viomi.waterheater.e1': {
'chunk_properties': 1,
'without_props': True,
'miio_commands': [
{
'method': 'get_prop',
'params': [
'washStatus', 'velocity', 'waterTemp', 'targetTemp', 'errStatus',
'hotWater', 'needClean', 'modeType', 'appointStart', 'appointEnd',
],
'values': True,
},
],
'miio_specs': {
'prop.2.1': {'prop': 'targetTemp', 'setter': 'set_temp', 'set_template': '{{ [value|int] }}'},
'prop.2.2': {'prop': 'waterTemp'},
Expand Down

0 comments on commit 41d86e3

Please sign in to comment.