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() await device.status.refresh()
if 'switch' in device.capabilities: if 'switch' in device.capabilities:
self.publish_entities( self.publish_entities( # type: ignore
[ # type: ignore [
Switch( Switch(
id=device_id, id=device_id,
name=device.label, name=device.label,