From e40d981609d206193df520a65abbf673cfb13ed1 Mon Sep 17 00:00:00 2001 From: lonkaars Date: Mon, 25 Dec 2023 11:59:07 +0100 Subject: restructure repo for HACS --- custom_components/beken/__init__.py | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 custom_components/beken/__init__.py (limited to 'custom_components/beken/__init__.py') diff --git a/custom_components/beken/__init__.py b/custom_components/beken/__init__.py new file mode 100644 index 0000000..eb66857 --- /dev/null +++ b/custom_components/beken/__init__.py @@ -0,0 +1,11 @@ +from homeassistant.core import HomeAssistant + +DOMAIN = "beken" +PLATFORMS = ["light"] + +def setup(hass: HomeAssistant, config): + hass.data[DOMAIN] = {} + return True + +def setup_entry(hass, entry): + return True -- cgit v1.2.3