Clean startup of modbus by moving service schemas (#57763)
This commit is contained in:
parent
fb5d117df4
commit
42803e6ac0
3 changed files with 31 additions and 56 deletions
|
@ -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."""
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue