ssieb / esphome_components

My collection of components for esphome
Other
198 stars 125 forks source link

`serial_csv` text and binary sensor #70

Open nagyrobi opened 7 months ago

nagyrobi commented 7 months ago

It would be good if the serial_csv component would support also text and binary sensors.

Reason: some fields of the csv line are not floats, but descriptive strings which could be imported as text sensors. Moreover, a template-like binary sensor for a field could be comparing the value in a lambda to return binary true/false.

Also would be nice if value delimiter woul be configurable (in non-English areas csv's are delimited with ;)