diff --git a/platypush/plugins/smartthings/__init__.py b/platypush/plugins/smartthings/__init__.py index 249a27e7..7fb2562f 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,