mirror of
https://github.com/esphome/esphome.git
synced 2024-12-24 22:44:54 +01:00
CSE7766 needs even parity (#7549)
This commit is contained in:
parent
b3cff566eb
commit
6a8e88b1cc
7 changed files with 7 additions and 1 deletions
|
@ -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
|
||||
)
|
||||
|
||||
|
||||
|
|
|
@ -5,6 +5,7 @@ uart:
|
|||
rx_pin:
|
||||
number: 16
|
||||
baud_rate: 4800
|
||||
parity: EVEN
|
||||
|
||||
sensor:
|
||||
- platform: cse7766
|
||||
|
|
|
@ -5,6 +5,7 @@ uart:
|
|||
rx_pin:
|
||||
number: 5
|
||||
baud_rate: 4800
|
||||
parity: EVEN
|
||||
|
||||
sensor:
|
||||
- platform: cse7766
|
||||
|
|
|
@ -5,6 +5,7 @@ uart:
|
|||
rx_pin:
|
||||
number: 5
|
||||
baud_rate: 4800
|
||||
parity: EVEN
|
||||
|
||||
sensor:
|
||||
- platform: cse7766
|
||||
|
|
|
@ -5,6 +5,7 @@ uart:
|
|||
rx_pin:
|
||||
number: 16
|
||||
baud_rate: 4800
|
||||
parity: EVEN
|
||||
|
||||
sensor:
|
||||
- platform: cse7766
|
||||
|
|
|
@ -5,6 +5,7 @@ uart:
|
|||
rx_pin:
|
||||
number: 5
|
||||
baud_rate: 4800
|
||||
parity: EVEN
|
||||
|
||||
sensor:
|
||||
- platform: cse7766
|
||||
|
|
|
@ -5,6 +5,7 @@ uart:
|
|||
rx_pin:
|
||||
number: 5
|
||||
baud_rate: 4800
|
||||
parity: EVEN
|
||||
|
||||
sensor:
|
||||
- platform: cse7766
|
||||
|
|
Loading…
Reference in a new issue