Skip to content

Commit 12787fb

Browse files
committed
Test: correct sensornames
1 parent 25e090a commit 12787fb

File tree

1 file changed

+25
-25
lines changed

1 file changed

+25
-25
lines changed

tests/test_smile.py

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -444,16 +444,16 @@ async def test_connect_legacy_anna(self):
444444
testdata = {
445445
# Anna
446446
"0d266432d64443e283b5d708ae98b455": {
447-
"thermostat": 20.5,
447+
"setpoint": 20.5,
448448
"temperature": 20.4,
449449
"illuminance": 151,
450450
},
451451
# Central
452452
"04e4cbfe7f4340f090f85ec3b9e6a950": {
453-
"boiler_temperature": 23.6,
454-
"central_heater_water_pressure": 1.2,
453+
"water_temperature": 23.6,
454+
"water_pressure": 1.2,
455455
"modulation_level": 0,
456-
"intended_central_heating_state": True,
456+
"heating_state": True,
457457
},
458458
}
459459

@@ -508,13 +508,13 @@ async def test_connect_legacy_anna_2(self):
508508
testdata = {
509509
# Anna
510510
"9e7377867dc24e51b8098a5ba02bd89d": {
511-
"thermostat": 15.0,
511+
"setpoint": 15.0,
512512
"temperature": 21.4,
513513
"illuminance": 19.5,
514514
},
515515
# Central
516516
"ea5d8a7177e541b0a4b52da815166de4": {
517-
"central_heater_water_pressure": 1.7,
517+
"water_pressure": 1.7,
518518
},
519519
}
520520

@@ -646,9 +646,9 @@ async def test_connect_anna_v4(self):
646646
},
647647
# Central
648648
"cd0e6156b1f04d5f952349ffbe397481": {
649-
"intended_central_heating_state": True,
650-
"central_heater_water_pressure": 2.1,
651-
"boiler_temperature": 52.0,
649+
"heating_state": True,
650+
"water_pressure": 2.1,
651+
"water_temperature": 52.0,
652652
},
653653
"0466eae8520144c78afb29628384edeb": {
654654
"outdoor_temperature": 7.44,
@@ -745,7 +745,7 @@ async def test_connect_anna_without_boiler_fw3(self):
745745
},
746746
# Central
747747
"c46b4794d28149699eacf053deedd003": {
748-
"intended_central_heating_state": False,
748+
"heating_state": False,
749749
},
750750
}
751751

@@ -802,7 +802,7 @@ async def test_connect_anna_without_boiler_fw4(self):
802802
},
803803
# Central
804804
"c46b4794d28149699eacf053deedd003": {
805-
"intended_central_heating_state": True,
805+
"heating_state": True,
806806
},
807807
}
808808

@@ -885,12 +885,12 @@ async def test_connect_adam_plus_anna(self):
885885
"selected_schedule": "Weekschema",
886886
"last_used": "Weekschema",
887887
"active_preset": "home",
888-
"thermostat": 20.5, # HA setpoint_temp
888+
"setpoint": 20.5, # HA setpoint_temp
889889
"temperature": 20.5, # HA current_temp
890890
},
891891
# Central
892892
"2743216f626f43948deec1f7ab3b3d70": {
893-
"intended_central_heating_state": False,
893+
"heating_state": False,
894894
},
895895
"b128b4bbbd1f47e9bf4d756e8fb5ee94": {
896896
"outdoor_temperature": 11.9,
@@ -974,13 +974,13 @@ async def test_connect_adam_zone_per_device(self):
974974
testdata = {
975975
# Lisa WK
976976
"b59bcebaf94b499ea7d46e4a66fb62d8": {
977-
"thermostat": 21.5,
977+
"setpoint": 21.5,
978978
"temperature": 21.1,
979979
"battery": 34,
980980
},
981981
# Floor WK
982982
"b310b72a0e354bfab43089919b9a88bf": {
983-
"thermostat": 21.5,
983+
"setpoint": 21.5,
984984
"temperature": 26.2,
985985
"valve_position": 100,
986986
},
@@ -991,7 +991,7 @@ async def test_connect_adam_zone_per_device(self):
991991
},
992992
# Lisa Bios
993993
"df4a4a8169904cdb9c03d61a21f42140": {
994-
"thermostat": 13.0,
994+
"setpoint": 13.0,
995995
"temperature": 16.5,
996996
"battery": 67,
997997
},
@@ -1057,13 +1057,13 @@ async def test_connect_adam_multiple_devices_per_zone(self):
10571057
testdata = {
10581058
# Lisa WK
10591059
"b59bcebaf94b499ea7d46e4a66fb62d8": {
1060-
"thermostat": 21.5,
1060+
"setpoint": 21.5,
10611061
"temperature": 20.9,
10621062
"battery": 34,
10631063
},
10641064
# Floor WK
10651065
"b310b72a0e354bfab43089919b9a88bf": {
1066-
"thermostat": 21.5,
1066+
"setpoint": 21.5,
10671067
"temperature": 26.0,
10681068
"valve_position": 100,
10691069
},
@@ -1074,7 +1074,7 @@ async def test_connect_adam_multiple_devices_per_zone(self):
10741074
},
10751075
# Lisa Bios
10761076
"df4a4a8169904cdb9c03d61a21f42140": {
1077-
"thermostat": 13.0,
1077+
"setpoint": 13.0,
10781078
"temperature": 16.5,
10791079
"battery": 67,
10801080
},
@@ -1248,9 +1248,9 @@ async def test_connect_anna_heatpump(self):
12481248
},
12491249
# Central
12501250
"1cbf783bb11e4a7c8a6843dee3a86927": {
1251-
"domestic_hot_water_state": False,
1252-
"boiler_temperature": 29.1,
1253-
"central_heater_water_pressure": 1.57,
1251+
"dhw_state": False,
1252+
"water_temperature": 29.1,
1253+
"water_pressure": 1.57,
12541254
},
12551255
"015ae9ea3f964e668e490fa39da3870b": {
12561256
"outdoor_temperature": 20.2,
@@ -1290,9 +1290,9 @@ async def test_connect_anna_heatpump_cooling(self):
12901290
},
12911291
# Central
12921292
"1cbf783bb11e4a7c8a6843dee3a86927": {
1293-
"domestic_hot_water_state": False,
1294-
"boiler_temperature": 24.7,
1295-
"central_heater_water_pressure": 1.61,
1293+
"dhw_state": False,
1294+
"water_temperature": 24.7,
1295+
"water_pressure": 1.61,
12961296
},
12971297
"015ae9ea3f964e668e490fa39da3870b": {
12981298
"outdoor_temperature": 22.0,

0 commit comments

Comments
 (0)