9 خطوط
273 B
YAML
9 خطوط
273 B
YAML
- platform: template
|
|
sensors:
|
|
harmony_activity:
|
|
value_template: >
|
|
{% if is_state("remote.livingroom_harmony", 'on') %}
|
|
{{ states.remote.livingroom_harmony.attributes.current_activity }}
|
|
{% else %}
|
|
PowerOff
|
|
{% endif %} |