mirror of
https://github.com/esphome/esphome.git
synced 2025-10-11 14:23:47 +01:00
adjust
This commit is contained in:
@@ -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
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user