Oh... It's uart_id not just id

This commit is contained in:
Frank "PHiAX" Weggelaar 2026-01-28 00:04:41 +01:00
parent c39e6f310e
commit 0056ee2049

View file

@ -3,10 +3,6 @@ esp32:
framework: framework:
type: esp-idf type: esp-idf
i2c:
sda: GPIO8
scl: GPIO9
uart: uart:
- id: uart_mhz19 - id: uart_mhz19
rx_pin: GPIO21 rx_pin: GPIO21
@ -16,6 +12,10 @@ uart:
rx_pin: GPIO10 rx_pin: GPIO10
baud_rate: 9600 baud_rate: 9600
i2c:
sda: GPIO8
scl: GPIO9
sensor: sensor:
- platform: bme280_i2c - platform: bme280_i2c
temperature: temperature:
@ -33,9 +33,9 @@ sensor:
co2: co2:
name: "${friendly_devicename} Co2 Concentratie" name: "${friendly_devicename} Co2 Concentratie"
update_interval: 60s update_interval: 60s
id: uart_mhz19 uart_id: uart_mhz19
- platform: pm1006 - platform: pm1006
id: uart_pm1006 uart_id: uart_pm1006
pm_2_5: pm_2_5:
name: "${friendly_devicename} 2.5µm Concentratie" name: "${friendly_devicename} 2.5µm Concentratie"
id: pm25 id: pm25