Clean up kira integration (#46292)

This commit is contained in:
tkdrob 2021-02-11 05:04:11 -05:00 committed by GitHub
parent 6015161dab
commit 1b61b5c10b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 5 deletions

View file

@ -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"

View file

@ -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."""

View file

@ -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."""