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

+1 -1
View File
@@ -7,6 +7,7 @@ from homeassistant.components.sensor import PLATFORM_SCHEMA
from homeassistant.const import (
ATTR_LATITUDE,
ATTR_LONGITUDE,
ATTR_MODE,
CONF_HOST,
CONF_PORT,
CONF_NAME,
@@ -19,7 +20,6 @@ _LOGGER = logging.getLogger(__name__)
ATTR_CLIMB = "climb"
ATTR_ELEVATION = "elevation"
ATTR_GPS_TIME = "gps_time"
ATTR_MODE = "mode"
ATTR_SPEED = "speed"
DEFAULT_HOST = "localhost"