When trying to trigger some code on a button click from an IR remote control with the remote_receiver component, it doesn't work with on_click condition.
It works with on_press condition but I'm unable to make it work with on_click or with on_double_click
It seems that min_length must be configured to less than the default value to make on_click work.
10ms seems to be a good value.
Still I'm unable to make on_double_click work, but it may be a normal behavior ?
The problem
When trying to trigger some code on a button click from an IR remote control with the
remote_receiver
component, it doesn't work withon_click
condition. It works withon_press
condition but I'm unable to make it work withon_click
or withon_double_click
Which version of ESPHome has the issue?
2023.12.5
What type of installation are you using?
pip
Which version of Home Assistant has the issue?
all
What platform are you using?
ESP32-IDF
Board
esp32doit-espduino
Component causing the issue
IR receiver
Example YAML snippet
Anything in the logs that might be useful for us?
No response
Additional information
In the YAML example, if you replace
on_click
withon_press
it will workConversation about this : https://community.home-assistant.io/t/detect-double-click-on-remote-receiver/715255