This commit is contained in:
2024-12-27 11:35:43 +01:00
parent e04fd29b1d
commit 1d31a8b63f
2 changed files with 31 additions and 9 deletions

21
README.md Normal file
View File

@@ -0,0 +1,21 @@
# A component that reads CSV values from the uart.
A configured uart is required.
Configure a list of sensors. The index is required, the rest is the standard sensor config.
Example:
```yaml
sensor:
- platform: serial_csv
uart_id: my_uart # optional
sensors:
- index: 0
name: First value
- index: 3
name: Fourth value
```
https://github.com/ssieb/esphome_components/tree/master/components/serial_csv
https://github.com/esphome/esphome/blob/dev/esphome/components/dht/sensor.py#L34