mirror of
https://github.com/home-assistant/core.git
synced 2025-04-24 09:17:53 +00:00
Bump plugwise to v1.6.4 and adapt (#133293)
This commit is contained in:
parent
e81add5a06
commit
9e8a158c89
@ -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
|
||||
|
@ -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."]
|
||||
}
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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",
|
||||
|
@ -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",
|
||||
|
@ -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",
|
||||
|
@ -3,7 +3,6 @@
|
||||
"06aecb3d00354375924f50c47af36bd2": {
|
||||
"active_preset": "no_frost",
|
||||
"climate_mode": "off",
|
||||
"control_state": "idle",
|
||||
"dev_class": "climate",
|
||||
"model": "ThermoZone",
|
||||
"name": "Slaapkamer",
|
||||
|
@ -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",
|
||||
|
@ -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",
|
||||
|
Loading…
x
Reference in New Issue
Block a user