From d913d35fc3e2098bf72ef717c59cd3ebcfdf2648 Mon Sep 17 00:00:00 2001 From: SukramJ Date: Fri, 17 Jan 2020 18:37:32 +0100 Subject: [PATCH] Fix missing switch groups of HomematicIP Cloud (#30903) --- homeassistant/components/homematicip_cloud/switch.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/homeassistant/components/homematicip_cloud/switch.py b/homeassistant/components/homematicip_cloud/switch.py index 8f3f6a3a177..6fdb0b8c95c 100644 --- a/homeassistant/components/homematicip_cloud/switch.py +++ b/homeassistant/components/homematicip_cloud/switch.py @@ -13,7 +13,7 @@ from homematicip.aio.device import ( AsyncPrintedCircuitBoardSwitch2, AsyncPrintedCircuitBoardSwitchBattery, ) -from homematicip.aio.group import AsyncSwitchingGroup +from homematicip.aio.group import AsyncExtendedLinkedSwitchingGroup, AsyncSwitchingGroup from homeassistant.components.switch import SwitchDevice from homeassistant.config_entries import ConfigEntry @@ -67,7 +67,7 @@ async def async_setup_entry( entities.append(HomematicipMultiSwitch(hap, device, channel)) for group in hap.home.groups: - if isinstance(group, AsyncSwitchingGroup): + if isinstance(group, (AsyncExtendedLinkedSwitchingGroup, AsyncSwitchingGroup)): entities.append(HomematicipGroupSwitch(hap, group)) if entities: