Add modbus sensor string data_type (#35269)

* modbus sensor: string data_type

Adds support for a string data_type. This allows the reading of holding registers that contain ascii string data

* Add modbus sensor string data_type #35269

Fingers crossed that I am putting these file in the correct location this time

* Delete const.py

* Delete sensor.py

* Add files via upload

* modbus sensor - add string support. Upload from local dev environment

* fix executable stauts

* fix flake8 failure
This commit is contained in:
Brad Keifer authored and GitHub committed 2020-05-08 11:30:05 +02:00
1 parent e696c08db0
commit 4663845ebc
3 files changed
+46 -9

No files matched your search

+1
View File
@@ -25,6 +25,7 @@ DATA_TYPE_CUSTOM = "custom"
DATA_TYPE_FLOAT = "float"
DATA_TYPE_INT = "int"
DATA_TYPE_UINT = "uint"
DATA_TYPE_STRING = "string"
# call types
CALL_TYPE_COIL = "coil"