mirror of
https://github.com/home-assistant/core.git
synced 2025-07-14 08:47:10 +00:00
Update python-homewizard-energy to 1.6.1 (#86274)
* Update python-homewizard-energy to 1.6.1 * Adjust tests
This commit is contained in:
parent
c14aa7bee4
commit
a9728bd3a5
@ -15,7 +15,7 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
|
|||||||
await coordinator.async_config_entry_first_refresh()
|
await coordinator.async_config_entry_first_refresh()
|
||||||
|
|
||||||
except ConfigEntryNotReady:
|
except ConfigEntryNotReady:
|
||||||
await coordinator.api.close() # type: ignore[no-untyped-call]
|
await coordinator.api.close()
|
||||||
|
|
||||||
if coordinator.api_disabled:
|
if coordinator.api_disabled:
|
||||||
entry.async_start_reauth(hass)
|
entry.async_start_reauth(hass)
|
||||||
|
@ -196,7 +196,7 @@ class HomeWizardConfigFlow(ConfigFlow, domain=DOMAIN):
|
|||||||
raise AbortFlow("unknown_error") from ex
|
raise AbortFlow("unknown_error") from ex
|
||||||
|
|
||||||
finally:
|
finally:
|
||||||
await energy_api.close() # type: ignore[no-untyped-call]
|
await energy_api.close()
|
||||||
|
|
||||||
|
|
||||||
class RecoverableError(HomeAssistantError):
|
class RecoverableError(HomeAssistantError):
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"documentation": "https://www.home-assistant.io/integrations/homewizard",
|
"documentation": "https://www.home-assistant.io/integrations/homewizard",
|
||||||
"codeowners": ["@DCSBL"],
|
"codeowners": ["@DCSBL"],
|
||||||
"dependencies": [],
|
"dependencies": [],
|
||||||
"requirements": ["python-homewizard-energy==1.6.0"],
|
"requirements": ["python-homewizard-energy==1.6.1"],
|
||||||
"zeroconf": ["_hwenergy._tcp.local."],
|
"zeroconf": ["_hwenergy._tcp.local."],
|
||||||
"config_flow": true,
|
"config_flow": true,
|
||||||
"quality_scale": "platinum",
|
"quality_scale": "platinum",
|
||||||
|
@ -2045,7 +2045,7 @@ python-gc100==1.0.3a0
|
|||||||
python-gitlab==1.6.0
|
python-gitlab==1.6.0
|
||||||
|
|
||||||
# homeassistant.components.homewizard
|
# homeassistant.components.homewizard
|
||||||
python-homewizard-energy==1.6.0
|
python-homewizard-energy==1.6.1
|
||||||
|
|
||||||
# homeassistant.components.hp_ilo
|
# homeassistant.components.hp_ilo
|
||||||
python-hpilo==4.3
|
python-hpilo==4.3
|
||||||
|
@ -1450,7 +1450,7 @@ python-forecastio==1.4.0
|
|||||||
python-fullykiosk==0.0.12
|
python-fullykiosk==0.0.12
|
||||||
|
|
||||||
# homeassistant.components.homewizard
|
# homeassistant.components.homewizard
|
||||||
python-homewizard-energy==1.6.0
|
python-homewizard-energy==1.6.1
|
||||||
|
|
||||||
# homeassistant.components.izone
|
# homeassistant.components.izone
|
||||||
python-izone==1.2.9
|
python-izone==1.2.9
|
||||||
|
@ -70,7 +70,7 @@ async def test_diagnostics(
|
|||||||
"gas_unique_id": REDACTED,
|
"gas_unique_id": REDACTED,
|
||||||
"active_liter_lpm": 12.345,
|
"active_liter_lpm": 12.345,
|
||||||
"total_liter_m3": 1234.567,
|
"total_liter_m3": 1234.567,
|
||||||
"external_devices": None,
|
"external_devices": [],
|
||||||
},
|
},
|
||||||
"state": {"power_on": True, "switch_lock": False, "brightness": 255},
|
"state": {"power_on": True, "switch_lock": False, "brightness": 255},
|
||||||
"system": {"cloud_enabled": True},
|
"system": {"cloud_enabled": True},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user