Hey there! I have a 3 double wall switches and one single switch.
And I`m using now automations like this:
trigger:
- platform: state
entity_id: switch.wall_switch_right_158d0001f4c142
to: 'on'
action:
- service: light.toggle
entity_id: light.light_switch_room_lamp
At dev-state I have ‘switch.wall_switch_left_xxx’ and ‘switch.wall_switch_right_xxx’, but never have ‘binary_sensor.wall_switch_xxx’. So, I can`t use single or double click.
How I can find that sensors? Or I need add some component?
Not out the box.
That doesn’t mean you couldn’t create an automation that triggers when its turned on/off then waits to see if the state is still the same a second or two later, which would give you a double click. Although that’s going to cause the lights connected to the switch to flash and probably reduce the life of the switch itself.