I have a light which is controlled by a zwave dual nano switch. I use a toggle switch on a button card to switch it on or off. For some reason it requires two clicks to switch it on or off.
The code I’ve used in the button card configuration is:-
entity: switch.aeon_labs_zw132_dual_nano_switch_switch
name: Lounge back light
show_icon: true
show_name: true
tap_action:
action: toggle
type: button
This is the code the app created when I added the button. As I said, it switches the light on or off but requires two clicks each time. Not a major disaster but annoying.
Any ideas appreciated.