Initial project scaffold

This commit is contained in:
2026-09-04 11:18:06 +02:00
commit 42050010b2
6 changed files with 52 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
"""The MB-Secure integration."""
from __future__ import annotations
from homeassistant.config_entries import ConfigEntry
from homeassistant.core import HomeAssistant
from .const import DOMAIN
async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
"""Set up MB-Secure from a config entry."""
hass.data.setdefault(DOMAIN, {})[entry.entry_id] = None
return True
async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
"""Unload an MB-Secure config entry."""
hass.data[DOMAIN].pop(entry.entry_id)
return True
+3
View File
@@ -0,0 +1,3 @@
"""Constants for the MB-Secure integration."""
DOMAIN = "mb_secure"
+10
View File
@@ -0,0 +1,10 @@
{
"domain": "mb_secure",
"name": "MB-Secure",
"version": "0.1.0",
"config_flow": false,
"documentation": "https://git.bahmcloud.de/bahmcloud/home-assistant-mb-secure",
"integration_type": "hub",
"iot_class": "local_push",
"requirements": []
}