Serial sensor (#3926)
* sensor serial correction + Fixes configuration mismatch (serial_port) + adds option (baudrate) * Minimize config sample and fix description
This commit is contained in:
parent
c9e1a09d8c
commit
6158057ec1
1 changed files with 7 additions and 2 deletions
|
@ -27,11 +27,11 @@ To setup a serial sensor to your installation, add the following to your `config
|
|||
# Example configuration.yaml entry
|
||||
sensor:
|
||||
- platform: serial
|
||||
port: /dev/ttyACM0
|
||||
serial_port: /dev/ttyACM0
|
||||
```
|
||||
|
||||
{% configuration %}
|
||||
port:
|
||||
serial_port:
|
||||
description: Local serial port where the sensor is connected and access is granted.
|
||||
required: true
|
||||
type: string
|
||||
|
@ -39,6 +39,11 @@ sensor:
|
|||
description: Friendly name to use for the frontend. Default to "Serial sensor".
|
||||
required: false
|
||||
type: string
|
||||
baudrate:
|
||||
description: Baudrate of the serial port.
|
||||
required: false
|
||||
default: 9600 Bps
|
||||
type: int
|
||||
{% endconfiguration %}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue