Hmm, dunno why but after debugging events in Home Assistant (dev tools, events, listen to ”deconz_event”) and not seeing any events for this particular button/switch I removed and te-synced it a couple of times… finally it works as intended. But many times it just registered in Phoscon, showed up in deconz/visible by vnc, but no events… not working when added as a switch to a group in Phoscon either…
Is it possible to set a delay fort short press.
From time to time it fires dubbel events, switch on and the switch off in a second.
Could se that someone did for the blueprint in zha.
Maybe 300ms delay.
@alundstroem
I’ve faced the same situation where adding the Shortcut button was successful, available in Phoscon and HA, but no triggered events would be detected through the Dev tools. By leaving it still for two hours in this state, it solved by itself and was then able to see triggered events! No need to re-sync it several times, being patient seems to be the key.