Clean up kira integration (#46292)
This commit is contained in:
parent
6015161dab
commit
1b61b5c10b
3 changed files with 5 additions and 5 deletions
|
@ -13,6 +13,7 @@ from homeassistant.const import (
|
|||
CONF_HOST,
|
||||
CONF_NAME,
|
||||
CONF_PORT,
|
||||
CONF_REPEAT,
|
||||
CONF_SENSORS,
|
||||
CONF_TYPE,
|
||||
EVENT_HOMEASSISTANT_STOP,
|
||||
|
@ -28,7 +29,6 @@ _LOGGER = logging.getLogger(__name__)
|
|||
DEFAULT_HOST = "0.0.0.0"
|
||||
DEFAULT_PORT = 65432
|
||||
|
||||
CONF_REPEAT = "repeat"
|
||||
CONF_REMOTES = "remotes"
|
||||
CONF_SENSOR = "sensor"
|
||||
CONF_REMOTE = "remote"
|
||||
|
|
|
@ -6,12 +6,12 @@ from homeassistant.components import remote
|
|||
from homeassistant.const import CONF_DEVICE, CONF_NAME
|
||||
from homeassistant.helpers.entity import Entity
|
||||
|
||||
from . import CONF_REMOTE
|
||||
|
||||
DOMAIN = "kira"
|
||||
|
||||
_LOGGER = logging.getLogger(__name__)
|
||||
|
||||
CONF_REMOTE = "remote"
|
||||
|
||||
|
||||
def setup_platform(hass, config, add_entities, discovery_info=None):
|
||||
"""Set up the Kira platform."""
|
||||
|
|
|
@ -4,14 +4,14 @@ import logging
|
|||
from homeassistant.const import CONF_DEVICE, CONF_NAME, STATE_UNKNOWN
|
||||
from homeassistant.helpers.entity import Entity
|
||||
|
||||
from . import CONF_SENSOR
|
||||
|
||||
DOMAIN = "kira"
|
||||
|
||||
_LOGGER = logging.getLogger(__name__)
|
||||
|
||||
ICON = "mdi:remote"
|
||||
|
||||
CONF_SENSOR = "sensor"
|
||||
|
||||
|
||||
def setup_platform(hass, config, add_entities, discovery_info=None):
|
||||
"""Set up a Kira sensor."""
|
||||
|
|
Loading…
Add table
Reference in a new issue