1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-11 14:23:47 +01:00
This commit is contained in:
J. Nick Koston
2025-10-09 13:21:02 -10:00
parent 7b3c97dcff
commit cc418a7156
2 changed files with 28 additions and 8 deletions

View File

@@ -5,9 +5,23 @@ substitutions:
receive_symbols: "4"
rmt_symbols: "64"
packages:
common: !include esp32-common.yaml
# Configuration is inlined instead of using !extend to make this component groupable.
# Using !extend prevents automatic component grouping in CI, requiring individual builds.
remote_receiver:
- id: !extend rcvr
- id: rcvr
pin: ${pin}
dump: all
tolerance: 25%
clock_resolution: ${clock_resolution}
filter_symbols: ${filter_symbols}
receive_symbols: ${receive_symbols}
rmt_symbols: ${rmt_symbols}
use_dma: "true"
<<: !include common-actions.yaml
binary_sensor:
- platform: remote_receiver
name: Panasonic Remote Input
panasonic:
address: 0x4004
command: 0x100BCBD

View File

@@ -3,9 +3,15 @@ substitutions:
clock_resolution: "2000000"
rmt_symbols: "64"
packages:
common: !include esp32-common.yaml
# Configuration is inlined instead of using !extend to make this component groupable.
# Using !extend prevents automatic component grouping in CI, requiring individual builds.
remote_transmitter:
- id: !extend xmitr
- id: xmitr
pin: ${pin}
carrier_duty_percent: 50%
clock_resolution: ${clock_resolution}
rmt_symbols: ${rmt_symbols}
use_dma: "true"
packages:
buttons: !include common-buttons.yaml