forked from bieniu/home-assistant-config
-
Notifications
You must be signed in to change notification settings - Fork 0
/
switches.yaml
81 lines (76 loc) · 1.83 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
- platform: wake_on_lan
name: "stacjonarny"
host: !secret desktop_hostname
mac: !secret desktop_mac_address
broadcast_address: 255.255.255.255
turn_off:
service: hassio.addon_stdin
data:
addon: core_rpc_shutdown
input: stacjonarny
- platform: flux
lights:
- light.bulbs_salon
- light.lamp_salon
name: "Flux"
start_colortemp: 4400
sunset_colortemp: 3850
stop_colortemp: 3300
mode: mired
brightness: 255
transition: 30
interval: 600
- platform: template
switches:
camera_move_up:
friendly_name: "w górę"
value_template: "on"
turn_on:
service: script.camera_move
data:
orientation: "horizontal"
direction: "up"
turn_off:
service: script.camera_move
data:
orientation: "vertical"
direction: "up"
camera_move_down:
friendly_name: "w dół"
value_template: "on"
turn_on:
service: script.camera_move
data:
orientation: "horizontal"
direction: "down"
turn_off:
service: script.camera_move
data:
orientation: "vertical"
direction: "down"
camera_move_left:
friendly_name: "w lewo"
value_template: "on"
turn_on:
service: script.camera_move
data:
orientation: "horizontal"
direction: "left"
turn_off:
service: script.camera_move
data:
orientation: "horizontal"
direction: "left"
camera_move_right:
friendly_name: "w prawo"
value_template: "on"
turn_on:
service: script.camera_move
data:
orientation: "horizontal"
direction: "right"
turn_off:
service: script.camera_move
data:
orientation: "horizontal"
direction: "right"