Upgrade black to 20.8b1 (#39287)
This commit is contained in:
1 parent
0d7eec710c
commit
1c2ebdf307
574 files changed
+4389
-1725
No files matched your search
@@ -40,7 +40,8 @@ def websocket_get_instances(hass, connection, msg):
|
||||
instances.append(dict(instance.get_status().data, ozw_instance=instance.id))
|
||||
|
||||
connection.send_result(
|
||||
msg[ID], instances,
|
||||
msg[ID],
|
||||
instances,
|
||||
)
|
||||
|
||||
|
||||
@@ -56,7 +57,8 @@ def websocket_network_status(hass, connection, msg):
|
||||
manager = hass.data[DOMAIN][MANAGER]
|
||||
status = manager.get_instance(msg[OZW_INSTANCE]).get_status().data
|
||||
connection.send_result(
|
||||
msg[ID], dict(status, ozw_instance=msg[OZW_INSTANCE]),
|
||||
msg[ID],
|
||||
dict(status, ozw_instance=msg[OZW_INSTANCE]),
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user