-
Notifications
You must be signed in to change notification settings - Fork 0
/
switches.yaml
38 lines (35 loc) · 1.01 KB
/
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
30
31
32
33
34
35
36
37
38
## switches
- platform: flux
lights:
- light.hall
- light.left_of_screen
- light.right_of_screen
- light.left_of_sofa
- light.right_of_sofa
- light.ed_bedside
- light.hadden_bedside
- light.barlet
# - light.tradfri_bulb_gu10_ws_400lm_3
# - light.tradfri_bulb_gu10_ws_400lm_4
# - light.tradfri_bulb_gu10_ws_400lm_2
# - light.tradfri_bulb_gu10_ws_400lm
name: Fluxer
# start_time: '7:00'
# stop_time: '23:00'
# start_colortemp: 4000
# sunset_colortemp: 3000
# stop_colortemp: 1900
brightness: 240
mode: xy
- platform: template
switches:
tv:
value_template: "{% if is_state('remote.harmony_hub', 'on') %}on{% else %}off{% endif %}"
turn_on:
service: remote.turn_on
entity_id: remote.harmony_hub
data:
activity: 23274548
turn_off:
service: remote.turn_off
entity_id: remote.harmony_hub