Hello!
I need help again, I’m slowly unwinding!
I made an “IR receiver” with esp32, it is working and reading the remote control codes.
What I need, when I press the on key on the control, which has the “data” 0x20DF10EF, it turns on a switch in the home assistant, or at least updates the sensor state to “on”, which is not happening
I’ve already read the documentation at “Remote Receiver — ESPHome” and read some topics on this forum, but I couldn’t replicate the codes there.
Follow the esp32 code as it is.
remote_receiver:
pin:
number: 13
inverted: true
mode: input_pullup
dump: lg
binary_sensor:
- platform: remote_receiver
name: "Input On"
id: botao_liga
filters:
- delayed_off: 1s
lg:
data: 0x20DF10EF
Thanks everyone again!