Skip to content

Commit a9007cf

Browse files
committed
Remove gateway-related from the manual_fixtures script
1 parent 6b76233 commit a9007cf

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

scripts/manual_fixtures.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -67,10 +67,6 @@ def json_writer(manual_name: str, all_data: dict) -> None:
6767

6868
m_adam_cooling = base.copy()
6969

70-
# Set cooling_present to true, item_count to 89
71-
m_adam_cooling["gateway"]["cooling_present"] = True
72-
m_adam_cooling["gateway"]["item_count"] = 89
73-
7470
# Remove devices 67d73d0bd469422db25a618a5fb8eeb0, 29542b2b6a6a4169acecc15c72a599b8 and 10016900610d4c7481df78c89606ef22 from anywhere
7571
m_adam_cooling["devices"].pop("29542b2b6a6a4169acecc15c72a599b8")
7672
m_adam_cooling["devices"].pop("67d73d0bd469422db25a618a5fb8eeb0")
@@ -166,9 +162,6 @@ def json_writer(manual_name: str, all_data: dict) -> None:
166162

167163
m_adam_heating = m_adam_cooling.copy()
168164

169-
# Set cooling_present to false
170-
m_adam_heating["gateway"]["cooling_present"] = False
171-
172165
# Correct setpoint for "ad4838d7d35c4d6ea796ee12ae5aedf8"
173166
m_adam_heating["devices"]["f2bf9048bef64cc5b6d5110154e33c81"]["thermostat"][
174167
"setpoint"
@@ -258,9 +251,6 @@ def json_writer(manual_name: str, all_data: dict) -> None:
258251
base = json.load(io)
259252
m_anna_heatpump_cooling = base.copy()
260253

261-
# Set cooling_present to true
262-
m_anna_heatpump_cooling["gateway"]["cooling_present"] = True
263-
264254
# Go for 1cbf
265255
m_anna_heatpump_cooling["devices"]["1cbf783bb11e4a7c8a6843dee3a86927"][
266256
"model"

0 commit comments

Comments
 (0)