Skip to content

Error: 0103 - {'data': '', 'voiceData': None} #868

Open
@erkr

Description

Describe the bug
I noticed a intermittent error while setting the HVAC mode of my LG airco: 0103 - {'data': '', 'voiceData': None}

Expected behavior
I couldn't reproduce the error. This is the trace of the command that failed one time:

Executed: January 30, 2025 at 08:44:23
Error: 0103 - {'data': '', 'voiceData': None}
Result:
params:
  domain: climate
  service: set_hvac_mode
  service_data:
    hvac_mode: heat
    entity_id:
      - climate.keuken_airco
  target:
    entity_id:
      - climate.keuken_airco

Screenshots
If applicable, add screenshots to help explain your problem.

Environment details:

  • Environment (HASSIO, Raspbian, etc): HAOS
  • Home Assistant version installed: 2025.1.4
  • Component version installed: v0.41.1
  • Last know working version: n/a
  • LG device type and model with issue: RAC_056905_WW-RAC (AC)
  • LG devices connected (list): 3 times this device

Output of HA logs
Paste the relavant output of the HA log here.

Logger: homeassistant.components.script.set_airco_on
Source: helpers/script.py:526
integration: Script (documentation, issues)
First occurred: 08:44:23 (1 occurrences)
Last logged: 08:44:23

set airco on: Error executing script. Unexpected error for call_service at pos 2: 0103 - {'data': '', 'voiceData': None}
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 526, in _async_step
    await getattr(self, handler)()
  File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 764, in _async_call_service_step
    response_data = await self._async_run_long_action(
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<9 lines>...
    )
    ^
  File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 727, in _async_run_long_action
    return await long_task
           ^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/core.py", line 2795, in async_call
    response_data = await coro
                    ^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/core.py", line 2838, in _execute_service
    return await target(service_call)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 1006, 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 1078, in _handle_entity_call
    result = await task
             ^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/climate/__init__.py", line 677, in async_handle_set_hvac_mode_service
    await self.async_set_hvac_mode(hvac_mode)
  File "/config/custom_components/smartthinq_sensors/climate.py", line 314, in async_set_hvac_mode
    await self._device.set_op_mode(operation_mode)
  File "/config/custom_components/smartthinq_sensors/wideq/devices/ac.py", line 688, in set_op_mode
    await self.set(keys[0], keys[1], key=keys[2], value=mode_value)
  File "/config/custom_components/smartthinq_sensors/wideq/devices/ac.py", line 892, in set
    await super().set(
        ctrl_key, command, key=key, value=value, data=data, ctrl_path=ctrl_path
    )
  File "/config/custom_components/smartthinq_sensors/wideq/device.py", line 591, in set
    await self._set_control(
        ctrl_key, command, key=key, value=value, data=data, ctrl_path=ctrl_path
    )
  File "/config/custom_components/smartthinq_sensors/wideq/device.py", line 552, in _set_control
    await self._client.session.device_v2_controls(
    ...<6 lines>...
    )
  File "/config/custom_components/smartthinq_sensors/wideq/core_async.py", line 1330, in device_v2_controls
    res = await self.post2(cmd_path, payload)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/smartthinq_sensors/wideq/core_async.py", line 1087, in post2
    return await self._auth.gateway.core.lgedm2_post(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<5 lines>...
    )
    ^
  File "/config/custom_components/smartthinq_sensors/wideq/core_async.py", line 401, in lgedm2_post
    return self._manage_lge_result(out, is_api_v2)
           ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
  File "/config/custom_components/smartthinq_sensors/wideq/core_async.py", line 414, in _manage_lge_result
    raise exc.APIError(message, code)
custom_components.smartthinq_sensors.wideq.core_exceptions.APIError: 0103 - {'data': '', 'voiceData': None}

Additional context
Add any other context about the problem here.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions