Hi, again.
I did the changes you suggested and it seem to work ok when i flip the switch.
But now i have a strange thing happening.
I have a MySensors dimmer node (Node 2).
If i turn on my relay in the GW on.
And then, i change the state of the dimmer (turn on or off)
it will turn my relay in the GW off.
In this log i turn my relay on, turn my dimmer on or off.
and my relay get turned off.
I repeat these steps a couple of times.
17-01-22 23:30:51 homeassistant.components.http: Serving /api/services/homeassistant/turn_on to 192.168.1.8 (auth: True)
17-01-22 23:30:51 homeassistant.core: Bus:Handling <Event call_service[L]: domain=homeassistant, service_data=entity_id=light.kallarvaggen_2_0, service_call_id=3051336336-11, service=turn_on>
17-01-22 23:30:51 homeassistant.core: Bus:Handling <Event call_service[L]: domain=light, service_data=entity_id=['light.kallarvaggen_2_0'], service_call_id=3051336336-12, service=turn_on>
17-01-22 23:30:51 homeassistant.core: Bus:Handling <Event service_executed[L]: service_call_id=3051336336-12>
17-01-22 23:30:51 mysensors.mysensors: Sending 2;0;1;0;2;1
17-01-22 23:30:51 homeassistant.core: Bus:Handling <Event service_executed[L]: service_call_id=3051336336-11>
17-01-22 23:30:53 mysensors.mysensors: Received 2;0;1;0;2;1
0;1;1;0;2;0
2;0;1;0;3;100
17-01-22 23:30:53 homeassistant.components.mysensors: Update sensor_update: node 2
17-01-22 23:30:53 homeassistant.core: Bus:Handling <Event state_changed[L]: entity_id=light.kallarvaggen_2_0, new_state=<state light.kallarvaggen_2_0=off; V_PERCENTAGE=0, V_STATUS=on, friendly_name=KΓ€llarvΓ€ggen 2 0, battery_level=0, node_id=2, description=, supported_features=145, device=192.168.1.66, child_id=0 @ 2017-01-22T23:30:14.156158+01:00>, old_state=<state light.kallarvaggen_2_0=off; V_PERCENTAGE=0, V_STATUS=off, friendly_name=KΓ€llarvΓ€ggen 2 0, battery_level=0, node_id=2, description=, supported_features=145, device=192.168.1.66, child_id=0 @ 2017-01-22T23:30:14.156158+01:00>>
17-01-22 23:30:53 homeassistant.components.mysensors: Update sensor_update: node 0
17-01-22 23:30:53 homeassistant.components.mysensors: Gateway 0 0: value_type 23, value = 0
17-01-22 23:30:53 homeassistant.core: Bus:Handling <Event state_changed[L]: entity_id=sensor.gateway_0_0, new_state=<state sensor.gateway_0_0=0; friendly_name=Gateway 0 0, battery_level=0, node_id=0, V_LIGHT_LEVEL=0, unit_of_measurement=%, description=, device=192.168.1.66, child_id=0 @ 2017-01-22T23:30:53.836521+01:00>, old_state=<state sensor.gateway_0_0=0; friendly_name=Gateway 0 0, battery_level=0, node_id=0, V_LIGHT_LEVEL=0, unit_of_measurement=%, description=, device=192.168.1.66, child_id=0 @ 2017-01-22T23:30:49.700881+01:00>>
17-01-22 23:30:53 homeassistant.components.mysensors: Gateway 0 1: value_type 2, value = 0
17-01-22 23:30:53 homeassistant.core: Bus:Handling <Event state_changed[L]: entity_id=switch.gateway_0_1, new_state=<state switch.gateway_0_1=off; friendly_name=Gateway 0 1, battery_level=0, node_id=0, V_STATUS=off, description=, device=192.168.1.66, child_id=1 @ 2017-01-22T23:30:53.919363+01:00>, old_state=<state switch.gateway_0_1=on; friendly_name=Gateway 0 1, battery_level=0, node_id=0, V_STATUS=on, description=, device=192.168.1.66, child_id=1 @ 2017-01-22T23:30:49.765215+01:00>>
17-01-22 23:30:54 homeassistant.components.mysensors: Update sensor_update: node 2
17-01-22 23:30:54 homeassistant.core: Bus:Handling <Event state_changed[L]: entity_id=light.kallarvaggen_2_0, new_state=<state light.kallarvaggen_2_0=on; brightness=255, V_PERCENTAGE=100, V_STATUS=on, friendly_name=KΓ€llarvΓ€ggen 2 0, battery_level=0, node_id=2, description=, supported_features=145, device=192.168.1.66, child_id=0 @ 2017-01-22T23:30:54.040689+01:00>, old_state=<state light.kallarvaggen_2_0=off; V_PERCENTAGE=0, V_STATUS=on, friendly_name=KΓ€llarvΓ€ggen 2 0, battery_level=0, node_id=2, description=, supported_features=145, device=192.168.1.66, child_id=0 @ 2017-01-22T23:30:14.156158+01:00>>
17-01-22 23:30:54 homeassistant.core: Bus:Handling <Event state_changed[L]: entity_id=group.all_lights, new_state=<state group.all_lights=on; friendly_name=all lights, hidden=True, order=5, entity_id=('light.toan_nere', 'light.kallarvaggen_2_0'), assumed_state=True, auto=True @ 2017-01-22T23:30:54.126221+01:00>, old_state=<state group.all_lights=off; friendly_name=all lights, hidden=True, order=5, entity_id=('light.toan_nere', 'light.kallarvaggen_2_0'), assumed_state=True, auto=True @ 2017-01-22T23:30:14.266930+01:00>>
17-01-22 23:30:57 homeassistant.components.http: Serving /api/services/homeassistant/turn_on to 192.168.1.8 (auth: True)
17-01-22 23:30:57 homeassistant.core: Bus:Handling <Event call_service[L]: domain=homeassistant, service_data=entity_id=switch.gateway_0_1, service_call_id=3051336336-13, service=turn_on>
17-01-22 23:30:57 homeassistant.core: Bus:Handling <Event call_service[L]: domain=switch, service_data=entity_id=['switch.gateway_0_1'], service_call_id=3051336336-14, service=turn_on>
17-01-22 23:30:57 mysensors.mysensors: Sending 0;1;1;0;2;1
17-01-22 23:30:57 homeassistant.core: Bus:Handling <Event service_executed[L]: service_call_id=3051336336-14>
17-01-22 23:30:57 homeassistant.core: Bus:Handling <Event service_executed[L]: service_call_id=3051336336-13>
17-01-22 23:30:57 mysensors.mysensors: Received 0;1;1;0;2;1
17-01-22 23:30:57 homeassistant.components.mysensors: Update sensor_update: node 0
17-01-22 23:30:57 homeassistant.components.mysensors: Gateway 0 0: value_type 23, value = 0
17-01-22 23:30:57 homeassistant.core: Bus:Handling <Event state_changed[L]: entity_id=sensor.gateway_0_0, new_state=<state sensor.gateway_0_0=0; friendly_name=Gateway 0 0, battery_level=0, node_id=0, V_LIGHT_LEVEL=0, unit_of_measurement=%, description=, device=192.168.1.66, child_id=0 @ 2017-01-22T23:30:57.222167+01:00>, old_state=<state sensor.gateway_0_0=0; friendly_name=Gateway 0 0, battery_level=0, node_id=0, V_LIGHT_LEVEL=0, unit_of_measurement=%, description=, device=192.168.1.66, child_id=0 @ 2017-01-22T23:30:53.836521+01:00>>
17-01-22 23:30:57 homeassistant.components.mysensors: Gateway 0 1: value_type 2, value = 1
17-01-22 23:30:57 homeassistant.core: Bus:Handling <Event state_changed[L]: entity_id=switch.gateway_0_1, new_state=<state switch.gateway_0_1=on; friendly_name=Gateway 0 1, battery_level=0, node_id=0, V_STATUS=on, description=, device=192.168.1.66, child_id=1 @ 2017-01-22T23:30:57.303626+01:00>, old_state=<state switch.gateway_0_1=off; friendly_name=Gateway 0 1, battery_level=0, node_id=0, V_STATUS=off, description=, device=192.168.1.66, child_id=1 @ 2017-01-22T23:30:53.919363+01:00>>
17-01-22 23:30:59 homeassistant.components.http: Serving /api/services/homeassistant/turn_off to 192.168.1.8 (auth: True)
17-01-22 23:30:59 homeassistant.core: Bus:Handling <Event call_service[L]: domain=homeassistant, service_data=entity_id=light.kallarvaggen_2_0, service_call_id=3051336336-15, service=turn_off>
17-01-22 23:30:59 homeassistant.core: Bus:Handling <Event call_service[L]: domain=light, service_data=entity_id=['light.kallarvaggen_2_0'], service_call_id=3051336336-16, service=turn_off>
17-01-22 23:30:59 homeassistant.core: Bus:Handling <Event service_executed[L]: service_call_id=3051336336-16>
17-01-22 23:30:59 mysensors.mysensors: Sending 2;0;1;0;2;0
17-01-22 23:30:59 homeassistant.core: Bus:Handling <Event service_executed[L]: service_call_id=3051336336-15>
17-01-22 23:31:00 homeassistant.components.device_tracker.netgear: Scanning
17-01-22 23:31:00 pynetgear: Get attached devices
17-01-22 23:31:01 mysensors.mysensors: Received 2;0;1;0;2;0
0;1;1;0;2;0
2;0;1;0;3;0
17-01-22 23:31:01 homeassistant.components.mysensors: Update sensor_update: node 2
17-01-22 23:31:01 homeassistant.core: Bus:Handling <Event state_changed[L]: entity_id=light.kallarvaggen_2_0, new_state=<state light.kallarvaggen_2_0=off; V_PERCENTAGE=100, V_STATUS=off, friendly_name=KΓ€llarvΓ€ggen 2 0, battery_level=0, node_id=2, description=, supported_features=145, device=192.168.1.66, child_id=0 @ 2017-01-22T23:31:01.989013+01:00>, old_state=<state light.kallarvaggen_2_0=on; brightness=255, V_PERCENTAGE=100, V_STATUS=on, friendly_name=KΓ€llarvΓ€ggen 2 0, battery_level=0, node_id=2, description=, supported_features=145, device=192.168.1.66, child_id=0 @ 2017-01-22T23:30:54.040689+01:00>>
17-01-22 23:31:02 homeassistant.core: Bus:Handling <Event state_changed[L]: entity_id=group.all_lights, new_state=<state group.all_lights=off; friendly_name=all lights, hidden=True, order=5, entity_id=('light.toan_nere', 'light.kallarvaggen_2_0'), assumed_state=True, auto=True @ 2017-01-22T23:31:02.060892+01:00>, old_state=<state group.all_lights=on; friendly_name=all lights, hidden=True, order=5, entity_id=('light.toan_nere', 'light.kallarvaggen_2_0'), assumed_state=True, auto=True @ 2017-01-22T23:30:54.126221+01:00>>
17-01-22 23:31:02 homeassistant.components.mysensors: Update sensor_update: node 0
17-01-22 23:31:02 homeassistant.components.mysensors: Gateway 0 0: value_type 23, value = 0
17-01-22 23:31:02 homeassistant.core: Bus:Handling <Event state_changed[L]: entity_id=sensor.gateway_0_0, new_state=<state sensor.gateway_0_0=0; friendly_name=Gateway 0 0, battery_level=0, node_id=0, V_LIGHT_LEVEL=0, unit_of_measurement=%, description=, device=192.168.1.66, child_id=0 @ 2017-01-22T23:31:02.205818+01:00>, old_state=<state sensor.gateway_0_0=0; friendly_name=Gateway 0 0, battery_level=0, node_id=0, V_LIGHT_LEVEL=0, unit_of_measurement=%, description=, device=192.168.1.66, child_id=0 @ 2017-01-22T23:30:57.222167+01:00>>
17-01-22 23:31:02 homeassistant.components.mysensors: Gateway 0 1: value_type 2, value = 0
17-01-22 23:31:02 homeassistant.core: Bus:Handling <Event state_changed[L]: entity_id=switch.gateway_0_1, new_state=<state switch.gateway_0_1=off; friendly_name=Gateway 0 1, battery_level=0, node_id=0, V_STATUS=off, description=, device=192.168.1.66, child_id=1 @ 2017-01-22T23:31:02.299902+01:00>, old_state=<state switch.gateway_0_1=on; friendly_name=Gateway 0 1, battery_level=0, node_id=0, V_STATUS=on, description=, device=192.168.1.66, child_id=1 @ 2017-01-22T23:30:57.303626+01:00>>
17-01-22 23:31:02 homeassistant.components.mysensors: Update sensor_update: node 2
17-01-22 23:31:02 homeassistant.core: Bus:Handling <Event state_changed[L]: entity_id=light.kallarvaggen_2_0, new_state=<state light.kallarvaggen_2_0=off; V_PERCENTAGE=0, V_STATUS=off, friendly_name=KΓ€llarvΓ€ggen 2 0, battery_level=0, node_id=2, description=, supported_features=145, device=192.168.1.66, child_id=0 @ 2017-01-22T23:31:01.989013+01:00>, old_state=<state light.kallarvaggen_2_0=off; V_PERCENTAGE=100, V_STATUS=off, friendly_name=KΓ€llarvΓ€ggen 2 0, battery_level=0, node_id=2, description=, supported_features=145, device=192.168.1.66, child_id=0 @ 2017-01-22T23:31:01.989013+01:00>>
17-01-22 23:31:05 homeassistant.components.http: Serving /api/services/homeassistant/turn_on to 192.168.1.8 (auth: True)
17-01-22 23:31:05 homeassistant.core: Bus:Handling <Event call_service[L]: domain=homeassistant, service_data=entity_id=switch.gateway_0_1, service_call_id=3051336336-17, service=turn_on>
17-01-22 23:31:05 homeassistant.core: Bus:Handling <Event call_service[L]: domain=switch, service_data=entity_id=['switch.gateway_0_1'], service_call_id=3051336336-18, service=turn_on>
17-01-22 23:31:05 homeassistant.core: Bus:Handling <Event service_executed[L]: service_call_id=3051336336-18>
17-01-22 23:31:05 mysensors.mysensors: Sending 0;1;1;0;2;1
17-01-22 23:31:05 homeassistant.core: Bus:Handling <Event service_executed[L]: service_call_id=3051336336-17>
17-01-22 23:31:05 mysensors.mysensors: Received 0;1;1;0;2;1
17-01-22 23:31:05 homeassistant.components.mysensors: Update sensor_update: node 0
17-01-22 23:31:05 homeassistant.components.mysensors: Gateway 0 0: value_type 23, value = 0
17-01-22 23:31:05 homeassistant.core: Bus:Handling <Event state_changed[L]: entity_id=sensor.gateway_0_0, new_state=<state sensor.gateway_0_0=0; friendly_name=Gateway 0 0, battery_level=0, node_id=0, V_LIGHT_LEVEL=0, unit_of_measurement=%, description=, device=192.168.1.66, child_id=0 @ 2017-01-22T23:31:05.320905+01:00>, old_state=<state sensor.gateway_0_0=0; friendly_name=Gateway 0 0, battery_level=0, node_id=0, V_LIGHT_LEVEL=0, unit_of_measurement=%, description=, device=192.168.1.66, child_id=0 @ 2017-01-22T23:31:02.205818+01:00>>
17-01-22 23:31:05 homeassistant.components.mysensors: Gateway 0 1: value_type 2, value = 1
17-01-22 23:31:05 homeassistant.core: Bus:Handling <Event state_changed[L]: entity_id=switch.gateway_0_1, new_state=<state switch.gateway_0_1=on; friendly_name=Gateway 0 1, battery_level=0, node_id=0, V_STATUS=on, description=, device=192.168.1.66, child_id=1 @ 2017-01-22T23:31:05.384134+01:00>, old_state=<state switch.gateway_0_1=off; friendly_name=Gateway 0 1, battery_level=0, node_id=0, V_STATUS=off, description=, device=192.168.1.66, child_id=1 @ 2017-01-22T23:31:02.299902+01:00>>
17-01-22 23:31:07 homeassistant.components.http: Serving /api/services/homeassistant/turn_on to 192.168.1.8 (auth: True)
17-01-22 23:31:08 homeassistant.core: Bus:Handling <Event call_service[L]: domain=homeassistant, service_data=entity_id=light.kallarvaggen_2_0, service_call_id=3051336336-19, service=turn_on>
17-01-22 23:31:08 homeassistant.core: Bus:Handling <Event call_service[L]: domain=light, service_data=entity_id=['light.kallarvaggen_2_0'], service_call_id=3051336336-20, service=turn_on>
17-01-22 23:31:08 mysensors.mysensors: Sending 2;0;1;0;2;1
17-01-22 23:31:08 homeassistant.core: Bus:Handling <Event service_executed[L]: service_call_id=3051336336-20>
17-01-22 23:31:08 homeassistant.core: Bus:Handling <Event service_executed[L]: service_call_id=3051336336-19>
17-01-22 23:31:10 mysensors.mysensors: Received 2;0;1;0;2;1
0;1;1;0;2;0
2;0;1;0;3;100
17-01-22 23:31:10 homeassistant.components.mysensors: Update sensor_update: node 2
17-01-22 23:31:10 homeassistant.core: Bus:Handling <Event state_changed[L]: entity_id=light.kallarvaggen_2_0, new_state=<state light.kallarvaggen_2_0=off; V_PERCENTAGE=0, V_STATUS=on, friendly_name=KΓ€llarvΓ€ggen 2 0, battery_level=0, node_id=2, description=, supported_features=145, device=192.168.1.66, child_id=0 @ 2017-01-22T23:31:01.989013+01:00>, old_state=<state light.kallarvaggen_2_0=off; V_PERCENTAGE=0, V_STATUS=off, friendly_name=KΓ€llarvΓ€ggen 2 0, battery_level=0, node_id=2, description=, supported_features=145, device=192.168.1.66, child_id=0 @ 2017-01-22T23:31:01.989013+01:00>>
17-01-22 23:31:10 homeassistant.components.mysensors: Update sensor_update: node 0
17-01-22 23:31:10 homeassistant.components.mysensors: Gateway 0 0: value_type 23, value = 0
17-01-22 23:31:10 homeassistant.core: Bus:Handling <Event state_changed[L]: entity_id=sensor.gateway_0_0, new_state=<state sensor.gateway_0_0=0; friendly_name=Gateway 0 0, battery_level=0, node_id=0, V_LIGHT_LEVEL=0, unit_of_measurement=%, description=, device=192.168.1.66, child_id=0 @ 2017-01-22T23:31:10.311148+01:00>, old_state=<state sensor.gateway_0_0=0; friendly_name=Gateway 0 0, battery_level=0, node_id=0, V_LIGHT_LEVEL=0, unit_of_measurement=%, description=, device=192.168.1.66, child_id=0 @ 2017-01-22T23:31:05.320905+01:00>>
17-01-22 23:31:10 homeassistant.components.mysensors: Gateway 0 1: value_type 2, value = 0
17-01-22 23:31:10 homeassistant.core: Bus:Handling <Event state_changed[L]: entity_id=switch.gateway_0_1, new_state=<state switch.gateway_0_1=off; friendly_name=Gateway 0 1, battery_level=0, node_id=0, V_STATUS=off, description=, device=192.168.1.66, child_id=1 @ 2017-01-22T23:31:10.407123+01:00>, old_state=<state switch.gateway_0_1=on; friendly_name=Gateway 0 1, battery_level=0, node_id=0, V_STATUS=on, description=, device=192.168.1.66, child_id=1 @ 2017-01-22T23:31:05.384134+01:00>>
17-01-22 23:31:10 homeassistant.components.mysensors: Update sensor_update: node 2
17-01-22 23:31:10 homeassistant.core: Bus:Handling <Event state_changed[L]: entity_id=light.kallarvaggen_2_0, new_state=<state light.kallarvaggen_2_0=on; brightness=255, V_PERCENTAGE=100, V_STATUS=on, friendly_name=KΓ€llarvΓ€ggen 2 0, battery_level=0, node_id=2, description=, supported_features=145, device=192.168.1.66, child_id=0 @ 2017-01-22T23:31:10.508762+01:00>, old_state=<state light.kallarvaggen_2_0=off; V_PERCENTAGE=0, V_STATUS=on, friendly_name=KΓ€llarvΓ€ggen 2 0, battery_level=0, node_id=2, description=, supported_features=145, device=192.168.1.66, child_id=0 @ 2017-01-22T23:31:01.989013+01:00>>
17-01-22 23:31:10 homeassistant.core: Bus:Handling <Event state_changed[L]: entity_id=group.all_lights, new_state=<state group.all_lights=on; friendly_name=all lights, hidden=True, order=5, entity_id=('light.toan_nere', 'light.kallarvaggen_2_0'), assumed_state=True, auto=True @ 2017-01-22T23:31:10.570169+01:00>, old_state=<state group.all_lights=off; friendly_name=all lights, hidden=True, order=5, entity_id=('light.toan_nere', 'light.kallarvaggen_2_0'), assumed_state=True, auto=True @ 2017-01-22T23:31:02.060892+01:00>>
17-01-22 23:31:12 homeassistant.components.device_tracker.netgear: Scanning
17-01-22 23:31:12 pynetgear: Get attached devices
17-01-22 23:31:13 homeassistant.components.http: Serving /api/services/homeassistant/turn_off to 192.168.1.8 (auth: True)
17-01-22 23:31:13 homeassistant.core: Bus:Handling <Event call_service[L]: domain=homeassistant, service_data=entity_id=light.kallarvaggen_2_0, service_call_id=3051336336-21, service=turn_off>
17-01-22 23:31:13 homeassistant.core: Bus:Handling <Event call_service[L]: domain=light, service_data=entity_id=['light.kallarvaggen_2_0'], service_call_id=3051336336-22, service=turn_off>
17-01-22 23:31:14 homeassistant.core: Bus:Handling <Event service_executed[L]: service_call_id=3051336336-22>
17-01-22 23:31:14 mysensors.mysensors: Sending 2;0;1;0;2;0
17-01-22 23:31:14 homeassistant.core: Bus:Handling <Event service_executed[L]: service_call_id=3051336336-21>
17-01-22 23:31:16 mysensors.mysensors: Received 2;0;1;0;2;0
0;1;1;0;2;0
2;0;1;0;3;0
17-01-22 23:31:16 homeassistant.components.mysensors: Update sensor_update: node 2
17-01-22 23:31:16 homeassistant.core: Bus:Handling <Event state_changed[L]: entity_id=light.kallarvaggen_2_0, new_state=<state light.kallarvaggen_2_0=off; V_PERCENTAGE=100, V_STATUS=off, friendly_name=KΓ€llarvΓ€ggen 2 0, battery_level=0, node_id=2, description=, supported_features=145, device=192.168.1.66, child_id=0 @ 2017-01-22T23:31:16.136777+01:00>, old_state=<state light.kallarvaggen_2_0=on; brightness=255, V_PERCENTAGE=100, V_STATUS=on, friendly_name=KΓ€llarvΓ€ggen 2 0, battery_level=0, node_id=2, description=, supported_features=145, device=192.168.1.66, child_id=0 @ 2017-01-22T23:31:10.508762+01:00>>
17-01-22 23:31:16 homeassistant.core: Bus:Handling <Event state_changed[L]: entity_id=group.all_lights, new_state=<state group.all_lights=off; friendly_name=all lights, hidden=True, order=5, entity_id=('light.toan_nere', 'light.kallarvaggen_2_0'), assumed_state=True, auto=True @ 2017-01-22T23:31:16.236923+01:00>, old_state=<state group.all_lights=on; friendly_name=all lights, hidden=True, order=5, entity_id=('light.toan_nere', 'light.kallarvaggen_2_0'), assumed_state=True, auto=True @ 2017-01-22T23:31:10.570169+01:00>>
17-01-22 23:31:16 homeassistant.components.mysensors: Update sensor_update: node 0
17-01-22 23:31:16 homeassistant.components.mysensors: Gateway 0 0: value_type 23, value = 0
17-01-22 23:31:16 homeassistant.core: Bus:Handling <Event state_changed[L]: entity_id=sensor.gateway_0_0, new_state=<state sensor.gateway_0_0=0; friendly_name=Gateway 0 0, battery_level=0, node_id=0, V_LIGHT_LEVEL=0, unit_of_measurement=%, description=, device=192.168.1.66, child_id=0 @ 2017-01-22T23:31:16.321401+01:00>, old_state=<state sensor.gateway_0_0=0; friendly_name=Gateway 0 0, battery_level=0, node_id=0, V_LIGHT_LEVEL=0, unit_of_measurement=%, description=, device=192.168.1.66, child_id=0 @ 2017-01-22T23:31:10.311148+01:00>>
17-01-22 23:31:16 homeassistant.components.mysensors: Gateway 0 1: value_type 2, value = 0
17-01-22 23:31:16 homeassistant.components.mysensors: Update sensor_update: node 2
17-01-22 23:31:16 homeassistant.core: Bus:Handling <Event state_changed[L]: entity_id=light.kallarvaggen_2_0, new_state=<state light.kallarvaggen_2_0=off; V_PERCENTAGE=0, V_STATUS=off, friendly_name=KΓ€llarvΓ€ggen 2 0, battery_level=0, node_id=2, description=, supported_features=145, device=192.168.1.66, child_id=0 @ 2017-01-22T23:31:16.136777+01:00>, old_state=<state light.kallarvaggen_2_0=off; V_PERCENTAGE=100, V_STATUS=off, friendly_name=KΓ€llarvΓ€ggen 2 0, battery_level=0, node_id=2, description=, supported_features=145, device=192.168.1.66, child_id=0 @ 2017-01-22T23:31:16.136777+01:00>>
17-01-22 23:31:18 homeassistant.components.http: Serving /api/services/homeassistant/turn_on to 192.168.1.8 (auth: True)
17-01-22 23:31:18 homeassistant.core: Bus:Handling <Event call_service[L]: domain=homeassistant, service_data=entity_id=light.kallarvaggen_2_0, service_call_id=3051336336-23, service=turn_on>
17-01-22 23:31:18 homeassistant.core: Bus:Handling <Event call_service[L]: domain=light, service_data=entity_id=['light.kallarvaggen_2_0'], service_call_id=3051336336-24, service=turn_on>
17-01-22 23:31:18 homeassistant.core: Bus:Handling <Event service_executed[L]: service_call_id=3051336336-24>
17-01-22 23:31:18 mysensors.mysensors: Sending 2;0;1;0;2;1
17-01-22 23:31:18 homeassistant.core: Bus:Handling <Event service_executed[L]: service_call_id=3051336336-23>
17-01-22 23:31:20 mysensors.mysensors: Received 2;0;1;0;2;1
0;1;1;0;2;0
2;0;1;0;3;100
17-01-22 23:31:20 homeassistant.components.mysensors: Update sensor_update: node 2
17-01-22 23:31:20 homeassistant.core: Bus:Handling <Event state_changed[L]: entity_id=light.kallarvaggen_2_0, new_state=<state light.kallarvaggen_2_0=off; V_PERCENTAGE=0, V_STATUS=on, friendly_name=KΓ€llarvΓ€ggen 2 0, battery_level=0, node_id=2, description=, supported_features=145, device=192.168.1.66, child_id=0 @ 2017-01-22T23:31:16.136777+01:00>, old_state=<state light.kallarvaggen_2_0=off; V_PERCENTAGE=0, V_STATUS=off, friendly_name=KΓ€llarvΓ€ggen 2 0, battery_level=0, node_id=2, description=, supported_features=145, device=192.168.1.66, child_id=0 @ 2017-01-22T23:31:16.136777+01:00>>
17-01-22 23:31:20 homeassistant.components.mysensors: Update sensor_update: node 0
17-01-22 23:31:20 homeassistant.components.mysensors: Gateway 0 0: value_type 23, value = 0
17-01-22 23:31:20 homeassistant.core: Bus:Handling <Event state_changed[L]: entity_id=sensor.gateway_0_0, new_state=<state sensor.gateway_0_0=0; friendly_name=Gateway 0 0, battery_level=0, node_id=0, V_LIGHT_LEVEL=0, unit_of_measurement=%, description=, device=192.168.1.66, child_id=0 @ 2017-01-22T23:31:20.335924+01:00>, old_state=<state sensor.gateway_0_0=0; friendly_name=Gateway 0 0, battery_level=0, node_id=0, V_LIGHT_LEVEL=0, unit_of_measurement=%, description=, device=192.168.1.66, child_id=0 @ 2017-01-22T23:31:16.321401+01:00>>
17-01-22 23:31:20 homeassistant.components.mysensors: Gateway 0 1: value_type 2, value = 0
17-01-22 23:31:20 homeassistant.components.mysensors: Update sensor_update: node 2
17-01-22 23:31:20 homeassistant.core: Bus:Handling <Event state_changed[L]: entity_id=light.kallarvaggen_2_0, new_state=<state light.kallarvaggen_2_0=on; brightness=255, V_PERCENTAGE=100, V_STATUS=on, friendly_name=KΓ€llarvΓ€ggen 2 0, battery_level=0, node_id=2, description=, supported_features=145, device=192.168.1.66, child_id=0 @ 2017-01-22T23:31:20.488962+01:00>, old_state=<state light.kallarvaggen_2_0=off; V_PERCENTAGE=0, V_STATUS=on, friendly_name=KΓ€llarvΓ€ggen 2 0, battery_level=0, node_id=2, description=, supported_features=145, device=192.168.1.66, child_id=0 @ 2017-01-22T23:31:16.136777+01:00>>
17-01-22 23:31:20 homeassistant.core: Bus:Handling <Event state_changed[L]: entity_id=group.all_lights, new_state=<state group.all_lights=on; friendly_name=all lights, hidden=True, order=5, entity_id=('light.toan_nere', 'light.kallarvaggen_2_0'), assumed_state=True, auto=True @ 2017-01-22T23:31:20.548609+01:00>, old_state=<state group.all_lights=off; friendly_name=all lights, hidden=True, order=5, entity_id=('light.toan_nere', 'light.kallarvaggen_2_0'), assumed_state=True, auto=True @ 2017-01-22T23:31:16.236923+01:00>>
17-01-22 23:31:24 homeassistant.components.http: Serving /api/error_log to 192.168.1.8 (auth: True)