I just did some long overdue updates on my homeassistant install. I think i was running a version from 2022 and just updated OS and core to the latest. Ever since then my lifx bulbs have been turning on by themselves at night. I used to have this problem intermittently and the fix was to disable the IR nightvision option on the lifx+ bulb. I checked and that setting is still disabled so im not sure what is causing this. Has there been a large change to automations in the last two years? I thought my setup was pretty simple, I just have shellies that control lifx lights and thats it
Check the automation trace to see what triggered it. With only what you’ve written to go on it’s purely guesswork.
its two lifx bulbs, one lifx+ (IR nightvision) and one normal lifx. The nightvision bulb powered on by itself according to HA which then triggered the shelly switch to match state which then triggered the other bulb to turn on.
Automation:
- id: '1589295169751'
alias: Stairs Lightswitch [2 Gang]
trigger:
- entity_id: switch.stairsdual
platform: state
from: 'off'
to: 'on'
- entity_id: switch.stairsdual
platform: state
from: 'on'
to: 'off'
condition: []
action:
- data:
entity_id: group.stairlights
service: light.toggle
initial_state: 'on'
- id: '1589297001560'
alias: Stairs Lightswitch [1 Gang]
trigger:
- entity_id: switch.stairssingle
platform: state
from: 'off'
to: 'on'
- entity_id: switch.stairssingle
platform: state
from: 'on'
to: 'off'
condition: []
action:
- data:
entity_id: group.stairlights
service: light.toggle
config:
- name: "StairsDual"
state_topic: "shellies/shellyswitch25-BA8F88/input/0"
command_topic: "shellies/shellyswitch25-BA8F88/input/0/command"
payload_on: "1"
payload_off: "0"
retain: false
- name: "StairsSingle"
state_topic: "shellies/shellyswitch25-BA8F88/input/1"
command_topic: "shellies/shellyswitch25-BA8F88/input/1/command"
payload_on: "1"
payload_off: "0"
retain: false
groups:
stairlights:
name: "stair lights"
entities:
- light.ns_lifx_stairs_top
- light.ns_lifxp_stairs_bot
Please enable debug logging for the LIFX integration and then post the logs for when this occurs. If it happens everyt night at exactly the same time, I would recommend checking the LIFX app to make sure you haven’t configured a Routine or Scene at that time.
downgraded to 2022.9.0 and the issue stopped. I don’t have any scenes or routines configured in the lifx app. I’m going to try upgrading in smaller intervals to see if I can pinpoint the breaking change
Nothing much has changed in the LIFX integration for a while, so I’m doubtful it’s the cause, but once you do find the culprit version, let us know.