Bump pylutron to 0.2.13 (#117062)
* Bump pylutron to 0.2.13 * Bump pylutron to 0.2.13
This commit is contained in:
parent
d9ad0c101b
commit
b54077026a
4 changed files with 4 additions and 10 deletions
|
@ -75,13 +75,7 @@ class LutronEventEntity(LutronKeypad, EventEntity):
|
|||
async def async_added_to_hass(self) -> None:
|
||||
"""Register callbacks."""
|
||||
await super().async_added_to_hass()
|
||||
self._lutron_device.subscribe(self.handle_event, None)
|
||||
|
||||
async def async_will_remove_from_hass(self) -> None:
|
||||
"""Unregister callbacks."""
|
||||
await super().async_will_remove_from_hass()
|
||||
# Temporary solution until https://github.com/thecynic/pylutron/pull/93 gets merged
|
||||
self._lutron_device._subscribers.remove((self.handle_event, None)) # noqa: SLF001
|
||||
self.async_on_remove(self._lutron_device.subscribe(self.handle_event, None))
|
||||
|
||||
@callback
|
||||
def handle_event(
|
||||
|
|
|
@ -6,5 +6,5 @@
|
|||
"documentation": "https://www.home-assistant.io/integrations/lutron",
|
||||
"iot_class": "local_polling",
|
||||
"loggers": ["pylutron"],
|
||||
"requirements": ["pylutron==0.2.12"]
|
||||
"requirements": ["pylutron==0.2.13"]
|
||||
}
|
||||
|
|
|
@ -1959,7 +1959,7 @@ pylitterbot==2023.5.0
|
|||
pylutron-caseta==0.20.0
|
||||
|
||||
# homeassistant.components.lutron
|
||||
pylutron==0.2.12
|
||||
pylutron==0.2.13
|
||||
|
||||
# homeassistant.components.mailgun
|
||||
pymailgunner==1.4
|
||||
|
|
|
@ -1534,7 +1534,7 @@ pylitterbot==2023.5.0
|
|||
pylutron-caseta==0.20.0
|
||||
|
||||
# homeassistant.components.lutron
|
||||
pylutron==0.2.12
|
||||
pylutron==0.2.13
|
||||
|
||||
# homeassistant.components.mailgun
|
||||
pymailgunner==1.4
|
||||
|
|
Loading…
Add table
Reference in a new issue