diff --git a/custom_components/xiaomi_miot/core/miio2miot_specs.py b/custom_components/xiaomi_miot/core/miio2miot_specs.py index f7c748fcc..304fa869b 100644 --- a/custom_components/xiaomi_miot/core/miio2miot_specs.py +++ b/custom_components/xiaomi_miot/core/miio2miot_specs.py @@ -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'}, },