Clean startup of modbus by moving service schemas (#57763)

This commit is contained in:
jan iversen 2021-10-15 18:40:27 +02:00 committed by GitHub
parent fb5d117df4
commit 42803e6ac0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 31 additions and 56 deletions

View file

@ -69,6 +69,7 @@ SERIAL = "serial"
TCP = "tcp"
UDP = "udp"
# service call attributes
ATTR_ADDRESS = "address"
ATTR_HUB = "hub"
@ -78,7 +79,6 @@ ATTR_STATE = "state"
ATTR_TEMPERATURE = "temperature"
# data types
class DataType(str, Enum):
"""Data types used by sensor etc."""