custom_components/whatsapp_bridge_integration/__init__.py aktualisiert

This commit is contained in:
2026-06-15 09:57:12 +00:00
parent 6a74cc7f2e
commit a2db56e704

View File

@@ -40,16 +40,18 @@ async def async_setup_entry(hass: HomeAssistant, entry):
name=f"WhatsApp {entry.title}",
manufacturer="Bahmcloud",
model="Kontakt-Endpunkt",
sw_version="0.2.3",
sw_version="0.2.4",
)
# 3. Zentralen System-Hub VOLLKOMMEN UNABHÄNGIG anlegen (ohne feste config_entry_id Bindung)
# 3. Zentralen System-Hub anlegen mit erzwungener config_entry_id Bindung (HA Core Anforderung)
# Nutzt Multi-Entry-Zusammenführung über den fixen "global_bridge_hub" Identifier.
device_registry.async_get_or_create(
config_entry_id=entry.entry_id,
identifiers={(DOMAIN, "global_bridge_hub")},
name="WhatsApp Bridge Hub",
manufacturer="Bahmcloud",
model="Bridge Server",
sw_version="0.2.3",
sw_version="0.2.4",
)
# Forward the setup to the sensor platform to create entities