Bump fjaraskupan to 2.3.0 (#114344)
Update fjarakupen to 2.3.0 - Support delayed disconnection - Speed up on/off transitionspull/114354/head
parent
f4922edb4b
commit
ae0b41f7a7
|
@ -54,13 +54,14 @@ class Light(CoordinatorEntity[FjaraskupanCoordinator], LightEntity):
|
|||
async with self.coordinator.async_connect_and_update() as device:
|
||||
if ATTR_BRIGHTNESS in kwargs:
|
||||
await device.send_dim(int(kwargs[ATTR_BRIGHTNESS] * (100.0 / 255.0)))
|
||||
elif not self.is_on:
|
||||
await device.send_command(COMMAND_LIGHT_ON_OFF)
|
||||
else:
|
||||
await device.send_dim(100)
|
||||
|
||||
async def async_turn_off(self, **kwargs: Any) -> None:
|
||||
"""Turn the entity off."""
|
||||
if self.is_on:
|
||||
async with self.coordinator.async_connect_and_update() as device:
|
||||
await device.send_dim(0)
|
||||
await device.send_command(COMMAND_LIGHT_ON_OFF)
|
||||
|
||||
@property
|
||||
|
|
|
@ -14,5 +14,5 @@
|
|||
"documentation": "https://www.home-assistant.io/integrations/fjaraskupan",
|
||||
"iot_class": "local_polling",
|
||||
"loggers": ["bleak", "fjaraskupan"],
|
||||
"requirements": ["fjaraskupan==2.2.0"]
|
||||
"requirements": ["fjaraskupan==2.3.0"]
|
||||
}
|
||||
|
|
|
@ -864,7 +864,7 @@ fivem-api==0.1.2
|
|||
fixerio==1.0.0a0
|
||||
|
||||
# homeassistant.components.fjaraskupan
|
||||
fjaraskupan==2.2.0
|
||||
fjaraskupan==2.3.0
|
||||
|
||||
# homeassistant.components.flexit_bacnet
|
||||
flexit_bacnet==2.1.0
|
||||
|
|
|
@ -702,7 +702,7 @@ fitbit==0.3.1
|
|||
fivem-api==0.1.2
|
||||
|
||||
# homeassistant.components.fjaraskupan
|
||||
fjaraskupan==2.2.0
|
||||
fjaraskupan==2.3.0
|
||||
|
||||
# homeassistant.components.flexit_bacnet
|
||||
flexit_bacnet==2.1.0
|
||||
|
|
Loading…
Reference in New Issue