Fix upnp logger name (#23724)
* Fix upnp logger name * Fix more loggers
This commit is contained in:
parent
7181d639fd
commit
6e7a7ba4a0
7 changed files with 7 additions and 7 deletions
|
@ -1,7 +1,7 @@
|
||||||
"""Constants for the Axis component."""
|
"""Constants for the Axis component."""
|
||||||
import logging
|
import logging
|
||||||
|
|
||||||
LOGGER = logging.getLogger('homeassistant.components.axis')
|
LOGGER = logging.getLogger(__package__)
|
||||||
|
|
||||||
DOMAIN = 'axis'
|
DOMAIN = 'axis'
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@ from homeassistant.const import (
|
||||||
EVENT_HOMEASSISTANT_START, EVENT_HOMEASSISTANT_STOP)
|
EVENT_HOMEASSISTANT_START, EVENT_HOMEASSISTANT_STOP)
|
||||||
from homeassistant.core import CoreState, EventOrigin
|
from homeassistant.core import CoreState, EventOrigin
|
||||||
|
|
||||||
LOGGER = logging.getLogger('.')
|
LOGGER = logging.getLogger(__package__)
|
||||||
|
|
||||||
EVENT_ROKU_COMMAND = 'roku_command'
|
EVENT_ROKU_COMMAND = 'roku_command'
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
"""Constants for the Hue component."""
|
"""Constants for the Hue component."""
|
||||||
import logging
|
import logging
|
||||||
|
|
||||||
LOGGER = logging.getLogger('.')
|
LOGGER = logging.getLogger(__package__)
|
||||||
DOMAIN = "hue"
|
DOMAIN = "hue"
|
||||||
API_NUPNP = 'https://www.meethue.com/api/nupnp'
|
API_NUPNP = 'https://www.meethue.com/api/nupnp'
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
from datetime import timedelta
|
from datetime import timedelta
|
||||||
import logging
|
import logging
|
||||||
|
|
||||||
LOGGER = logging.getLogger('.')
|
LOGGER = logging.getLogger(__package__)
|
||||||
|
|
||||||
DOMAIN = 'rainmachine'
|
DOMAIN = 'rainmachine'
|
||||||
|
|
||||||
|
|
|
@ -13,4 +13,4 @@ ENTITY_ID_SENSOR_FORMAT = WEATHER_DOMAIN + ".smhi_{}"
|
||||||
ENTITY_ID_SENSOR_FORMAT_HOME = ENTITY_ID_SENSOR_FORMAT.format(
|
ENTITY_ID_SENSOR_FORMAT_HOME = ENTITY_ID_SENSOR_FORMAT.format(
|
||||||
HOME_LOCATION_NAME)
|
HOME_LOCATION_NAME)
|
||||||
|
|
||||||
LOGGER = logging.getLogger('.')
|
LOGGER = logging.getLogger(__package__)
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
"""Constants for the UniFi component."""
|
"""Constants for the UniFi component."""
|
||||||
import logging
|
import logging
|
||||||
|
|
||||||
LOGGER = logging.getLogger('.')
|
LOGGER = logging.getLogger(__package__)
|
||||||
DOMAIN = 'unifi'
|
DOMAIN = 'unifi'
|
||||||
|
|
||||||
CONTROLLER_ID = '{host}-{site}'
|
CONTROLLER_ID = '{host}-{site}'
|
||||||
|
|
|
@ -7,5 +7,5 @@ CONF_HASS = 'hass'
|
||||||
CONF_LOCAL_IP = 'local_ip'
|
CONF_LOCAL_IP = 'local_ip'
|
||||||
CONF_PORTS = 'ports'
|
CONF_PORTS = 'ports'
|
||||||
DOMAIN = 'upnp'
|
DOMAIN = 'upnp'
|
||||||
LOGGER = logging.getLogger('.')
|
LOGGER = logging.getLogger(__package__)
|
||||||
SIGNAL_REMOVE_SENSOR = 'upnp_remove_sensor'
|
SIGNAL_REMOVE_SENSOR = 'upnp_remove_sensor'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue