Hello,
i try to control my LG TV with WebOS and did succesusfuy add to my HA. I can turn off, switch the channesl, contol volume, but i can not switch on.
I configure my TV to allow Mobile TV swictin on , but there is only “Alllow siwtch on by WiFi” , my TV is wire connected.
Here is my config
wake_on_lan:
# Example configuration.yaml entry
webostv:
host: 192.168.1.12
name: LG Спалня
turn_on_action:
service: wake_on_lan.send_magic_packet
data:
mac: A8:23:FE:8A:21:90
broadcast_address: 192.168.1.255
broadcast_port: 9
message: "Turn on action"
customize:
sources:
- livetv
- youtube
- makotv
- netflix
media_player:
notify:
and when i try to switch on have a error
extra keys not allowed @ data['message']
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 125, in handle_call_service
await hass.services.async_call(
File "/usr/src/homeassistant/homeassistant/core.py", line 1281, in async_call
task.result()
File "/usr/src/homeassistant/homeassistant/core.py", line 1316, in _execute_service
await handler.func(service_call)
File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 208, in handle_service
await self.hass.helpers.service.entity_service_call(
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 454, in entity_service_call
future.result() # pop exception if have
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 595, in async_request_call
await coro
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 485, in _handle_entity_call
await result
File "/usr/src/homeassistant/homeassistant/components/webostv/media_player.py", line 331, in async_turn_on
await self._on_script.async_run()
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 790, in async_run
await asyncio.shield(run.async_run())
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 185, in async_run
await self._async_step(log_exceptions=False)
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 193, in _async_step
await getattr(
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 382, in _async_call_service_step
await service_task
File "/usr/src/homeassistant/homeassistant/core.py", line 1235, in async_call
processed_data = handler.schema(service_data)
File "/usr/local/lib/python3.8/site-packages/voluptuous/schema_builder.py", line 272, in __call__
return self._compiled([], data)
File "/usr/local/lib/python3.8/site-packages/voluptuous/schema_builder.py", line 594, in validate_dict
return base_validate(path, iteritems(data), out)
File "/usr/local/lib/python3.8/site-packages/voluptuous/schema_builder.py", line 432, in validate_mapping
raise er.MultipleInvalid(errors)
voluptuous.error.MultipleInvalid: extra keys not allowed @ data['message']