Use list literals (#33659)

This commit is contained in:
springstan authored and GitHub committed 2020-04-04 23:14:47 +02:00
1 parent dde93304d3
commit db72039b8f
14 files changed
+18 -18

No files matched your search

@@ -11,7 +11,7 @@ def setup_platform(hass, config, add_entities, discovery_info=None):
data = sleepiq.DATA
data.update()
dev = list()
dev = []
for bed_id, bed in data.beds.items():
for side in sleepiq.SIDES:
if getattr(bed, side) is not None: