Fix Evohome example in documentation (#16063)

This commit is contained in:
Franck Nijhof 2021-01-02 09:14:36 +01:00 committed by GitHub
parent f0e73c17a2
commit 7cfaf8a096
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -219,7 +219,7 @@ All Evohome entities may have faults, and these can be turned into sensors, or:
```text ```text
{% if state_attr('climate.bedroom', 'status').active_faults %} {% 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 There is a low battery
{% endif %} {% endif %}
There is a Fault! There is a Fault!