Update python-homewizard-energy to 1.6.1 (#86274)

* Update python-homewizard-energy to 1.6.1

* Adjust tests
This commit is contained in:
Franck Nijhof 2023-01-20 14:48:48 +01:00 committed by GitHub
parent c14aa7bee4
commit a9728bd3a5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 6 additions and 6 deletions

View file

@ -15,7 +15,7 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
await coordinator.async_config_entry_first_refresh()
except ConfigEntryNotReady:
await coordinator.api.close() # type: ignore[no-untyped-call]
await coordinator.api.close()
if coordinator.api_disabled:
entry.async_start_reauth(hass)

View file

@ -196,7 +196,7 @@ class HomeWizardConfigFlow(ConfigFlow, domain=DOMAIN):
raise AbortFlow("unknown_error") from ex
finally:
await energy_api.close() # type: ignore[no-untyped-call]
await energy_api.close()
class RecoverableError(HomeAssistantError):

View file

@ -4,7 +4,7 @@
"documentation": "https://www.home-assistant.io/integrations/homewizard",
"codeowners": ["@DCSBL"],
"dependencies": [],
"requirements": ["python-homewizard-energy==1.6.0"],
"requirements": ["python-homewizard-energy==1.6.1"],
"zeroconf": ["_hwenergy._tcp.local."],
"config_flow": true,
"quality_scale": "platinum",

View file

@ -2045,7 +2045,7 @@ python-gc100==1.0.3a0
python-gitlab==1.6.0
# homeassistant.components.homewizard
python-homewizard-energy==1.6.0
python-homewizard-energy==1.6.1
# homeassistant.components.hp_ilo
python-hpilo==4.3

View file

@ -1450,7 +1450,7 @@ python-forecastio==1.4.0
python-fullykiosk==0.0.12
# homeassistant.components.homewizard
python-homewizard-energy==1.6.0
python-homewizard-energy==1.6.1
# homeassistant.components.izone
python-izone==1.2.9

View file

@ -70,7 +70,7 @@ async def test_diagnostics(
"gas_unique_id": REDACTED,
"active_liter_lpm": 12.345,
"total_liter_m3": 1234.567,
"external_devices": None,
"external_devices": [],
},
"state": {"power_on": True, "switch_lock": False, "brightness": 255},
"system": {"cloud_enabled": True},