mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-09 18:36:51 +00:00
Update Serial sensor platform : Add full options (#13221)
* Add full options to serial Add : bytesize, parity, stopbits, xonxoff, rtscts, dsrdtr. With default value unchanged so it doesn't break previous config. * Update source/_integrations/serial.markdown Co-Authored-By: Klaas Schoute <klaas_schoute@hotmail.com> * Update source/_integrations/serial.markdown Co-Authored-By: Klaas Schoute <klaas_schoute@hotmail.com> * Update source/_integrations/serial.markdown Co-Authored-By: Klaas Schoute <klaas_schoute@hotmail.com> * Update source/_integrations/serial.markdown Co-Authored-By: Klaas Schoute <klaas_schoute@hotmail.com> * Update source/_integrations/serial.markdown Co-Authored-By: Klaas Schoute <klaas_schoute@hotmail.com> * Fix parity String and Typo Fix Parity related example as correction you show me. Thx for review Co-authored-by: Klaas Schoute <klaas_schoute@hotmail.com>
This commit is contained in:
parent
6400d9ddbf
commit
68e773edb3
@ -43,6 +43,36 @@ baudrate:
|
|||||||
required: false
|
required: false
|
||||||
default: 9600 Bps
|
default: 9600 Bps
|
||||||
type: integer
|
type: integer
|
||||||
|
bytesize:
|
||||||
|
description: "Number of data bits. Possible values: `5=FIVEBITS`, `6=SIXBITS`, `7=SEVENBITS`, `8=EIGHTBITS`."
|
||||||
|
required: false
|
||||||
|
default: 8
|
||||||
|
type: integer
|
||||||
|
parity:
|
||||||
|
description: "Enable parity checking. Possible values: `N=PARITY_NONE`, `E=PARITY_EVEN`, `O=PARITY_ODD`, `M=PARITY_MARK`, `S=PARITY_SPACE`."
|
||||||
|
required: false
|
||||||
|
default: "N"
|
||||||
|
type: string
|
||||||
|
stopbits:
|
||||||
|
description: "Number of stop bits. Possible values: `1=STOPBITS_ONE`, `1.5=STOPBITS_ONE_POINT_FIVE`, `2=STOPBITS_TWO`."
|
||||||
|
required: false
|
||||||
|
default: 1
|
||||||
|
type: float
|
||||||
|
xonxoff:
|
||||||
|
description: Enable software flow control.
|
||||||
|
required: false
|
||||||
|
default: False
|
||||||
|
type: boolean
|
||||||
|
rtscts:
|
||||||
|
description: Enable hardware (RTS/CTS) flow control.
|
||||||
|
required: false
|
||||||
|
default: False
|
||||||
|
type: boolean
|
||||||
|
dsrdtr:
|
||||||
|
description: Enable hardware (DSR/DTR) flow control.
|
||||||
|
required: false
|
||||||
|
default: False
|
||||||
|
type: boolean
|
||||||
value_template:
|
value_template:
|
||||||
description: "Defines a [template](/docs/configuration/templating/#processing-incoming-data) to extract a value from the serial line."
|
description: "Defines a [template](/docs/configuration/templating/#processing-incoming-data) to extract a value from the serial line."
|
||||||
required: false
|
required: false
|
||||||
|
Loading…
x
Reference in New Issue
Block a user