Lights turn on by themself
See original GitHub issueVersion information:
Description:
I’ve noticed a problem with 3 of my bulbs (Hue via Hue Bridge, Ikea via Deconz) that lights sometimes turn on by themselves. I was looking for a reason for about 1 month and yesterday I turned off Adaptive Lightning Integration for this lights. After about 24 hour I didn’t noticed this problem. So it should be related with this integration.
Usually logs of my bulbs looks like this:
In translations automation turn on a bulb,
after that turning off because of state_changed
and after that turn on light by service light.turn_on
To be sure I still using the same automation before and after disabling integration.
Is anyone have the same problem or also have a solution for that?
Im really missing the sleep mode when bulbs are on 1% brightness.
And here is my automation:
alias: 🏃 [Piętro] Turn on light on motion (v 2.0 with bug)
description: ''
trigger:
- platform: state
entity_id: binary_sensor.presence_79
to: 'on'
from: 'off'
condition: []
action:
- choose:
- conditions:
- condition: numeric_state
entity_id: sensor.lightlevel_80
below: '100'
sequence:
- service: light.turn_on
data: {}
entity_id: light.color_temperature_light_18
- wait_for_trigger:
- platform: state
entity_id: binary_sensor.presence_79
from: 'on'
to: 'off'
for:
hours: 0
minutes: 0
seconds: 10
- service: light.turn_off
data: {}
entity_id: light.color_temperature_light_18
default:
- service: light.turn_off
target:
entity_id: light.color_temperature_light_18
mode: restart
Issue Analytics
- State:
- Created 2 years ago
- Reactions:11
- Comments:34 (3 by maintainers)
Another way to “fix” this is to turn on
only_once
by the way, from the basic debugging I did on this, it seems as if some trigger to update the light with time passing is not properly stopped when the light gets turned off in the meantime, turning it back on when it wants to adjust the brightness.Have/had this issue with Tradfri lights.
I’ve got the same problem. When i turn off all light, some of them are turning on by themself after a few seconds. I have Ikea lights with Zigbee2MQTT and Conbee 2. In the logs i can’t find a reason for it…