-
Notifications
You must be signed in to change notification settings - Fork 0
/
automations.yaml
85 lines (85 loc) · 1.71 KB
/
automations.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
82
83
84
85
- id: '1661458151243'
alias: På 00:00
description: ''
trigger:
- platform: time
at: 00:00:00
condition: []
action:
- type: turn_on
device_id: ca45d506f406bc800f4bdc2b28243918
entity_id: switch.smart_plug_2
domain: switch
mode: single
- id: '1661458202109'
alias: Av 06:00
description: ''
trigger:
- platform: time
at: 06:00:00
condition: []
action:
- type: turn_off
device_id: ca45d506f406bc800f4bdc2b28243918
entity_id: switch.smart_plug_2
domain: switch
mode: single
- id: '1662057950821'
alias: På når billig
description: ''
trigger:
- platform: state
entity_id:
- binary_sensor.nordpool_cheapest_12_hours
to: 'on'
for:
hours: 0
minutes: 0
seconds: 2
condition: []
action:
- type: turn_on
device_id: ca45d506f406bc800f4bdc2b28243918
entity_id: switch.smart_plug_2
domain: switch
mode: single
- id: '1662057996575'
alias: Av når dyrt
description: ''
trigger:
- platform: state
entity_id:
- binary_sensor.nordpool_cheapest_12_hours
to: 'off'
for:
hours: 0
minutes: 0
seconds: 2
condition: []
action:
- type: turn_off
device_id: ca45d506f406bc800f4bdc2b28243918
entity_id: switch.smart_plug_2
domain: switch
mode: single
- id: '1664308699598'
alias: Sett temp etter strømpris
description: ''
trigger:
- platform: state
entity_id:
- sensor.thermostat
for:
hours: 0
minutes: 0
seconds: 10
condition: []
action:
- service: climate.set_temperature
data:
temperature: '{{ states.sensor.thermostat.state }}'
target:
entity_id:
- climate.mill_panel
- climate.mill_panel_2
mode: single