mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-09 10:30:14 -04:00
28 lines
904 B
YAML
28 lines
904 B
YAML
template:
|
|
- fan:
|
|
- unique_id: template_fan.utility_room_vent
|
|
turn_on:
|
|
- action: switch.turn_on
|
|
entity_id:
|
|
- switch.utility_room_vent_switch
|
|
turn_off:
|
|
- action: switch.turn_off
|
|
entity_id:
|
|
- switch.utility_room_vent_switch
|
|
default_entity_id: fan.utility_room_vent
|
|
name: Utility Room Vent
|
|
state: "{{ states('switch.utility_room_vent_switch') }}"
|
|
|
|
- unique_id: templatefan.bathroom_vent
|
|
turn_on:
|
|
- action: switch.turn_on
|
|
entity_id:
|
|
- switch.master_bathroom_vent_switch
|
|
turn_off:
|
|
- action: switch.turn_off
|
|
entity_id:
|
|
- switch.master_bathroom_vent_switch
|
|
default_entity_id: fan.bathroom_vent
|
|
name: Bathroom Vent
|
|
state: "{{ states('switch.master_bathroom_vent_switch') }}"
|