Hey! So I have the following automation:
alias: Lights off when Lesko charging
description: ""
trigger:
- platform: state
entity_id:
- sensor.lesko_phone_charger_type
to: wireless
for:
hours: 0
minutes: 0
seconds: 0
from: none
condition: []
action:
- metadata: {}
data:
transition: 3
target:
floor_id:
- downstairs
- main_floor
entity_id: light.light_led_backyard_light
action: light.turn_off
mode: single
which works great.
Except when phone stops charging due to being fully charged and half an hour later starts charging again e.g.: charger_type goes from unknown
back to wireless
. This is when unrelated lights (lights not used in this automation) come on, usually at 1% brightness.
In the logs there is only light_pantry Turned on
, nothing about who turned it on.
I confirmed it is this automation causing issues by disabling it. After it was disabled no ‘phantom’ light got turned on again.
I had similar problem with bridge integration - installed on windows PC and integration added to HA, nothing setup yet. It caused lights to turn on, seemingly at random. And the same as with phone automation, problems went away after disabling bridge integration.
Any ideas why or how? Thanks!