mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-10 19:06:55 +00:00
Fix Evohome example in documentation (#16063)
This commit is contained in:
parent
f0e73c17a2
commit
7cfaf8a096
@ -219,7 +219,7 @@ All Evohome entities may have faults, and these can be turned into sensors, or:
|
||||
|
||||
```text
|
||||
{% if state_attr('climate.bedroom', 'status').active_faults %}
|
||||
{% if state_attr('climate.bedroom', 'status').active_faults[0].fault_type == 'TempZoneActuatorLowBattery' %}
|
||||
{% if state_attr('climate.bedroom', 'status').active_faults[0].faultType == 'TempZoneActuatorLowBattery' %}
|
||||
There is a low battery
|
||||
{% endif %}
|
||||
There is a Fault!
|
||||
|
Loading…
x
Reference in New Issue
Block a user