Skip to content

Commit

Permalink
🍃 improve for zhimi.airpurifier.v3 (#2076)
Browse files Browse the repository at this point in the history
  • Loading branch information
al-one committed Dec 28, 2024
1 parent 8b430ae commit 1309500
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/xiaomi_miot/core/miio2miot_specs.py
Original file line number Diff line number Diff line change
Expand Up @@ -2795,7 +2795,7 @@ def cbk(prop, params, props, **kwargs):
'miio_specs': {
'prop.4.2': {
'prop': 'f1_hour_used',
'template': '{{ value/(props.filter1_life|default(0,true)/100)-value }}',
'template': '{{ value/(props.filter1_life|default(1,true)/100)-value }}',
},
'prop.7.1': {'prop': 'child_lock', 'setter': True, 'format': 'onoff'},
},
Expand Down

0 comments on commit 1309500

Please sign in to comment.