From 9f2793118bd58438f98754316a22078bdc7a663c Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Mon, 4 Apr 2022 22:43:04 +0200 Subject: [PATCH] black fix --- platypush/plugins/smartthings/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/platypush/plugins/smartthings/__init__.py b/platypush/plugins/smartthings/__init__.py index 249a27e7a..7fb2562f7 100644 --- a/platypush/plugins/smartthings/__init__.py +++ b/platypush/plugins/smartthings/__init__.py @@ -420,8 +420,8 @@ class SmartthingsPlugin(SwitchPlugin): await device.status.refresh() if 'switch' in device.capabilities: - self.publish_entities( - [ # type: ignore + self.publish_entities( # type: ignore + [ Switch( id=device_id, name=device.label,