From 77c56b704be4e793870445e7df557644ad387a6d Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Thu, 23 Jan 2014 23:52:38 -0800 Subject: [PATCH] Device_sun_light_trigger: bug fix for wrong turn_off call --- homeassistant/components/device_sun_light_trigger.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/device_sun_light_trigger.py b/homeassistant/components/device_sun_light_trigger.py index 3d39fcda1a2..59eaccc2d12 100644 --- a/homeassistant/components/device_sun_light_trigger.py +++ b/homeassistant/components/device_sun_light_trigger.py @@ -135,7 +135,7 @@ def setup(bus, statemachine, light_group=None): logger.info( "Everyone has left but there are devices on. Turning them off") - light.turn_off(bus, statemachine) + light.turn_off(bus) # Track home coming of each seperate device for entity in device_entity_ids: