-
Notifications
You must be signed in to change notification settings - Fork 0
/
switches.yaml
29 lines (29 loc) · 890 Bytes
/
switches.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
- platform: template
switches:
media_equipment:
friendly_name: "Mediautrustning"
value_template: "{{ states('switch.shelly_plug_1') }}"
turn_on:
service: switch.turn_on
entity_id: switch.shelly_plug_1
turn_off:
service: switch.turn_off
entity_id: switch.shelly_plug_1
fireplace_fan:
friendly_name: "Fläktar eldstad"
value_template: "{{ states('switch.uttag2') }}"
turn_on:
service: switch.turn_on
entity_id: switch.uttag2
turn_off:
service: switch.turn_off
entity_id: switch.uttag2
# onkyo_receiver:
# friendly_name: "Onkyo Receiver"
# value_template: '{{ states('switch.uttag5') }}'
# turn_on:
# service: switch.turn_on
# entity_id: switch.uttag5
# turn_off:
# service: switch.turn_off
# entity_id: switch.uttag5