Skip to content

Commit 3a35241

Browse files
committed
Save updated fixtures, test-data json-files
1 parent 9133bd2 commit 3a35241

File tree

5 files changed

+4
-1
lines changed

5 files changed

+4
-1
lines changed

fixtures/legacy_anna/all_data.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
"0d266432d64443e283b5d708ae98b455": {
3838
"active_preset": "home",
3939
"climate_mode": "heat",
40+
"control_state": "heating",
4041
"dev_class": "thermostat",
4142
"firmware": "2017-03-13T11:54:58+01:00",
4243
"hardware": "6539-1301-500",

fixtures/legacy_anna_2/all_data.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"active_preset": null,
55
"available_schedules": ["Thermostat schedule", "off"],
66
"climate_mode": "heat",
7+
"control_state": "idle",
78
"dev_class": "thermostat",
89
"firmware": "2017-03-13T11:54:58+01:00",
910
"hardware": "6539-1301-5002",

plugwise/legacy/data.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,4 +104,3 @@ def _get_anna_control_state(self, data: GwEntityData) -> None:
104104
binary_sensors = entity["binary_sensors"]
105105
if binary_sensors["heating_state"]:
106106
data["control_state"] = "heating"
107-

tests/data/anna/legacy_anna.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
"0d266432d64443e283b5d708ae98b455": {
3838
"active_preset": "home",
3939
"climate_mode": "heat",
40+
"control_state": "heating",
4041
"dev_class": "thermostat",
4142
"firmware": "2017-03-13T11:54:58+01:00",
4243
"hardware": "6539-1301-500",

tests/data/anna/legacy_anna_2.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"active_preset": null,
55
"available_schedules": ["Thermostat schedule", "off"],
66
"climate_mode": "heat",
7+
"control_state": "idle",
78
"dev_class": "thermostat",
89
"firmware": "2017-03-13T11:54:58+01:00",
910
"hardware": "6539-1301-5002",

0 commit comments

Comments
 (0)