Bump plugwise to v1.6.4 and adapt (#133293)

This commit is contained in:
Bouwe Westerdijk 2024-12-15 19:35:36 +01:00 committed by GitHub
parent e81add5a06
commit 9e8a158c89
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
10 changed files with 9 additions and 16 deletions

View File

@ -188,19 +188,9 @@ class PlugwiseClimateEntity(PlugwiseEntity, ClimateEntity):
"""Return the current running hvac operation if supported."""
# Keep track of the previous action-mode
self._previous_action_mode(self.coordinator)
# Adam provides the hvac_action for each thermostat
if (action := self.device.get("control_state")) is not None:
return HVACAction(action)
# Anna
heater: str = self._gateway["heater_id"]
heater_data = self._devices[heater]
if heater_data["binary_sensors"]["heating_state"]:
return HVACAction.HEATING
if heater_data["binary_sensors"].get("cooling_state", False):
return HVACAction.COOLING
return HVACAction.IDLE
@property

View File

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

View File

@ -1632,7 +1632,7 @@ plexauth==0.0.6
plexwebsocket==0.0.14
# homeassistant.components.plugwise
plugwise==1.6.3
plugwise==1.6.4
# homeassistant.components.plum_lightpad
plumlightpad==0.0.11

View File

@ -1345,7 +1345,7 @@ plexauth==0.0.6
plexwebsocket==0.0.14
# homeassistant.components.plugwise
plugwise==1.6.3
plugwise==1.6.4
# homeassistant.components.plum_lightpad
plumlightpad==0.0.11

View File

@ -62,6 +62,7 @@
"active_preset": "home",
"available_schedules": ["standaard", "off"],
"climate_mode": "auto",
"control_state": "heating",
"dev_class": "thermostat",
"firmware": "2018-02-08T11:15:53+01:00",
"hardware": "6539-1301-5002",

View File

@ -37,6 +37,7 @@
"0d266432d64443e283b5d708ae98b455": {
"active_preset": "home",
"climate_mode": "heat",
"control_state": "heating",
"dev_class": "thermostat",
"firmware": "2017-03-13T11:54:58+01:00",
"hardware": "6539-1301-500",

View File

@ -176,8 +176,8 @@
"Weekschema",
"off"
],
"climate_mode": "cool",
"control_state": "idle",
"climate_mode": "auto",
"control_state": "cooling",
"dev_class": "climate",
"model": "ThermoZone",
"name": "Bathroom",

View File

@ -3,7 +3,6 @@
"06aecb3d00354375924f50c47af36bd2": {
"active_preset": "no_frost",
"climate_mode": "off",
"control_state": "idle",
"dev_class": "climate",
"model": "ThermoZone",
"name": "Slaapkamer",

View File

@ -62,6 +62,7 @@
"active_preset": "home",
"available_schedules": ["standaard", "off"],
"climate_mode": "auto",
"control_state": "cooling",
"dev_class": "thermostat",
"firmware": "2018-02-08T11:15:53+01:00",
"hardware": "6539-1301-5002",

View File

@ -62,6 +62,7 @@
"active_preset": "home",
"available_schedules": ["standaard", "off"],
"climate_mode": "auto",
"control_state": "idle",
"dev_class": "thermostat",
"firmware": "2018-02-08T11:15:53+01:00",
"hardware": "6539-1301-5002",