Update govee lights local library to version 3.0.1 (#181204)

This commit is contained in:
Galorhallen
2026-09-06 10:07:57 +02:00
committed by GitHub
parent e60c1c08e4
commit e9a65206d5
5 changed files with 5 additions and 5 deletions
@@ -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,
@@ -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,
@@ -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
@@ -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"]
}
+1 -1
View File
@@ -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