Files
fresh-home/components/fans/template_fans.yaml
T
2024-04-14 14:08:56 -04:00

23 lines
724 B
YAML

platform: template
fans:
utility_room_vent:
unique_id: template_fan.utility_room_vent
friendly_name: "Utility Room Vent"
value_template: "{{ states('switch.utility_room_vent_switch') }}"
turn_on:
service: switch.turn_on
entity_id: switch.utility_room_vent_switch
turn_off:
service: switch.turn_off
entity_id: switch.utility_room_vent_switch
bathroom_vent:
unique_id: templatefan.bathroom_vent
friendly_name: "Bathroom Vent"
value_template: "{{ states('switch.bathroom_vent_switch') }}"
turn_on:
service: switch.turn_on
entity_id: switch.bathroom_vent_switch
turn_off:
service: switch.turn_off
entity_id: switch.bathroom_vent_switch