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') }}"