Bump plugwise to v0.33.2 (#102671)

This commit is contained in:
Bouwe Westerdijk 2023-10-24 23:11:16 +02:00 committed by GitHub
parent f5a6c88051
commit a5461a9a90
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
13 changed files with 7 additions and 30 deletions

View File

@ -169,9 +169,7 @@ class PlugwiseClimateEntity(PlugwiseEntity, ClimateEntity):
raise HomeAssistantError("Unsupported hvac_mode")
await self.coordinator.api.set_schedule_state(
self.device["location"],
self.device["last_used"],
"on" if hvac_mode == HVACMode.AUTO else "off",
self.device["location"], "on" if hvac_mode == HVACMode.AUTO else "off"
)
@plugwise_command

View File

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

View File

@ -1455,7 +1455,7 @@ plexauth==0.0.6
plexwebsocket==0.0.14
# homeassistant.components.plugwise
plugwise==0.33.1
plugwise==0.33.2
# homeassistant.components.plum_lightpad
plumlightpad==0.0.11

View File

@ -1115,7 +1115,7 @@ plexauth==0.0.6
plexwebsocket==0.0.14
# homeassistant.components.plugwise
plugwise==0.33.1
plugwise==0.33.2
# homeassistant.components.plum_lightpad
plumlightpad==0.0.11

View File

@ -7,7 +7,6 @@
"dev_class": "zone_thermostat",
"firmware": "2016-10-27T02:00:00+02:00",
"hardware": "255",
"last_used": null,
"location": "06aecb3d00354375924f50c47af36bd2",
"mode": "heat",
"model": "Lisa",
@ -103,7 +102,6 @@
"dev_class": "zone_thermostat",
"firmware": "2016-10-27T02:00:00+02:00",
"hardware": "255",
"last_used": null,
"location": "d27aede973b54be484f6842d1b2802ad",
"mode": "heat",
"model": "Lisa",
@ -160,7 +158,6 @@
"dev_class": "zone_thermostat",
"firmware": "2016-10-27T02:00:00+02:00",
"hardware": "255",
"last_used": null,
"location": "d58fec52899f4f1c92e4f8fad6d8c48c",
"mode": "heat",
"model": "Lisa",
@ -271,7 +268,6 @@
"dev_class": "zone_thermometer",
"firmware": "2020-09-01T02:00:00+02:00",
"hardware": "1",
"last_used": null,
"location": "13228dab8ce04617af318a2888b3c548",
"mode": "heat",
"model": "Jip",

View File

@ -117,7 +117,6 @@
"dev_class": "zone_thermostat",
"firmware": "2016-10-27T02:00:00+02:00",
"hardware": "255",
"last_used": "CV Jessie",
"location": "82fa13f017d240daa0d0ea1775420f24",
"mode": "auto",
"model": "Lisa",
@ -257,7 +256,6 @@
"dev_class": "zone_thermostat",
"firmware": "2016-08-02T02:00:00+02:00",
"hardware": "255",
"last_used": "GF7 Woonkamer",
"location": "c50f167537524366a5af7aa3942feb1e",
"mode": "auto",
"model": "Lisa",
@ -341,7 +339,6 @@
"dev_class": "zone_thermostat",
"firmware": "2016-10-27T02:00:00+02:00",
"hardware": "255",
"last_used": "Badkamer Schema",
"location": "12493538af164a409c6a1c79e38afe1c",
"mode": "heat",
"model": "Lisa",
@ -381,7 +378,6 @@
"dev_class": "thermostatic_radiator_valve",
"firmware": "2019-03-27T01:00:00+01:00",
"hardware": "1",
"last_used": "Badkamer Schema",
"location": "446ac08dd04d4eff8ac57489757b7314",
"mode": "heat",
"model": "Tom/Floor",
@ -423,7 +419,6 @@
"dev_class": "zone_thermostat",
"firmware": "2016-10-27T02:00:00+02:00",
"hardware": "255",
"last_used": "Badkamer Schema",
"location": "08963fec7c53423ca5680aa4cb502c63",
"mode": "auto",
"model": "Lisa",

View File

@ -62,7 +62,6 @@
"dev_class": "thermostat",
"firmware": "2018-02-08T11:15:53+01:00",
"hardware": "6539-1301-5002",
"last_used": "standaard",
"location": "c784ee9fdab44e1395b8dee7d7a497d5",
"mode": "auto",
"model": "ThermoTouch",

View File

@ -54,7 +54,6 @@
"available": true,
"available_schedules": ["Weekschema", "Badkamer", "Test"],
"dev_class": "thermostat",
"last_used": "Weekschema",
"location": "f2bf9048bef64cc5b6d5110154e33c81",
"mode": "heat_cool",
"model": "ThermoTouch",
@ -108,7 +107,6 @@
"dev_class": "zone_thermostat",
"firmware": "2016-10-10T02:00:00+02:00",
"hardware": "255",
"last_used": "Badkamer",
"location": "f871b8c4d63549319221e294e4f88074",
"mode": "auto",
"model": "Lisa",

View File

@ -59,7 +59,6 @@
"available": true,
"available_schedules": ["Weekschema", "Badkamer", "Test"],
"dev_class": "thermostat",
"last_used": "Weekschema",
"location": "f2bf9048bef64cc5b6d5110154e33c81",
"mode": "heat",
"model": "ThermoTouch",
@ -105,7 +104,6 @@
"dev_class": "zone_thermostat",
"firmware": "2016-10-10T02:00:00+02:00",
"hardware": "255",
"last_used": "Badkamer",
"location": "f871b8c4d63549319221e294e4f88074",
"mode": "auto",
"model": "Lisa",

View File

@ -63,7 +63,6 @@
"dev_class": "thermostat",
"firmware": "2018-02-08T11:15:53+01:00",
"hardware": "6539-1301-5002",
"last_used": "standaard",
"location": "c784ee9fdab44e1395b8dee7d7a497d5",
"mode": "auto",
"model": "ThermoTouch",

View File

@ -63,7 +63,6 @@
"dev_class": "thermostat",
"firmware": "2018-02-08T11:15:53+01:00",
"hardware": "6539-1301-5002",
"last_used": "standaard",
"location": "c784ee9fdab44e1395b8dee7d7a497d5",
"mode": "auto",
"model": "ThermoTouch",

View File

@ -119,7 +119,6 @@
'dev_class': 'zone_thermostat',
'firmware': '2016-10-27T02:00:00+02:00',
'hardware': '255',
'last_used': 'CV Jessie',
'location': '82fa13f017d240daa0d0ea1775420f24',
'mode': 'auto',
'model': 'Lisa',
@ -265,7 +264,6 @@
'dev_class': 'zone_thermostat',
'firmware': '2016-08-02T02:00:00+02:00',
'hardware': '255',
'last_used': 'GF7 Woonkamer',
'location': 'c50f167537524366a5af7aa3942feb1e',
'mode': 'auto',
'model': 'Lisa',
@ -355,7 +353,6 @@
'dev_class': 'zone_thermostat',
'firmware': '2016-10-27T02:00:00+02:00',
'hardware': '255',
'last_used': 'Badkamer Schema',
'location': '12493538af164a409c6a1c79e38afe1c',
'mode': 'heat',
'model': 'Lisa',
@ -401,7 +398,6 @@
'dev_class': 'thermostatic_radiator_valve',
'firmware': '2019-03-27T01:00:00+01:00',
'hardware': '1',
'last_used': 'Badkamer Schema',
'location': '446ac08dd04d4eff8ac57489757b7314',
'mode': 'heat',
'model': 'Tom/Floor',
@ -449,7 +445,6 @@
'dev_class': 'zone_thermostat',
'firmware': '2016-10-27T02:00:00+02:00',
'hardware': '255',
'last_used': 'Badkamer Schema',
'location': '08963fec7c53423ca5680aa4cb502c63',
'mode': 'auto',
'model': 'Lisa',

View File

@ -158,7 +158,7 @@ async def test_adam_climate_entity_climate_changes(
)
assert mock_smile_adam.set_schedule_state.call_count == 2
mock_smile_adam.set_schedule_state.assert_called_with(
"c50f167537524366a5af7aa3942feb1e", "GF7 Woonkamer", "off"
"c50f167537524366a5af7aa3942feb1e", "off"
)
with pytest.raises(HomeAssistantError):
@ -272,7 +272,7 @@ async def test_anna_climate_entity_climate_changes(
)
assert mock_smile_anna.set_schedule_state.call_count == 1
mock_smile_anna.set_schedule_state.assert_called_with(
"c784ee9fdab44e1395b8dee7d7a497d5", "standaard", "on"
"c784ee9fdab44e1395b8dee7d7a497d5", "on"
)
await hass.services.async_call(
@ -283,7 +283,7 @@ async def test_anna_climate_entity_climate_changes(
)
assert mock_smile_anna.set_schedule_state.call_count == 2
mock_smile_anna.set_schedule_state.assert_called_with(
"c784ee9fdab44e1395b8dee7d7a497d5", "standaard", "off"
"c784ee9fdab44e1395b8dee7d7a497d5", "off"
)
data = mock_smile_anna.async_update.return_value
data.devices["3cb70739631c4d17a86b8b12e8a5161b"]["available_schedules"] = ["None"]