Skip to content

Commit 315c4a1

Browse files
committed
Remove corresponding assert
1 parent 2595e33 commit 315c4a1

File tree

10 files changed

+95
-20
lines changed

10 files changed

+95
-20
lines changed

fixtures/adam_plus_anna/all_data.json

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,14 +65,22 @@
6565
},
6666
"ee62cad889f94e8ca3d09021f03a660b": {
6767
"active_preset": "home",
68-
"available_schedules": ["Weekschema"],
68+
"available_schedules": [
69+
"Weekschema"
70+
],
6971
"dev_class": "thermostat",
7072
"last_used": "Weekschema",
7173
"location": "009490cc2f674ce6b576863fbb64f867",
7274
"mode": "auto",
7375
"model": "ThermoTouch",
7476
"name": "Anna",
75-
"preset_modes": ["home", "asleep", "away", "vacation", "no_frost"],
77+
"preset_modes": [
78+
"home",
79+
"asleep",
80+
"away",
81+
"vacation",
82+
"no_frost"
83+
],
7684
"selected_schedule": "Weekschema",
7785
"sensors": {
7886
"setpoint": 20.5,
@@ -91,7 +99,6 @@
9199
"dev_class": "computer_desktop",
92100
"firmware": "2019-06-21T02:00:00+02:00",
93101
"location": "5ccb6c41a7d9403988d261ceee04239f",
94-
"model": "Plug",
95102
"name": "Work-PC",
96103
"sensors": {
97104
"electricity_consumed": 79.8,

fixtures/anna_v4/all_data.json

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@
22
"devices": {
33
"01b85360fdd243d0aaad4d6ac2a5ba7e": {
44
"active_preset": "home",
5-
"available_schedules": ["Standaard", "Thuiswerken"],
5+
"available_schedules": [
6+
"Standaard",
7+
"Thuiswerken"
8+
],
69
"dev_class": "thermostat",
710
"firmware": "2018-02-08T11:15:53+01:00",
811
"hardware": "6539-1301-5002",
@@ -11,7 +14,13 @@
1114
"mode": "heat",
1215
"model": "ThermoTouch",
1316
"name": "Anna",
14-
"preset_modes": ["vacation", "no_frost", "away", "asleep", "home"],
17+
"preset_modes": [
18+
"vacation",
19+
"no_frost",
20+
"away",
21+
"asleep",
22+
"home"
23+
],
1524
"selected_schedule": "None",
1625
"sensors": {
1726
"illuminance": 40.5,

fixtures/anna_v4_dhw/all_data.json

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@
22
"devices": {
33
"01b85360fdd243d0aaad4d6ac2a5ba7e": {
44
"active_preset": "home",
5-
"available_schedules": ["Standaard", "Thuiswerken"],
5+
"available_schedules": [
6+
"Standaard",
7+
"Thuiswerken"
8+
],
69
"dev_class": "thermostat",
710
"firmware": "2018-02-08T11:15:53+01:00",
811
"hardware": "6539-1301-5002",
@@ -11,7 +14,13 @@
1114
"mode": "heat",
1215
"model": "ThermoTouch",
1316
"name": "Anna",
14-
"preset_modes": ["vacation", "no_frost", "away", "asleep", "home"],
17+
"preset_modes": [
18+
"vacation",
19+
"no_frost",
20+
"away",
21+
"asleep",
22+
"home"
23+
],
1524
"selected_schedule": "None",
1625
"sensors": {
1726
"illuminance": 40.5,

fixtures/anna_v4_no_tag/all_data.json

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@
22
"devices": {
33
"01b85360fdd243d0aaad4d6ac2a5ba7e": {
44
"active_preset": "home",
5-
"available_schedules": ["Standaard", "Thuiswerken"],
5+
"available_schedules": [
6+
"Standaard",
7+
"Thuiswerken"
8+
],
69
"dev_class": "thermostat",
710
"firmware": "2018-02-08T11:15:53+01:00",
811
"hardware": "6539-1301-5002",
@@ -11,7 +14,13 @@
1114
"mode": "auto",
1215
"model": "ThermoTouch",
1316
"name": "Anna",
14-
"preset_modes": ["vacation", "no_frost", "away", "asleep", "home"],
17+
"preset_modes": [
18+
"vacation",
19+
"no_frost",
20+
"away",
21+
"asleep",
22+
"home"
23+
],
1524
"selected_schedule": "Thuiswerken",
1625
"sensors": {
1726
"illuminance": 40.5,

fixtures/anna_without_boiler_fw3/all_data.json

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@
22
"devices": {
33
"7ffbb3ab4b6c4ab2915d7510f7bf8fe9": {
44
"active_preset": "away",
5-
"available_schedules": ["Test", "Normal"],
5+
"available_schedules": [
6+
"Test",
7+
"Normal"
8+
],
69
"dev_class": "thermostat",
710
"firmware": "2018-02-08T11:15:53+01:00",
811
"hardware": "6539-1301-5002",
@@ -11,7 +14,13 @@
1114
"mode": "auto",
1215
"model": "ThermoTouch",
1316
"name": "Anna",
14-
"preset_modes": ["vacation", "no_frost", "asleep", "away", "home"],
17+
"preset_modes": [
18+
"vacation",
19+
"no_frost",
20+
"asleep",
21+
"away",
22+
"home"
23+
],
1524
"selected_schedule": "Normal",
1625
"sensors": {
1726
"illuminance": 35.0,

fixtures/anna_without_boiler_fw4/all_data.json

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22
"devices": {
33
"7ffbb3ab4b6c4ab2915d7510f7bf8fe9": {
44
"active_preset": "home",
5-
"available_schedules": ["Normal"],
5+
"available_schedules": [
6+
"Normal"
7+
],
68
"dev_class": "thermostat",
79
"firmware": "2018-02-08T11:15:53+01:00",
810
"hardware": "6539-1301-5002",
@@ -11,7 +13,13 @@
1113
"mode": "auto",
1214
"model": "ThermoTouch",
1315
"name": "Anna",
14-
"preset_modes": ["vacation", "no_frost", "asleep", "away", "home"],
16+
"preset_modes": [
17+
"vacation",
18+
"no_frost",
19+
"asleep",
20+
"away",
21+
"home"
22+
],
1523
"selected_schedule": "Normal",
1624
"sensors": {
1725
"illuminance": 44.8,

fixtures/anna_without_boiler_fw42/all_data.json

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@
22
"devices": {
33
"7ffbb3ab4b6c4ab2915d7510f7bf8fe9": {
44
"active_preset": "home",
5-
"available_schedules": ["Test", "Normal"],
5+
"available_schedules": [
6+
"Test",
7+
"Normal"
8+
],
69
"dev_class": "thermostat",
710
"firmware": "2018-02-08T11:15:53+01:00",
811
"hardware": "6539-1301-5002",
@@ -11,7 +14,13 @@
1114
"mode": "auto",
1215
"model": "ThermoTouch",
1316
"name": "Anna",
14-
"preset_modes": ["no_frost", "asleep", "away", "home", "vacation"],
17+
"preset_modes": [
18+
"no_frost",
19+
"asleep",
20+
"away",
21+
"home",
22+
"vacation"
23+
],
1524
"selected_schedule": "Test",
1625
"sensors": {
1726
"illuminance": 0.25,

fixtures/legacy_anna/all_data.json

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,9 @@
3939
},
4040
"0d266432d64443e283b5d708ae98b455": {
4141
"active_preset": "home",
42-
"available_schedules": ["Thermostat schedule"],
42+
"available_schedules": [
43+
"Thermostat schedule"
44+
],
4345
"dev_class": "thermostat",
4446
"firmware": "2017-03-13T11:54:58+01:00",
4547
"hardware": "6539-1301-500",
@@ -48,7 +50,13 @@
4850
"mode": "auto",
4951
"model": "ThermoTouch",
5052
"name": "Anna",
51-
"preset_modes": ["away", "vacation", "asleep", "home", "no_frost"],
53+
"preset_modes": [
54+
"away",
55+
"vacation",
56+
"asleep",
57+
"home",
58+
"no_frost"
59+
],
5260
"selected_schedule": "Thermostat schedule",
5361
"sensors": {
5462
"illuminance": 151,

fixtures/legacy_anna_2/all_data.json

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22
"devices": {
33
"9e7377867dc24e51b8098a5ba02bd89d": {
44
"active_preset": null,
5-
"available_schedules": ["Thermostat schedule"],
5+
"available_schedules": [
6+
"Thermostat schedule"
7+
],
68
"dev_class": "thermostat",
79
"firmware": "2017-03-13T11:54:58+01:00",
810
"hardware": "6539-1301-5002",
@@ -11,7 +13,13 @@
1113
"mode": "heat",
1214
"model": "ThermoTouch",
1315
"name": "Anna",
14-
"preset_modes": ["vacation", "away", "no_frost", "home", "asleep"],
16+
"preset_modes": [
17+
"vacation",
18+
"away",
19+
"no_frost",
20+
"home",
21+
"asleep"
22+
],
1523
"selected_schedule": "None",
1624
"sensors": {
1725
"illuminance": 19.5,

tests/test_smile.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1529,7 +1529,6 @@ async def test_connect_adam_plus_anna(self):
15291529
"dev_class": "computer_desktop",
15301530
"firmware": "2019-06-21T02:00:00+02:00",
15311531
"location": "5ccb6c41a7d9403988d261ceee04239f",
1532-
"model": "Plug",
15331532
"name": "Work-PC",
15341533
"zigbee_mac_address": "ABCD012345670A02",
15351534
"vendor": "Plugwise",

0 commit comments

Comments
 (0)