From a1821bb663f834295d94acaf3a8c531fb30848a9 Mon Sep 17 00:00:00 2001 From: lonkaars Date: Thu, 12 Aug 2021 19:04:39 +0200 Subject: loading now! --- __init__.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to '__init__.py') diff --git a/__init__.py b/__init__.py index 40b4d90..eb66857 100644 --- a/__init__.py +++ b/__init__.py @@ -1,5 +1,11 @@ +from homeassistant.core import HomeAssistant + DOMAIN = "beken" +PLATFORMS = ["light"] + +def setup(hass: HomeAssistant, config): + hass.data[DOMAIN] = {} + return True -def setup(hass, config): - hass.states.set("beken.loaded", "yes") +def setup_entry(hass, entry): return True -- cgit v1.2.3