mirror of
https://github.com/home-assistant/core.git
synced 2025-07-25 22:27:07 +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."""
|
"""Return the current running hvac operation if supported."""
|
||||||
# Keep track of the previous action-mode
|
# Keep track of the previous action-mode
|
||||||
self._previous_action_mode(self.coordinator)
|
self._previous_action_mode(self.coordinator)
|
||||||
|
|
||||||
# Adam provides the hvac_action for each thermostat
|
|
||||||
if (action := self.device.get("control_state")) is not None:
|
if (action := self.device.get("control_state")) is not None:
|
||||||
return HVACAction(action)
|
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
|
return HVACAction.IDLE
|
||||||
|
|
||||||
@property
|
@property
|
||||||
|
@ -7,6 +7,6 @@
|
|||||||
"integration_type": "hub",
|
"integration_type": "hub",
|
||||||
"iot_class": "local_polling",
|
"iot_class": "local_polling",
|
||||||
"loggers": ["plugwise"],
|
"loggers": ["plugwise"],
|
||||||
"requirements": ["plugwise==1.6.3"],
|
"requirements": ["plugwise==1.6.4"],
|
||||||
"zeroconf": ["_plugwise._tcp.local."]
|
"zeroconf": ["_plugwise._tcp.local."]
|
||||||
}
|
}
|
||||||
|
@ -1632,7 +1632,7 @@ plexauth==0.0.6
|
|||||||
plexwebsocket==0.0.14
|
plexwebsocket==0.0.14
|
||||||
|
|
||||||
# homeassistant.components.plugwise
|
# homeassistant.components.plugwise
|
||||||
plugwise==1.6.3
|
plugwise==1.6.4
|
||||||
|
|
||||||
# homeassistant.components.plum_lightpad
|
# homeassistant.components.plum_lightpad
|
||||||
plumlightpad==0.0.11
|
plumlightpad==0.0.11
|
||||||
|
@ -1345,7 +1345,7 @@ plexauth==0.0.6
|
|||||||
plexwebsocket==0.0.14
|
plexwebsocket==0.0.14
|
||||||
|
|
||||||
# homeassistant.components.plugwise
|
# homeassistant.components.plugwise
|
||||||
plugwise==1.6.3
|
plugwise==1.6.4
|
||||||
|
|
||||||
# homeassistant.components.plum_lightpad
|
# homeassistant.components.plum_lightpad
|
||||||
plumlightpad==0.0.11
|
plumlightpad==0.0.11
|
||||||
|
@ -62,6 +62,7 @@
|
|||||||
"active_preset": "home",
|
"active_preset": "home",
|
||||||
"available_schedules": ["standaard", "off"],
|
"available_schedules": ["standaard", "off"],
|
||||||
"climate_mode": "auto",
|
"climate_mode": "auto",
|
||||||
|
"control_state": "heating",
|
||||||
"dev_class": "thermostat",
|
"dev_class": "thermostat",
|
||||||
"firmware": "2018-02-08T11:15:53+01:00",
|
"firmware": "2018-02-08T11:15:53+01:00",
|
||||||
"hardware": "6539-1301-5002",
|
"hardware": "6539-1301-5002",
|
||||||
|
@ -37,6 +37,7 @@
|
|||||||
"0d266432d64443e283b5d708ae98b455": {
|
"0d266432d64443e283b5d708ae98b455": {
|
||||||
"active_preset": "home",
|
"active_preset": "home",
|
||||||
"climate_mode": "heat",
|
"climate_mode": "heat",
|
||||||
|
"control_state": "heating",
|
||||||
"dev_class": "thermostat",
|
"dev_class": "thermostat",
|
||||||
"firmware": "2017-03-13T11:54:58+01:00",
|
"firmware": "2017-03-13T11:54:58+01:00",
|
||||||
"hardware": "6539-1301-500",
|
"hardware": "6539-1301-500",
|
||||||
|
@ -176,8 +176,8 @@
|
|||||||
"Weekschema",
|
"Weekschema",
|
||||||
"off"
|
"off"
|
||||||
],
|
],
|
||||||
"climate_mode": "cool",
|
"climate_mode": "auto",
|
||||||
"control_state": "idle",
|
"control_state": "cooling",
|
||||||
"dev_class": "climate",
|
"dev_class": "climate",
|
||||||
"model": "ThermoZone",
|
"model": "ThermoZone",
|
||||||
"name": "Bathroom",
|
"name": "Bathroom",
|
||||||
|
@ -3,7 +3,6 @@
|
|||||||
"06aecb3d00354375924f50c47af36bd2": {
|
"06aecb3d00354375924f50c47af36bd2": {
|
||||||
"active_preset": "no_frost",
|
"active_preset": "no_frost",
|
||||||
"climate_mode": "off",
|
"climate_mode": "off",
|
||||||
"control_state": "idle",
|
|
||||||
"dev_class": "climate",
|
"dev_class": "climate",
|
||||||
"model": "ThermoZone",
|
"model": "ThermoZone",
|
||||||
"name": "Slaapkamer",
|
"name": "Slaapkamer",
|
||||||
|
@ -62,6 +62,7 @@
|
|||||||
"active_preset": "home",
|
"active_preset": "home",
|
||||||
"available_schedules": ["standaard", "off"],
|
"available_schedules": ["standaard", "off"],
|
||||||
"climate_mode": "auto",
|
"climate_mode": "auto",
|
||||||
|
"control_state": "cooling",
|
||||||
"dev_class": "thermostat",
|
"dev_class": "thermostat",
|
||||||
"firmware": "2018-02-08T11:15:53+01:00",
|
"firmware": "2018-02-08T11:15:53+01:00",
|
||||||
"hardware": "6539-1301-5002",
|
"hardware": "6539-1301-5002",
|
||||||
|
@ -62,6 +62,7 @@
|
|||||||
"active_preset": "home",
|
"active_preset": "home",
|
||||||
"available_schedules": ["standaard", "off"],
|
"available_schedules": ["standaard", "off"],
|
||||||
"climate_mode": "auto",
|
"climate_mode": "auto",
|
||||||
|
"control_state": "idle",
|
||||||
"dev_class": "thermostat",
|
"dev_class": "thermostat",
|
||||||
"firmware": "2018-02-08T11:15:53+01:00",
|
"firmware": "2018-02-08T11:15:53+01:00",
|
||||||
"hardware": "6539-1301-5002",
|
"hardware": "6539-1301-5002",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user