Update service domain for harmony from 'remote' to 'harmony' (#29146)

* move harmoney services to harmony domain

* update service names
This commit is contained in:
Raman Gupta 2019-11-27 12:14:46 -05:00 committed by Pascal Vizeli
parent d577868190
commit b274fcba05
5 changed files with 23 additions and 23 deletions

View file

@ -19,7 +19,6 @@ from homeassistant.components.remote import (
ATTR_HOLD_SECS,
ATTR_NUM_REPEATS,
DEFAULT_DELAY_SECS,
DOMAIN,
PLATFORM_SCHEMA,
)
from homeassistant.const import (
@ -33,6 +32,8 @@ from homeassistant.exceptions import PlatformNotReady
import homeassistant.helpers.config_validation as cv
from homeassistant.util import slugify
from .const import DOMAIN, SERVICE_CHANGE_CHANNEL, SERVICE_SYNC
_LOGGER = logging.getLogger(__name__)
ATTR_CHANNEL = "channel"
@ -42,9 +43,6 @@ DEFAULT_PORT = 8088
DEVICES = []
CONF_DEVICE_CACHE = "harmony_device_cache"
SERVICE_SYNC = "harmony_sync"
SERVICE_CHANGE_CHANNEL = "harmony_change_channel"
PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend(
{
vol.Optional(ATTR_ACTIVITY): cv.string,