mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-24 09:46:59 +00:00
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
@ -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…
x
Reference in New Issue
Block a user