Skip to content

Commit

Permalink
🍃 fix for zhimi.airpurifier.mc1 (#2386)
Browse files Browse the repository at this point in the history
  • Loading branch information
al-one committed Feb 25, 2025
1 parent 5127333 commit 193f8d2
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 @@ -2729,7 +2729,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 }}',
},
},
},
Expand Down

0 comments on commit 193f8d2

Please sign in to comment.