diff options
Diffstat (limited to '__init__.py')
-rw-r--r-- | __init__.py | 10 |
1 files changed, 8 insertions, 2 deletions
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 |