move ATTR_MODE to homeassistant.const (#27118)

This commit is contained in:
Kevin Eifinger authored and Paulus Schoutsen committed 2019-10-02 09:33:47 -07:00
1 parent c78b3a4439
commit 04ead6f273
17 files changed
+35 -24

No files matched your search

@@ -7,6 +7,7 @@ import homeassistant.helpers.config_validation as cv
from homeassistant.helpers.config_validation import ENTITY_SERVICE_SCHEMA
from homeassistant.const import (
ATTR_UNIT_OF_MEASUREMENT,
ATTR_MODE,
CONF_ICON,
CONF_NAME,
CONF_MODE,
@@ -30,7 +31,6 @@ ATTR_VALUE = "value"
ATTR_MIN = "min"
ATTR_MAX = "max"
ATTR_PATTERN = "pattern"
ATTR_MODE = "mode"
SERVICE_SET_VALUE = "set_value"