mirror of
https://github.com/dlitz/esphome-configs-dlitz.git
synced 2026-04-15 22:03:26 -06:00
Rename uart_0 to bl0942_uart_id to avoid confusing it with uart0 (since it probably uses uart1)
This commit is contained in:
@@ -90,7 +90,7 @@ light:
|
|||||||
sensor:
|
sensor:
|
||||||
- platform: bl0942
|
- platform: bl0942
|
||||||
id: bl0942_id
|
id: bl0942_id
|
||||||
uart_id: uart_0
|
uart_id: bl0942_uart_id
|
||||||
update_interval: ${update_interval}
|
update_interval: ${update_interval}
|
||||||
voltage_reference: ${calibration_voltage_reference}
|
voltage_reference: ${calibration_voltage_reference}
|
||||||
current_reference: ${calibration_current_reference}
|
current_reference: ${calibration_current_reference}
|
||||||
@@ -188,7 +188,7 @@ sensor:
|
|||||||
- component.update: reactive_power
|
- component.update: reactive_power
|
||||||
|
|
||||||
uart:
|
uart:
|
||||||
- id: uart_0
|
- id: bl0942_uart_id
|
||||||
tx_pin: GPIO6
|
tx_pin: GPIO6
|
||||||
rx_pin:
|
rx_pin:
|
||||||
number: GPIO7
|
number: GPIO7
|
||||||
|
|||||||
Reference in New Issue
Block a user