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:
copilot-swe-agent[bot]
2025-08-04 06:06:31 +00:00
co-authored by jesserockz
parent 47714a1745
commit d91eed1411
4 changed files with 46 additions and 0 deletions
@@ -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