Remove WebOS TV client wrapper (#86001)
This commit is contained in:
parent
2b037efee2
commit
dd18708b63
6 changed files with 27 additions and 48 deletions
|
@ -16,7 +16,7 @@ from homeassistant.helpers.typing import ConfigType
|
|||
from . import trigger
|
||||
from .const import DOMAIN
|
||||
from .helpers import (
|
||||
async_get_client_wrapper_by_device_entry,
|
||||
async_get_client_by_device_entry,
|
||||
async_get_device_entry_by_device_id,
|
||||
)
|
||||
from .triggers.turn_on import (
|
||||
|
@ -43,7 +43,7 @@ async def async_validate_trigger_config(
|
|||
try:
|
||||
device = async_get_device_entry_by_device_id(hass, device_id)
|
||||
if DOMAIN in hass.data:
|
||||
async_get_client_wrapper_by_device_entry(hass, device)
|
||||
async_get_client_by_device_entry(hass, device)
|
||||
except ValueError as err:
|
||||
raise InvalidDeviceAutomationConfig(err) from err
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue