core/homeassistant/components/upnp/const.py

13 lines
317 B
Python
Raw Normal View History

2018-08-17 19:28:29 +00:00
"""Constants for the IGD component."""
import logging
2018-09-01 19:20:15 +00:00
CONF_ENABLE_PORT_MAPPING = 'port_mapping'
2018-08-30 14:38:43 +00:00
CONF_ENABLE_SENSORS = 'sensors'
2018-09-07 22:11:23 +00:00
CONF_HASS = 'hass'
CONF_LOCAL_IP = 'local_ip'
CONF_PORTS = 'ports'
2018-09-17 20:08:09 +00:00
DOMAIN = 'upnp'
LOGGER = logging.getLogger('homeassistant.components.upnp')
SIGNAL_REMOVE_SENSOR = 'upnp_remove_sensor'