Minor code cleanup

This commit is contained in:
Paulus Schoutsen committed 2015-08-04 18:13:55 +02:00
1 parent e47ac96587
commit 14023a15e6
3 files changed
+12 -18

No files matched your search

+2 -2
View File
@@ -205,8 +205,8 @@ def setup(hass, config):
for light in target_lights:
light.turn_off(**params)
if light.should_poll:
for light in target_lights:
for light in target_lights:
if light.should_poll:
light.update_ha_state(True)
return