Skip to content

Commit 9ffef26

Browse files
authored
Merge pull request #497 from plugwise/fixtures
Set flame_state to false in relevant fixtures
2 parents efddcd6 + 5996950 commit 9ffef26

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

fixtures/m_adam_cooling/all_data.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"binary_sensors": {
66
"cooling_state": true,
77
"dhw_state": false,
8-
"flame_state": true,
8+
"flame_state": false,
99
"heating_state": false
1010
},
1111
"dev_class": "heater_central",

fixtures/m_adam_heating/all_data.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"available": true,
55
"binary_sensors": {
66
"dhw_state": false,
7-
"flame_state": true,
7+
"flame_state": false,
88
"heating_state": true
99
},
1010
"dev_class": "heater_central",

scripts/manual_fixtures.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,9 @@ def json_writer(
164164
m_adam_cooling["devices"]["056ee145a816487eaa69243c3280f8bf"]["binary_sensors"][
165165
"heating_state"
166166
] = False
167+
m_adam_cooling["devices"]["056ee145a816487eaa69243c3280f8bf"]["binary_sensors"][
168+
"flame_state"
169+
] = False
167170
m_adam_cooling["devices"]["056ee145a816487eaa69243c3280f8bf"]["sensors"][
168171
"water_temperature"
169172
] = 19.0
@@ -238,6 +241,9 @@ def json_writer(
238241
m_adam_heating["devices"]["056ee145a816487eaa69243c3280f8bf"]["binary_sensors"][
239242
"heating_state"
240243
] = True
244+
m_adam_cooling["devices"]["056ee145a816487eaa69243c3280f8bf"]["binary_sensors"][
245+
"flame_state"
246+
] = False
241247
m_adam_heating["devices"]["056ee145a816487eaa69243c3280f8bf"]["sensors"][
242248
"water_temperature"
243249
] = 37.0

0 commit comments

Comments
 (0)