mirror of
https://github.com/esphome/esphome.git
synced 2024-11-10 09:17:46 +01:00
19 lines
385 B
YAML
19 lines
385 B
YAML
|
remote_receiver:
|
||
|
id: rcvr
|
||
|
pin: ${pin}
|
||
|
rmt_channel: ${rmt_channel}
|
||
|
dump: all
|
||
|
on_coolix:
|
||
|
then:
|
||
|
delay: !lambda "return x.first + x.second;"
|
||
|
on_rc_switch:
|
||
|
then:
|
||
|
delay: !lambda "return uint32_t(x.code) + x.protocol;"
|
||
|
|
||
|
binary_sensor:
|
||
|
- platform: remote_receiver
|
||
|
name: Panasonic Remote Input
|
||
|
panasonic:
|
||
|
address: 0x4004
|
||
|
command: 0x100BCBD
|