Add config entry for Met.no (#24608)
* Add config entry for Met.no * Fixed tests
This commit is contained in:
1 parent
f382be4c15
commit
a89c8eeabe
9 files changed
+298
-4
No files matched your search
@@ -0,0 +1,14 @@
|
||||
"""Constants for Met component."""
|
||||
import logging
|
||||
|
||||
from homeassistant.components.weather import DOMAIN as WEATHER_DOMAIN
|
||||
|
||||
DOMAIN = 'met'
|
||||
|
||||
HOME_LOCATION_NAME = 'Home'
|
||||
|
||||
ENTITY_ID_SENSOR_FORMAT = WEATHER_DOMAIN + ".met_{}"
|
||||
ENTITY_ID_SENSOR_FORMAT_HOME = ENTITY_ID_SENSOR_FORMAT.format(
|
||||
HOME_LOCATION_NAME)
|
||||
|
||||
_LOGGER = logging.getLogger('.')
|
||||
Reference in new issue
Block a user