Hello community,
I am completely new to the topic of Home Assistant. So if I’m forgetting any important information, please let me know.
For a few days now, I have had the problem that my Shelly switches trigger the automation for the light on their own. The Shelly 1 pm mini is running in detached mode and switches the light via the following automation:
alias: Smart light
description:
triggers:
- entity_id:
- binary_sensor.lichtschalter_eg_arbeitszimmer_input_0_input
trigger: state
conditions:
actions:
- binary_sensor.lichtschalter_eg_arbeitszimmer_input_0_input
- action: light.toggle
metadata: {}
data: {}
target:
entity_id: light.deckenleuchte_eg_arbeitszimmer
mode: single
The logbook shows that the Shelly is temporarily unavailable. After it is available again, the light switches.
My guess: The automation switches on every status change and not just on and off. Shortly before this happens, the router does a channel scan and sets the channels for the WLAN. So the Shelly briefly has no wifi and therefore switches the light?
How can this be avoided? Unfortunately I could not find a suitable entry.