From 1fe4ec12b04b5f63efe166150c6032169721d4bd Mon Sep 17 00:00:00 2001 From: Jonni Liljamo Date: Tue, 12 Nov 2024 13:36:36 +0200 Subject: [PATCH] feat: update eh800 after creation --- custom_components/ouman_eh800/__init__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/custom_components/ouman_eh800/__init__.py b/custom_components/ouman_eh800/__init__.py index 31e7323..89ef93b 100644 --- a/custom_components/ouman_eh800/__init__.py +++ b/custom_components/ouman_eh800/__init__.py @@ -27,6 +27,8 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: config[CONF_USERNAME], config[CONF_PASSWORD], ) + # Do an initial update straight away. + await eh800.update() device = OumanEH800Device(hass, eh800, entry) -- 2.44.1