Remove WebOS TV client wrapper (#86001)

This commit is contained in:
Shay Levy 2023-01-16 13:03:57 +02:00 committed by GitHub
parent 2b037efee2
commit dd18708b63
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 27 additions and 48 deletions

View file

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