Clean up constants (#46924)

* Clean up constants

* fix imports
This commit is contained in:
tkdrob
2021-02-23 03:56:44 -05:00
committed by GitHub
parent 08889a9819
commit 4fdb617e22
25 changed files with 31 additions and 37 deletions

View File

@@ -1,4 +1,5 @@
"""Provides the constants needed for component."""
from homeassistant.const import ATTR_MODE # noqa: F401 pylint: disable=unused-import
MODE_NORMAL = "normal"
MODE_ECO = "eco"
@@ -10,7 +11,6 @@ MODE_SLEEP = "sleep"
MODE_AUTO = "auto"
MODE_BABY = "baby"
ATTR_MODE = "mode"
ATTR_AVAILABLE_MODES = "available_modes"
ATTR_HUMIDITY = "humidity"
ATTR_MAX_HUMIDITY = "max_humidity"