CSE7766 needs even parity (#7549)

This commit is contained in:
Samuel Sieb 2024-10-06 12:49:52 -07:00 committed by GitHub
parent b3cff566eb
commit 6a8e88b1cc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
7 changed files with 7 additions and 1 deletions

View File

@ -79,7 +79,7 @@ CONFIG_SCHEMA = cv.Schema(
}
).extend(uart.UART_DEVICE_SCHEMA)
FINAL_VALIDATE_SCHEMA = uart.final_validate_device_schema(
"cse7766", baud_rate=4800, require_rx=True
"cse7766", baud_rate=4800, parity="EVEN", require_rx=True
)

View File

@ -5,6 +5,7 @@ uart:
rx_pin:
number: 16
baud_rate: 4800
parity: EVEN
sensor:
- platform: cse7766

View File

@ -5,6 +5,7 @@ uart:
rx_pin:
number: 5
baud_rate: 4800
parity: EVEN
sensor:
- platform: cse7766

View File

@ -5,6 +5,7 @@ uart:
rx_pin:
number: 5
baud_rate: 4800
parity: EVEN
sensor:
- platform: cse7766

View File

@ -5,6 +5,7 @@ uart:
rx_pin:
number: 16
baud_rate: 4800
parity: EVEN
sensor:
- platform: cse7766

View File

@ -5,6 +5,7 @@ uart:
rx_pin:
number: 5
baud_rate: 4800
parity: EVEN
sensor:
- platform: cse7766

View File

@ -5,6 +5,7 @@ uart:
rx_pin:
number: 5
baud_rate: 4800
parity: EVEN
sensor:
- platform: cse7766