aboutsummaryrefslogtreecommitdiff
path: root/custom_components/beken/__init__.py
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2023-12-25 11:59:07 +0100
committerlonkaars <loek@pipeframe.xyz>2023-12-25 11:59:07 +0100
commite40d981609d206193df520a65abbf673cfb13ed1 (patch)
tree0757b3b69d6e9d92ae6fc3538d7ea62d30c468ba /custom_components/beken/__init__.py
parentf2c20b7a2c2c45532b2784746e57b60dd4627784 (diff)
restructure repo for HACS0.2.0
Diffstat (limited to 'custom_components/beken/__init__.py')
-rw-r--r--custom_components/beken/__init__.py11
1 files changed, 11 insertions, 0 deletions
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