Add transition support to scenes, cleanup blocking parameter (#34434)

This commit is contained in:
Franck Nijhof authored and GitHub committed 2020-04-20 18:07:50 -07:00
1 parent 19be31d13a
commit bc5a2da7b7
66 files changed
+547 -229

No files matched your search

+3 -1
View File
@@ -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,