Bump plugwise to v1.5.1 (#130966)

This commit is contained in:
Bouwe Westerdijk 2024-11-19 22:04:00 +01:00 committed by GitHub
parent 81fc83398b
commit 6f0139389f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
13 changed files with 28 additions and 26 deletions

View File

@ -143,7 +143,9 @@ class PlugwiseClimateEntity(PlugwiseEntity, ClimateEntity):
@property
def hvac_mode(self) -> HVACMode:
"""Return HVAC operation ie. auto, cool, heat, heat_cool, or off mode."""
if (mode := self.device.get("mode")) is None or mode not in self.hvac_modes:
if (
mode := self.device.get("climate_mode")
) is None or mode not in self.hvac_modes:
return HVACMode.HEAT
return HVACMode(mode)

View File

@ -7,6 +7,6 @@
"integration_type": "hub",
"iot_class": "local_polling",
"loggers": ["plugwise"],
"requirements": ["plugwise==1.5.0"],
"requirements": ["plugwise==1.5.1"],
"zeroconf": ["_plugwise._tcp.local."]
}

View File

@ -1622,7 +1622,7 @@ plexauth==0.0.6
plexwebsocket==0.0.14
# homeassistant.components.plugwise
plugwise==1.5.0
plugwise==1.5.1
# homeassistant.components.plum_lightpad
plumlightpad==0.0.11

View File

@ -1329,7 +1329,7 @@ plexauth==0.0.6
plexwebsocket==0.0.14
# homeassistant.components.plugwise
plugwise==1.5.0
plugwise==1.5.1
# homeassistant.components.plum_lightpad
plumlightpad==0.0.11

View File

@ -61,11 +61,11 @@
"3cb70739631c4d17a86b8b12e8a5161b": {
"active_preset": "home",
"available_schedules": ["standaard", "off"],
"climate_mode": "auto",
"dev_class": "thermostat",
"firmware": "2018-02-08T11:15:53+01:00",
"hardware": "6539-1301-5002",
"location": "c784ee9fdab44e1395b8dee7d7a497d5",
"mode": "auto",
"model": "ThermoTouch",
"name": "Anna",
"preset_modes": ["no_frost", "home", "away", "asleep", "vacation"],

View File

@ -36,11 +36,11 @@
},
"0d266432d64443e283b5d708ae98b455": {
"active_preset": "home",
"climate_mode": "heat",
"dev_class": "thermostat",
"firmware": "2017-03-13T11:54:58+01:00",
"hardware": "6539-1301-500",
"location": "0000aaaa0000aaaa0000aaaa0000aa00",
"mode": "heat",
"model": "ThermoTouch",
"name": "Anna",
"preset_modes": ["away", "vacation", "asleep", "home", "no_frost"],

View File

@ -63,10 +63,10 @@
"Weekschema",
"off"
],
"climate_mode": "cool",
"control_state": "cooling",
"dev_class": "thermostat",
"location": "f2bf9048bef64cc5b6d5110154e33c81",
"mode": "cool",
"model": "ThermoTouch",
"model_id": "143.1",
"name": "Anna",
@ -125,12 +125,12 @@
"binary_sensors": {
"low_battery": true
},
"climate_mode": "auto",
"control_state": "preheating",
"dev_class": "zone_thermostat",
"firmware": "2016-10-10T02:00:00+02:00",
"hardware": "255",
"location": "f871b8c4d63549319221e294e4f88074",
"mode": "auto",
"model": "Lisa",
"model_id": "158-01",
"name": "Lisa Badkamer",

View File

@ -68,10 +68,10 @@
"Weekschema",
"off"
],
"climate_mode": "heat",
"control_state": "preheating",
"dev_class": "thermostat",
"location": "f2bf9048bef64cc5b6d5110154e33c81",
"mode": "heat",
"model": "ThermoTouch",
"model_id": "143.1",
"name": "Anna",
@ -124,12 +124,12 @@
"binary_sensors": {
"low_battery": true
},
"climate_mode": "auto",
"control_state": "off",
"dev_class": "zone_thermostat",
"firmware": "2016-10-10T02:00:00+02:00",
"hardware": "255",
"location": "f871b8c4d63549319221e294e4f88074",
"mode": "auto",
"model": "Lisa",
"model_id": "158-01",
"name": "Lisa Badkamer",

View File

@ -6,12 +6,12 @@
"binary_sensors": {
"low_battery": false
},
"climate_mode": "off",
"control_state": "off",
"dev_class": "zone_thermostat",
"firmware": "2016-10-27T02:00:00+02:00",
"hardware": "255",
"location": "06aecb3d00354375924f50c47af36bd2",
"mode": "off",
"model": "Lisa",
"model_id": "158-01",
"name": "Slaapkamer",
@ -107,12 +107,12 @@
"binary_sensors": {
"low_battery": false
},
"climate_mode": "heat",
"control_state": "off",
"dev_class": "zone_thermostat",
"firmware": "2016-10-27T02:00:00+02:00",
"hardware": "255",
"location": "d27aede973b54be484f6842d1b2802ad",
"mode": "heat",
"model": "Lisa",
"model_id": "158-01",
"name": "Kinderkamer",
@ -167,12 +167,12 @@
"binary_sensors": {
"low_battery": false
},
"climate_mode": "heat",
"control_state": "off",
"dev_class": "zone_thermostat",
"firmware": "2016-10-27T02:00:00+02:00",
"hardware": "255",
"location": "d58fec52899f4f1c92e4f8fad6d8c48c",
"mode": "heat",
"model": "Lisa",
"model_id": "158-01",
"name": "Logeerkamer",
@ -285,12 +285,12 @@
"binary_sensors": {
"low_battery": false
},
"climate_mode": "heat",
"control_state": "off",
"dev_class": "zone_thermometer",
"firmware": "2020-09-01T02:00:00+02:00",
"hardware": "1",
"location": "13228dab8ce04617af318a2888b3c548",
"mode": "heat",
"model": "Jip",
"model_id": "168-01",
"name": "Woonkamer",

View File

@ -126,11 +126,11 @@
"binary_sensors": {
"low_battery": false
},
"climate_mode": "auto",
"dev_class": "zone_thermostat",
"firmware": "2016-10-27T02:00:00+02:00",
"hardware": "255",
"location": "82fa13f017d240daa0d0ea1775420f24",
"mode": "auto",
"model": "Lisa",
"model_id": "158-01",
"name": "Zone Thermostat Jessie",
@ -277,11 +277,11 @@
"binary_sensors": {
"low_battery": false
},
"climate_mode": "auto",
"dev_class": "zone_thermostat",
"firmware": "2016-08-02T02:00:00+02:00",
"hardware": "255",
"location": "c50f167537524366a5af7aa3942feb1e",
"mode": "auto",
"model": "Lisa",
"model_id": "158-01",
"name": "Zone Lisa WK",
@ -370,11 +370,11 @@
"binary_sensors": {
"low_battery": false
},
"climate_mode": "heat",
"dev_class": "zone_thermostat",
"firmware": "2016-10-27T02:00:00+02:00",
"hardware": "255",
"location": "12493538af164a409c6a1c79e38afe1c",
"mode": "heat",
"model": "Lisa",
"model_id": "158-01",
"name": "Zone Lisa Bios",
@ -406,11 +406,11 @@
"binary_sensors": {
"low_battery": false
},
"climate_mode": "heat",
"dev_class": "thermostatic_radiator_valve",
"firmware": "2019-03-27T01:00:00+01:00",
"hardware": "1",
"location": "446ac08dd04d4eff8ac57489757b7314",
"mode": "heat",
"model": "Tom/Floor",
"model_id": "106-03",
"name": "CV Kraan Garage",
@ -451,11 +451,11 @@
"binary_sensors": {
"low_battery": false
},
"climate_mode": "auto",
"dev_class": "zone_thermostat",
"firmware": "2016-10-27T02:00:00+02:00",
"hardware": "255",
"location": "08963fec7c53423ca5680aa4cb502c63",
"mode": "auto",
"model": "Lisa",
"model_id": "158-01",
"name": "Zone Thermostat Badkamer",

View File

@ -61,11 +61,11 @@
"3cb70739631c4d17a86b8b12e8a5161b": {
"active_preset": "home",
"available_schedules": ["standaard", "off"],
"climate_mode": "auto",
"dev_class": "thermostat",
"firmware": "2018-02-08T11:15:53+01:00",
"hardware": "6539-1301-5002",
"location": "c784ee9fdab44e1395b8dee7d7a497d5",
"mode": "auto",
"model": "ThermoTouch",
"name": "Anna",
"preset_modes": ["no_frost", "home", "away", "asleep", "vacation"],

View File

@ -61,11 +61,11 @@
"3cb70739631c4d17a86b8b12e8a5161b": {
"active_preset": "home",
"available_schedules": ["standaard", "off"],
"climate_mode": "auto",
"dev_class": "thermostat",
"firmware": "2018-02-08T11:15:53+01:00",
"hardware": "6539-1301-5002",
"location": "c784ee9fdab44e1395b8dee7d7a497d5",
"mode": "auto",
"model": "ThermoTouch",
"name": "Anna",
"preset_modes": ["no_frost", "home", "away", "asleep", "vacation"],

View File

@ -128,11 +128,11 @@
'binary_sensors': dict({
'low_battery': False,
}),
'climate_mode': 'auto',
'dev_class': 'zone_thermostat',
'firmware': '2016-10-27T02:00:00+02:00',
'hardware': '255',
'location': '82fa13f017d240daa0d0ea1775420f24',
'mode': 'auto',
'model': 'Lisa',
'model_id': '158-01',
'name': 'Zone Thermostat Jessie',
@ -285,11 +285,11 @@
'binary_sensors': dict({
'low_battery': False,
}),
'climate_mode': 'auto',
'dev_class': 'zone_thermostat',
'firmware': '2016-08-02T02:00:00+02:00',
'hardware': '255',
'location': 'c50f167537524366a5af7aa3942feb1e',
'mode': 'auto',
'model': 'Lisa',
'model_id': '158-01',
'name': 'Zone Lisa WK',
@ -384,11 +384,11 @@
'binary_sensors': dict({
'low_battery': False,
}),
'climate_mode': 'heat',
'dev_class': 'zone_thermostat',
'firmware': '2016-10-27T02:00:00+02:00',
'hardware': '255',
'location': '12493538af164a409c6a1c79e38afe1c',
'mode': 'heat',
'model': 'Lisa',
'model_id': '158-01',
'name': 'Zone Lisa Bios',
@ -426,11 +426,11 @@
'binary_sensors': dict({
'low_battery': False,
}),
'climate_mode': 'heat',
'dev_class': 'thermostatic_radiator_valve',
'firmware': '2019-03-27T01:00:00+01:00',
'hardware': '1',
'location': '446ac08dd04d4eff8ac57489757b7314',
'mode': 'heat',
'model': 'Tom/Floor',
'model_id': '106-03',
'name': 'CV Kraan Garage',
@ -477,11 +477,11 @@
'binary_sensors': dict({
'low_battery': False,
}),
'climate_mode': 'auto',
'dev_class': 'zone_thermostat',
'firmware': '2016-10-27T02:00:00+02:00',
'hardware': '255',
'location': '08963fec7c53423ca5680aa4cb502c63',
'mode': 'auto',
'model': 'Lisa',
'model_id': '158-01',
'name': 'Zone Thermostat Badkamer',