Use list literals (#33659)

This commit is contained in:
springstan 2020-04-04 23:14:47 +02:00 committed by GitHub
parent dde93304d3
commit db72039b8f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 18 additions and 18 deletions

View file

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