mirror of
https://github.com/elisspace/core.git
synced 2026-10-02 23:39:53 +00:00
Fix black on homematicip_cloud binary_sensor (#39351)
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user