-
Notifications
You must be signed in to change notification settings - Fork 7
Description
Helllo
I already have a Broadlink IR Blaster registered in Home Assistant.
When you learn a command you always have to specify an device name (arbitrary) so that HA can support multiple IR targets.
However, when I import the Broadlink Remote into UC Remote 3 and I try to send a command, I cannot specify a device, hence on HA side there will be an exception that no device is provided (see below). Am I missing something? Or is this a bug?
Thanks
Logger: homeassistant.components.websocket_api.http.connection
Source: components/websocket_api/commands.py:258
integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 16:29:02 (5 occurrences)
Last logged: 16:37:09
[140365927853216] Unexpected exception
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 258, in handle_call_service
response = await hass.services.async_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...<7 lines>...
)
^
File "/usr/src/homeassistant/homeassistant/core.py", line 2799, in async_call
response_data = await coro
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 2842, in _execute_service
return await target(service_call)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 1011, in entity_service_call
single_response = await _handle_entity_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^
hass, entity, func, data, call.context
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 1083, in _handle_entity_call
result = await task
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/broadlink/remote.py", line 227, in async_send_command
code_list = self._extract_codes(commands, subdevice)
File "/usr/src/homeassistant/homeassistant/components/broadlink/remote.py", line 147, in _extract_codes
raise ValueError("You need to specify a device")
ValueError: You need to specify a device