Fix upnp logger name (#23724)

* Fix upnp logger name

* Fix more loggers
This commit is contained in:
Steven Looman 2019-05-08 00:52:49 +02:00 committed by Paulus Schoutsen
parent 7181d639fd
commit 6e7a7ba4a0
7 changed files with 7 additions and 7 deletions

View file

@ -1,7 +1,7 @@
"""Constants for the Axis component."""
import logging
LOGGER = logging.getLogger('homeassistant.components.axis')
LOGGER = logging.getLogger(__package__)
DOMAIN = 'axis'

View file

@ -5,7 +5,7 @@ from homeassistant.const import (
EVENT_HOMEASSISTANT_START, EVENT_HOMEASSISTANT_STOP)
from homeassistant.core import CoreState, EventOrigin
LOGGER = logging.getLogger('.')
LOGGER = logging.getLogger(__package__)
EVENT_ROKU_COMMAND = 'roku_command'

View file

@ -1,6 +1,6 @@
"""Constants for the Hue component."""
import logging
LOGGER = logging.getLogger('.')
LOGGER = logging.getLogger(__package__)
DOMAIN = "hue"
API_NUPNP = 'https://www.meethue.com/api/nupnp'

View file

@ -2,7 +2,7 @@
from datetime import timedelta
import logging
LOGGER = logging.getLogger('.')
LOGGER = logging.getLogger(__package__)
DOMAIN = 'rainmachine'

View file

@ -13,4 +13,4 @@ ENTITY_ID_SENSOR_FORMAT = WEATHER_DOMAIN + ".smhi_{}"
ENTITY_ID_SENSOR_FORMAT_HOME = ENTITY_ID_SENSOR_FORMAT.format(
HOME_LOCATION_NAME)
LOGGER = logging.getLogger('.')
LOGGER = logging.getLogger(__package__)

View file

@ -1,7 +1,7 @@
"""Constants for the UniFi component."""
import logging
LOGGER = logging.getLogger('.')
LOGGER = logging.getLogger(__package__)
DOMAIN = 'unifi'
CONTROLLER_ID = '{host}-{site}'

View file

@ -7,5 +7,5 @@ CONF_HASS = 'hass'
CONF_LOCAL_IP = 'local_ip'
CONF_PORTS = 'ports'
DOMAIN = 'upnp'
LOGGER = logging.getLogger('.')
LOGGER = logging.getLogger(__package__)
SIGNAL_REMOVE_SENSOR = 'upnp_remove_sensor'