Add switches for HmIPW-DRI16, HmIPW-DRI32, HmIPW-DRS4, HmIPW-DRS8 (#148571)

This commit is contained in:
hahn-th 2025-07-14 21:16:29 +02:00 committed by GitHub
parent d42d270fb2
commit c08c402409
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -18,6 +18,9 @@ from homematicip.device import (
PrintedCircuitBoardSwitch2, PrintedCircuitBoardSwitch2,
PrintedCircuitBoardSwitchBattery, PrintedCircuitBoardSwitchBattery,
SwitchMeasuring, SwitchMeasuring,
WiredInput32,
WiredInputSwitch6,
WiredSwitch4,
WiredSwitch8, WiredSwitch8,
) )
from homematicip.group import ExtendedLinkedSwitchingGroup, SwitchingGroup from homematicip.group import ExtendedLinkedSwitchingGroup, SwitchingGroup
@ -51,6 +54,7 @@ async def async_setup_entry(
elif isinstance( elif isinstance(
device, device,
( (
WiredSwitch4,
WiredSwitch8, WiredSwitch8,
OpenCollector8Module, OpenCollector8Module,
BrandSwitch2, BrandSwitch2,
@ -60,6 +64,8 @@ async def async_setup_entry(
MotionDetectorSwitchOutdoor, MotionDetectorSwitchOutdoor,
DinRailSwitch, DinRailSwitch,
DinRailSwitch4, DinRailSwitch4,
WiredInput32,
WiredInputSwitch6,
), ),
): ):
channel_indices = [ channel_indices = [