diff --git a/homeassistant/components/govee_light_local/config_flow.py b/homeassistant/components/govee_light_local/config_flow.py index 9c49662e9ef0..ea713629415e 100644 --- a/homeassistant/components/govee_light_local/config_flow.py +++ b/homeassistant/components/govee_light_local/config_flow.py @@ -25,7 +25,7 @@ async def _async_discover(hass: HomeAssistant, adapter_ip: str) -> bool: controller: GoveeController = GoveeController( loop=hass.loop, logger=_LOGGER, - listening_address=adapter_ip, + listening_addresses=adapter_ip, broadcast_address=CONF_MULTICAST_ADDRESS_DEFAULT, broadcast_port=CONF_TARGET_PORT_DEFAULT, listening_port=CONF_LISTENING_PORT_DEFAULT, diff --git a/homeassistant/components/govee_light_local/coordinator.py b/homeassistant/components/govee_light_local/coordinator.py index 0b8a7ffa1cb3..da9444b664ad 100644 --- a/homeassistant/components/govee_light_local/coordinator.py +++ b/homeassistant/components/govee_light_local/coordinator.py @@ -46,7 +46,7 @@ class GoveeLocalApiCoordinator(DataUpdateCoordinator[list[GoveeDevice]]): GoveeController( loop=hass.loop, logger=_LOGGER, - listening_address=source_ip, + listening_addresses=source_ip, broadcast_address=CONF_MULTICAST_ADDRESS_DEFAULT, broadcast_port=CONF_TARGET_PORT_DEFAULT, listening_port=CONF_LISTENING_PORT_DEFAULT, diff --git a/homeassistant/components/govee_light_local/light.py b/homeassistant/components/govee_light_local/light.py index 284cf9b25f22..05a437789cba 100644 --- a/homeassistant/components/govee_light_local/light.py +++ b/homeassistant/components/govee_light_local/light.py @@ -129,7 +129,7 @@ class GoveeLight(CoordinatorEntity[GoveeLocalApiCoordinator], LightEntity): """ if not super().available: return False - return dt_util.naive_now() - self._device.lastseen < DEVICE_TIMEOUT + return dt_util.utcnow() - self._device.lastseen < DEVICE_TIMEOUT @property @override diff --git a/homeassistant/components/govee_light_local/manifest.json b/homeassistant/components/govee_light_local/manifest.json index 992dbe7cf727..4b411b437b5c 100644 --- a/homeassistant/components/govee_light_local/manifest.json +++ b/homeassistant/components/govee_light_local/manifest.json @@ -6,5 +6,5 @@ "dependencies": ["network"], "documentation": "https://www.home-assistant.io/integrations/govee_light_local", "iot_class": "local_push", - "requirements": ["govee-local-api==2.4.0"] + "requirements": ["govee-local-api==3.0.1"] } diff --git a/requirements_all.txt b/requirements_all.txt index 3c30440778b4..74285d09ff1c 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -1196,7 +1196,7 @@ gotailwind==0.4.0 govee-ble==1.4.0 # homeassistant.components.govee_light_local -govee-local-api==2.4.0 +govee-local-api==3.0.1 # homeassistant.components.remote_rpi_gpio gpiozero==1.6.2