black fix

This commit is contained in:
Fabio Manganiello 2022-04-04 22:43:04 +02:00
parent 9d9ec1dc59
commit 9f2793118b
Signed by: blacklight
GPG key ID: D90FBA7F76362774

View file

@ -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,