fix generator

This commit is contained in:
Pascal Vizeli
2017-06-15 01:32:27 +02:00
parent 08eee4b5e5
commit 03e3d3a3eb

View File

@@ -335,8 +335,8 @@ class DeviceTracker(object):
This method must be run in the event loop. This method must be run in the event loop.
""" """
entity_ids = (dev.entity_id for dev in self.devices.values() entity_ids = [dev.entity_id for dev in self.devices.values()
if dev.track) if dev.track]
self.group = get_component('group') self.group = get_component('group')
self.group.async_set_group( self.group.async_set_group(