See: https://esphome.io/components/remote_receiver.html
To be used with: https://esphome.io/components/remote_transmitter.html
remote_receiver:
pin:
number: 23
inverted: True
mode: INPUT_PULLUP
dump: lg
remote_transmitter:
pin: 22
carrier_duty_percent: 50%| Button | Data | nbits |
|---|---|---|
| Power | 0x20DF10EF | 32 |
| TvRad | 0x20DF0FF0 | 32 |
| Input | 0x20DFD02F | 32 |
| QMenu | 0x20DFC23D | 32 |
| Ratio | 0x20DF9E61 | 32 |
| Subttl | 0x20DF9C63 | 32 |
| 1 | 0x20DF8877 | 32 |
| 2 | 0x20DF48B7 | 32 |
| 3 | 0x20DFC837 | 32 |
| 4 | 0x20DF28D7 | 32 |
| 5 | 0x20DFA857 | 32 |
| 6 | 0x20DF6897 | 32 |
| 7 | 0x20DFE817 | 32 |
| 8 | 0x20DF18E7 | 32 |
| 9 | 0x20DF9867 | 32 |
| Guide | 0x20DFD52A | 32 |
| 0 | 0x20DF08F7 | 32 |
| QView | 0x20DF58A7 | 32 |
| VolUp | 0x20DF40BF | 32 |
| VolDwn | 0x20DFC03F | 32 |
| Fav | 0x20DF7887 | 32 |
| Info | 0x20DF55AA | 32 |
| Mute | 0x20DF906F | 32 |
| ChUp | 0x20DF00FF | 32 |
| ChDwn | 0x20DF807F | 32 |
| App* | 0x20DFF906 | 32 |
| Home | 0x20DF3EC1 | 32 |
| MyApps | 0x20DF42BD | 32 |
| Text | 0x20DF04FB | 32 |
| TOpt | 0x20DF847B | 32 |
| Up | 0x20DF02FD | 32 |
| Down | 0x20DF827D | 32 |
| Left | 0x20DFE01F | 32 |
| Right | 0x20DF609F | 32 |
| OK | 0x20DF22DD | 32 |
| Back | 0x20DF14EB | 32 |
| Exit | 0x20DFDA25 | 32 |
| AD | 0x20DF8976 | 32 |
| List | 0x20DFCA35 | 32 |
| Stop | 0x20DF8D72 | 32 |
| Rew | 0x20DFF10E | 32 |
| Play | 0x20DF0DF2 | 32 |
| Pause | 0x20DF5DA2 | 32 |
| Fwd | 0x20DF718E | 32 |
| Red | 0x20DF4EB1 | 32 |
| Green | 0x20DF8E71 | 32 |
| Yellow | 0x20DFC639 | 32 |
| Blue | 0x20DF8679 | 32 |

Do you have any idea how i can get the data i recief to trigger a automation
i saw on the esphome website that its posible to make a binary sensor but whatever i try i don't get it to work
my config for the sensor looks like this:
i want the data "data:0x20DF40BF" to trigger a scene i made to turn up the volume, it would be awesome if you would't mind helping me