Rename uart0 to uart_0 (#111)

This commit is contained in:
Sebastian Muszynski 2023-05-02 14:14:37 +02:00 committed by GitHub
parent 6b2b50f2ab
commit 50f87a1649
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
10 changed files with 23 additions and 22 deletions

View File

@ -127,8 +127,10 @@ jobs:
git commit -a -m "Add external component"
working-directory: ${{ env.esphome_directory }}
- name: Add missing requirements
run: pip3 install setuptools wheel
- name: Set up python environment
run: script/setup
run: VIRTUAL_ENV=false script/setup
working-directory: ${{ env.esphome_directory }}
- name: Register problem matchers

View File

@ -65,7 +65,7 @@ external_components:
- source: github://KinDR007/VictronMPPT-ESPHOME@main
uart:
id: uart0
id: uart_0
tx_pin: D8 # Not used! The communication is read-only
rx_pin: D7
baud_rate: 19200
@ -73,7 +73,7 @@ uart:
victron:
id: victron0
uart_id: uart0
uart_id: uart_0
sensor:
- platform: victron

View File

@ -11,7 +11,6 @@ esp32:
board: wemos_d1_mini32
framework:
type: esp-idf
version: latest
external_components:
- source: ${external_components_source}
@ -26,7 +25,7 @@ api:
logger:
uart:
id: uart0
id: uart_0
baud_rate: 19200
tx_pin: ${tx_pin}
rx_pin: ${rx_pin}
@ -39,7 +38,7 @@ uart:
- lambda: UARTDebug::log_string(direction, bytes);
victron:
uart_id: uart0
uart_id: uart_0
id: victron0
throttle: 10s

View File

@ -25,7 +25,7 @@ logger:
esp8266_store_log_strings_in_flash: false
uart:
id: uart0
id: uart_0
baud_rate: 19200
tx_pin: ${tx_pin}
rx_pin: ${rx_pin}
@ -38,7 +38,7 @@ uart:
- lambda: UARTDebug::log_string(direction, bytes);
victron:
uart_id: uart0
uart_id: uart_0
id: victron0
throttle: 10s

View File

@ -29,14 +29,14 @@ mqtt:
id: mqtt_client
uart:
id: uart0
id: uart_0
tx_pin: D8 # Not connected! The communication is read-only
rx_pin: D7 # Connect this this GPIO and GND to the MPPT charger
baud_rate: 19200
rx_buffer_size: 256
victron:
uart_id: uart0
uart_id: uart_0
id: victron0
throttle: 10s

View File

@ -29,14 +29,14 @@ mqtt:
id: mqtt_client
uart:
id: uart0
id: uart_0
tx_pin: D8 # Not connected! The communication is read-only
rx_pin: D7 # Connect this this GPIO and GND to the MPPT charger
baud_rate: 19200
rx_buffer_size: 256
victron:
uart_id: uart0
uart_id: uart_0
id: victron0
throttle: 10s

View File

@ -29,14 +29,14 @@ mqtt:
id: mqtt_client
uart:
id: uart0
id: uart_0
tx_pin: D8 # Not connected! The communication is read-only
rx_pin: D7 # Connect this this GPIO and GND to the MPPT charger
baud_rate: 19200
rx_buffer_size: 256
victron:
uart_id: uart0
uart_id: uart_0
id: victron0
throttle: 10s

View File

@ -29,14 +29,14 @@ mqtt:
id: mqtt_client
uart:
id: uart0
id: uart_0
tx_pin: D8 # Not connected! The communication is read-only
rx_pin: D7 # Connect this this GPIO and GND to the MPPT charger
baud_rate: 19200
rx_buffer_size: 256
victron:
uart_id: uart0
uart_id: uart_0
id: victron0
throttle: 10s

View File

@ -31,12 +31,12 @@ mqtt:
id: mqtt_client
uart:
- id: uart0
- id: uart_0
tx_pin: D8 # Not connected! The communication is read-only
rx_pin: D7 # Connect this this GPIO and GND to the first MPPT charger
baud_rate: 19200
rx_buffer_size: 256
- id: uart1
- id: uart_1
tx_pin: D6 # Not connected! The communication is read-only
rx_pin: D5 # Connect this this GPIO and GND to the second MPPT charger
baud_rate: 19200
@ -44,10 +44,10 @@ uart:
victron:
- id: victron0
uart_id: uart0
uart_id: uart_0
throttle: 10s
- id: victron1
uart_id: uart1
uart_id: uart_1
throttle: 10s
sensor:

View File

@ -29,14 +29,14 @@ mqtt:
id: mqtt_client
uart:
id: uart0
id: uart_0
tx_pin: D8 # Not connected! The communication is read-only
rx_pin: D7 # Connect this this GPIO and GND to the MPPT charger
baud_rate: 19200
rx_buffer_size: 256
victron:
uart_id: uart0
uart_id: uart_0
id: victron0
throttle: 10s