Hello, i would like to use the aeha code received publishing on text_sensor for address and another text sensor for data, so i can use immediately the code to test and avoid the modification in YAML.
this is just one example
remote_receiver:
-
pin:
number: GPIO5
id: ir_ricevitore
inverted: true
mode:
input: true
pullup: true
dump: aeha
on_aeha:
then:
-
rtttl.play: ‘s:d=4,o=7,b=1000:32b4’
-
text_sensor.template.publish:
id: address
state: !lambda ‘char buffer [30];return data(data.address,buffer,16);’
-
I tried to write a lot of lambda but i receive always errors when compiling.
Thanks