Add transition support to scenes, cleanup blocking parameter (#34434)
This commit is contained in:
1 parent
19be31d13a
commit
bc5a2da7b7
66 files changed
+547
-229
No files matched your search
@@ -1,4 +1,6 @@
|
||||
"""Support for LCN scenes."""
|
||||
from typing import Any
|
||||
|
||||
import pypck
|
||||
|
||||
from homeassistant.components.scene import Scene
|
||||
@@ -63,7 +65,7 @@ class LcnScene(LcnDevice, Scene):
|
||||
async def async_added_to_hass(self):
|
||||
"""Run when entity about to be added to hass."""
|
||||
|
||||
async def async_activate(self):
|
||||
def activate(self, **kwargs: Any) -> None:
|
||||
"""Activate scene."""
|
||||
self.address_connection.activate_scene(
|
||||
self.register_id,
|
||||
|
||||
Reference in new issue
Block a user