Update service domain for harmony from 'remote' to 'harmony' (#29146)
* move harmoney services to harmony domain * update service names
This commit is contained in:
1 parent
d577868190
commit
b274fcba05
5 files changed
+23
-23
No files matched your search
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user