-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathscripts.yaml
111 lines (108 loc) · 3.16 KB
/
scripts.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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
govee_heater_1_on:
alias: 'Govee Heater 1: On'
sequence:
- service: rest_command.govee_appliance_request
data:
requestId: "1_on_1"
sku: H7131
device: !secret govee_heater_1_device
capability_type: devices.capabilities.work_mode
capability_instance: workMode
capability_value: '{"workMode": 1, "modeValue": 2}'
- service: rest_command.govee_appliance_request
data:
requestId: "1_on_2"
sku: H7131
device: !secret govee_heater_1_device
capability_type: devices.capabilities.on_off
capability_instance: powerSwitch
capability_value: 1
- service: input_boolean.turn_on
target:
entity_id: input_boolean.govee_heater_1_state
- delay:
seconds: 3
- service: rest_command.govee_device_state
data:
requestId: "1_on_3"
sku: H7131
device: !secret govee_heater_1_device
mode: single
icon: mdi:radiator
govee_heater_1_off:
alias: 'Govee Heater 1: Off'
sequence:
- service: rest_command.govee_appliance_request
data:
requestId: "1_off_1"
sku: H7131
device: !secret govee_heater_1_device
capability_type: devices.capabilities.on_off
capability_instance: powerSwitch
capability_value: 0
- service: input_boolean.turn_off
target:
entity_id: input_boolean.govee_heater_1_state
- delay:
seconds: 3
- service: rest_command.govee_device_state
data:
requestId: "1_off_2"
sku: H7131
device: !secret govee_heater_1_device
mode: single
icon: mdi:radiator-off
# govee_heater_2_on:
# alias: 'Govee Heater 2: On'
# sequence:
# - service: rest_command.govee_appliance_request
# data:
# requestId: "2_on_1"
# sku: H7131
# device: !secret govee_heater_2_device
# capability_type: devices.capabilities.work_mode
# capability_instance: workMode
# capability_value: '{"workMode": 1, "modeValue": 2}'
# - service: rest_command.govee_appliance_request
# data:
# requestId: "2_on_2"
# sku: H7131
# device: !secret govee_heater_2_device
# capability_type: devices.capabilities.on_off
# capability_instance: powerSwitch
# capability_value: 1
# - service: input_boolean.turn_on
# target:
# entity_id: input_boolean.govee_heater_2_state
# - delay:
# seconds: 3
# - service: rest_command.govee_device_state
# data:
# requestId: "2_on_3"
# sku: H7131
# device: !secret govee_heater_2_device
# mode: single
# icon: mdi:radiator
# govee_heater_2_off:
# alias: 'Govee Heater 2: Off'
# sequence:
# - service: rest_command.govee_appliance_request
# data:
# requestId: "2_off_1"
# sku: H7131
# device: !secret govee_heater_2_device
# capability_type: devices.capabilities.on_off
# capability_instance: powerSwitch
# capability_value: 0
# - service: input_boolean.turn_off
# target:
# entity_id: input_boolean.govee_heater_2_state
# - delay:
# seconds: 3
# - service: rest_command.govee_device_state
# data:
# requestId: "2_off_2"
# sku: H7131
# device: !secret govee_heater_2_device
# mode: single
# icon: mdi:radiator-off