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 scenes through the SmartThings cloud API."""
|
||||
from typing import Any
|
||||
|
||||
from homeassistant.components.scene import Scene
|
||||
|
||||
from .const import DATA_BROKERS, DOMAIN
|
||||
@@ -17,7 +19,7 @@ class SmartThingsScene(Scene):
|
||||
"""Init the scene class."""
|
||||
self._scene = scene
|
||||
|
||||
async def async_activate(self):
|
||||
async def async_activate(self, **kwargs: Any) -> None:
|
||||
"""Activate scene."""
|
||||
await self._scene.execute()
|
||||
|
||||
|
||||
Reference in new issue
Block a user