mirror of
https://github.com/esphome/esphome.git
synced 2026-10-06 10:56:43 +00:00
Fix seeed_mr24hpc1 compilation on ESP8266 by adding USE_SELECT guards
Co-authored-by: jesserockz <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
co-authored by
jesserockz
parent
47714a1745
commit
d91eed1411
@@ -0,0 +1,28 @@
|
||||
uart:
|
||||
- id: seeed_mr24hpc1_uart
|
||||
tx_pin: ${uart_tx_pin}
|
||||
rx_pin: ${uart_rx_pin}
|
||||
baud_rate: 115200
|
||||
parity: NONE
|
||||
stop_bits: 1
|
||||
|
||||
seeed_mr24hpc1:
|
||||
id: my_seeed_mr24hpc1
|
||||
uart_id: seeed_mr24hpc1_uart
|
||||
|
||||
sensor:
|
||||
- platform: seeed_mr24hpc1
|
||||
custom_presence_of_detection:
|
||||
name: "Static Distance"
|
||||
|
||||
binary_sensor:
|
||||
- platform: seeed_mr24hpc1
|
||||
has_target:
|
||||
name: "Presence Information"
|
||||
|
||||
text_sensor:
|
||||
- platform: seeed_mr24hpc1
|
||||
heart_beat:
|
||||
name: "Heartbeat"
|
||||
|
||||
# Note: NO select components included - this should work without compilation errors
|
||||
@@ -0,0 +1,5 @@
|
||||
substitutions:
|
||||
uart_tx_pin: GPIO1
|
||||
uart_rx_pin: GPIO3
|
||||
|
||||
<<: !include common_no_select.yaml
|
||||
@@ -0,0 +1,5 @@
|
||||
substitutions:
|
||||
uart_tx_pin: GPIO1
|
||||
uart_rx_pin: GPIO3
|
||||
|
||||
<<: !include common.yaml
|
||||
Reference in New Issue
Block a user