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

@@ -15,6 +15,7 @@ from homeassistant.components.climate.const import (
from homeassistant.const import (
ATTR_TEMPERATURE,
CONF_NAME,
CONF_OFFSET,
CONF_SCAN_INTERVAL,
CONF_SLAVE,
CONF_STRUCTURE,
@@ -39,7 +40,6 @@ from .const import (
CONF_DATA_TYPE,
CONF_MAX_TEMP,
CONF_MIN_TEMP,
CONF_OFFSET,
CONF_PRECISION,
CONF_SCALE,
CONF_STEP,
@@ -146,7 +146,6 @@ class ModbusThermostat(ClimateEntity):
False if entity pushes its state to HA.
"""
# Handle polling directly in this entity
return False