Fix black on homematicip_cloud binary_sensor (#39351)
parent
98db0a2d2e
commit
ab90ea7884
|
@ -87,7 +87,10 @@ async def async_setup_entry(
|
|||
entities.append(HomematicipAccelerationSensor(hap, device))
|
||||
if isinstance(device, (AsyncContactInterface, AsyncFullFlushContactInterface)):
|
||||
entities.append(HomematicipContactInterface(hap, device))
|
||||
if isinstance(device, (AsyncShutterContact, AsyncShutterContactMagnetic),):
|
||||
if isinstance(
|
||||
device,
|
||||
(AsyncShutterContact, AsyncShutterContactMagnetic),
|
||||
):
|
||||
entities.append(HomematicipShutterContact(hap, device))
|
||||
if isinstance(device, AsyncRotaryHandleSensor):
|
||||
entities.append(HomematicipShutterContact(hap, device, True))
|
||||
|
|
Loading…
Reference in New Issue