Use core constants for modbus (#46388)

This commit is contained in:
tkdrob
2021-02-11 07:58:16 -05:00
committed by GitHub
parent b85ecc0bd2
commit c75e63dc95
9 changed files with 5 additions and 17 deletions

View File

@@ -13,7 +13,6 @@ CONF_REVERSE_ORDER = "reverse_order"
CONF_SCALE = "scale"
CONF_COUNT = "count"
CONF_PRECISION = "precision"
CONF_OFFSET = "offset"
CONF_COILS = "coils"
# integration names
@@ -51,7 +50,6 @@ DEFAULT_SCAN_INTERVAL = 15 # seconds
# binary_sensor.py
CONF_INPUTS = "inputs"
CONF_INPUT_TYPE = "input_type"
CONF_ADDRESS = "address"
# sensor.py
# CONF_DATA_TYPE = "data_type"