Skip to content

Commit 77ed04a

Browse files
committed
Save updated fixture
1 parent 4d2de5e commit 77ed04a

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

fixtures/adam_heatpump_cooling/all_data.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"firmware": "2016-10-10T02:00:00+02:00",
4747
"hardware": "255",
4848
"location": "b52908550469425b812c87f766fe5303",
49-
"mode": "heat_cool",
49+
"mode": "cool",
5050
"model": "Lisa",
5151
"name": "Thermostaat BK",
5252
"preset_modes": ["no_frost", "vacation", "away", "home", "asleep"],
@@ -155,7 +155,7 @@
155155
"firmware": "2016-10-10T02:00:00+02:00",
156156
"hardware": "255",
157157
"location": "20e735858f8146cead98b873177a4f99",
158-
"mode": "heat_cool",
158+
"mode": "cool",
159159
"model": "Lisa",
160160
"name": "Thermostaat DB",
161161
"preset_modes": ["no_frost", "vacation", "away", "home", "asleep"],
@@ -231,7 +231,7 @@
231231
"firmware": "2016-10-10T02:00:00+02:00",
232232
"hardware": "255",
233233
"location": "e39529c79ab54fda9bed26cfc0447546",
234-
"mode": "heat_cool",
234+
"mode": "cool",
235235
"model": "Lisa",
236236
"name": "Thermostaat JM",
237237
"preset_modes": ["no_frost", "vacation", "away", "home", "asleep"],
@@ -358,7 +358,7 @@
358358
"firmware": "2016-10-10T02:00:00+02:00",
359359
"hardware": "255",
360360
"location": "9a27714b970547ee9a6bdadc2b815ad5",
361-
"mode": "heat_cool",
361+
"mode": "cool",
362362
"model": "Lisa",
363363
"name": "Thermostaat SQ",
364364
"preset_modes": ["no_frost", "vacation", "away", "home", "asleep"],
@@ -390,7 +390,7 @@
390390
"firmware": "2016-10-10T02:00:00+02:00",
391391
"hardware": "255",
392392
"location": "93ac3f7bf25342f58cbb77c4a99ac0b3",
393-
"mode": "heat_cool",
393+
"mode": "cool",
394394
"model": "Lisa",
395395
"name": "Thermostaat RB",
396396
"preset_modes": ["no_frost", "vacation", "away", "home", "asleep"],
@@ -444,7 +444,7 @@
444444
"firmware": "2016-10-10T02:00:00+02:00",
445445
"hardware": "255",
446446
"location": "04b15f6e884448288f811d29fb7b1b30",
447-
"mode": "heat_cool",
447+
"mode": "cool",
448448
"model": "Lisa",
449449
"name": "Thermostaat SJ",
450450
"preset_modes": ["no_frost", "vacation", "away", "home", "asleep"],

plugwise/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ def _device_data_climate(
230230
device_data["mode"] = "heat_cool"
231231
if "regulation_modes" in gateway:
232232
if gateway["select_regulation_mode"] == "cooling":
233-
device_data["mode"] = "cool"
233+
device_data["mode"] = "cool"
234234

235235
if "regulation_modes" in gateway:
236236
if gateway["select_regulation_mode"] == "off":

0 commit comments

Comments
 (0)