From ab90ea78846c91c16432137e8e056d416f075b85 Mon Sep 17 00:00:00 2001 From: Chris Talkington Date: Fri, 28 Aug 2020 00:47:27 -0500 Subject: [PATCH] Fix black on homematicip_cloud binary_sensor (#39351) --- homeassistant/components/homematicip_cloud/binary_sensor.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/homeassistant/components/homematicip_cloud/binary_sensor.py b/homeassistant/components/homematicip_cloud/binary_sensor.py index 0867fa7002a..15ba9049dba 100644 --- a/homeassistant/components/homematicip_cloud/binary_sensor.py +++ b/homeassistant/components/homematicip_cloud/binary_sensor.py @@ -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))