#Looking for some help on a template
1 messages · Page 1 of 1 (latest)
ffs
I'm a discord noob
I can't figure out how to add my YAML 😆
cover:
- platform: template
covers:
lg_washer_cover:
unique_id:
friendly_name: "LG Washer Cover"
value_template: "{{ states('sensor.front_load_washer_run_state') }}"
open_cover:
- condition: state
entity_id: sensor.front_load_washer_run_state
state: "finished"
close_cover:
- condition: state
entity_id: sensor.front_load_washer_run_state
state: "-"
icon_template: >-
{% if is_state('sensor.front_load_washer_run_state', 'finished') %}
mdi:washing-machine
{% else %}
mdi:washing-machine-off
{% endif %}