home-automation-home-assistant/config/sensors/livingroom.yaml

9 satır
273 B
YAML
Ham Normal Görünüm Geçmiş

2019-01-16 12:47:15 +00:00
- platform: template
sensors:
harmony_activity:
value_template: >
{% if is_state("remote.livingroom_harmony", 'on') %}
{{ states.remote.livingroom_harmony.attributes.current_activity }}
{% else %}
PowerOff
{% endif %}