Does anything show up in the logbook? I’m having a hard time imaging that the rocker won’t process anything if the light is off unless it’s wired up weird? (I’m in the US, so my wiring might be a bit different than yours).
Ahhhhh… ok, now we’re getting somewhere. Try this:
alias: New automation
description: ""
trigger:
- platform: state
entity_id:
- sensor.switch_cave_action
attribute: action
to: single # I guess your version just uses single?
action:
- service: light.toggle
target:
entity_id: light.cave
data: {}
mode: single
Yeah, that leads me to believe that the wiring might be wrong. It almost feels like that hot wire is coming from the light rather than the load. TBH, I’m not sure So, when the light is off, if you look at Z2M, does it show the switch as available?
I have 6 of the US rockers (both neutral and non-neutral) and none of them work that way at all.
Uhhhh, nope. That doesn’t look right at all. That means that the last seen attribute isn’t setup. In Z2M, Settings (top bar), go to the Advanced tab and scroll down and set what I have in the screen shot. That will at least give you the last_seen attribute. You can also setup the Availability in the availability tab, but one thing at a time.
Once that is setup (I believe you have to restart Z2M for that setting), then we can troubleshoot why the switch doesn’t respond when the light is off (still boggles my mind).
If a no neutral switch only works when the light is on. it might be that you need a bypass cap/resistor across the bulb to allow more power thru to the switch.
“There are 4 lights”, so that shouldn’t be a problem, but I suspect something like that could be going on as well.
Before the current switches, I used wifi ones which required this capacitor. I assumed this was only the case for wifi switches. I will try installing it again see if it works. Thanks!
set it up and and now it shows up last seen. the switch is indeed offline when lights are off. I will try the capacitor see if it fixes it. thanks for help!
Please consider marking my post with the Solution tag. It will automatically place a check-mark next to the topic’s title which signals to other users that this topic has been resolved. This helps users find answers to similar questions.
I will definitively mark the post as solution. i just wanted to test it first, and I am not at home currently.
In the meantime do you think all the no neutral switches would require the capacitor? The old Wifi ones I had before, were not working at all without it, they kept flashing.
With the one use now, Aqara E1, it does work better without the capacitor. In relay mode it works normal. Only on decoupled more I have the issue explained.
Reason I am asking this is because Aqara has a better quality switch H1, which I was wondering if would also require the capacitor.
It depends on the resistance of the bulb and the specific switch power requirements. If the devices are in they do use a tiny amount of power but I have no idea how much, Other that that there is no downside to them being there that I know of.