mirror of
https://github.com/home-assistant/core.git
synced 2025-11-14 13:30:43 +00:00
Use list literal without using dict.keys() (#42573)
This commit is contained in:
@@ -66,7 +66,7 @@ class BlinkSyncModule(AlarmControlPanelEntity):
|
||||
"""Return the state attributes."""
|
||||
attr = self.sync.attributes
|
||||
attr["network_info"] = self.data.networks
|
||||
attr["associated_cameras"] = list(self.sync.cameras.keys())
|
||||
attr["associated_cameras"] = list(self.sync.cameras)
|
||||
attr[ATTR_ATTRIBUTION] = DEFAULT_ATTRIBUTION
|
||||
return attr
|
||||
|
||||
|
||||
Reference in New Issue
Block a user