ha-smartthinq-sensors: Error on Remote Start for Dryer (but Washer working great)

Describe the bug Pressing the Remote Start button on RC9084_WIFI-Dryer (DRYER) gives error “Unexpected error for call_service at pos 3: Expecting property name enclosed in double quotes: line 1 column 9 (char 8)”.

All other sensors work, Power control works. The Remote Start from the LG ThinQ app works.

I also have a APWS-FL (WASHER) - all controls and sensors work with this washer from the Home Assistant installation.

TIA

Expected behavior The Dryer should start on the button press

Screenshots N/A

Environment details:

  • Environment (HASSIO, Raspbian, etc): “home_assistant”: { “installation_type”: “Home Assistant Supervised”, “version”: “2023.10.1”, “dev”: false, “hassio”: true, “virtualenv”: false, “python_version”: “3.11.5”, “docker”: true, “arch”: “x86_64”, “timezone”: “Pacific/Auckland”, “os_name”: “Linux”, “os_version”: “5.10.0-25-amd64”, “supervisor”: “2023.10.0”, “host_os”: “Debian GNU/Linux 11 (bullseye)”, “docker_version”: “24.0.6”, “chassis”: “laptop”,

  • Home Assistant version installed: Home Assistant 2023.10.1 Supervisor 2023.10.0 Frontend 20231005.0 - latest

  • Component version installed: “smartthinq_sensors”: { “version”: “0.33.3”, “requirements”: [ “pycountry>=20.7.3”, “xmltodict>=0.12.0”, “charset_normalizer>=2.0.0”

  • Last know working version: N/A

  • LG device type and model with issue: Dryer Model: TD-H901MW

  • LG devices connected (list): Dryer Model: TD-H901MW Washer Model: WD1411SBW

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

Logger: homeassistant.components.script.dryer_remote_start Source: helpers/script.py:468 Integration: Script (documentation, issues) First occurred: October 10, 2023 at 12:06:15 PM (2 occurrences) Last logged: 11:00:10 AM

Dryer Remote Start: Error executing script. Unexpected error for call_service at pos 3: Expecting property name enclosed in double quotes: line 1 column 9 (char 8) Traceback (most recent call last): File “/usr/src/homeassistant/homeassistant/helpers/script.py”, line 468, in _async_step await getattr(self, handler)() File “/usr/src/homeassistant/homeassistant/helpers/script.py”, line 704, in _async_call_service_step response_data = await self._async_run_long_action( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File “/usr/src/homeassistant/homeassistant/helpers/script.py”, line 666, in _async_run_long_action return long_task.result() ^^^^^^^^^^^^^^^^^^ File “/usr/src/homeassistant/homeassistant/core.py”, line 2012, in async_call response_data = await coro ^^^^^^^^^^ File “/usr/src/homeassistant/homeassistant/core.py”, line 2049, in _execute_service return await target(service_call) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File “/usr/src/homeassistant/homeassistant/helpers/entity_platform.py”, line 830, in handle_service await service.entity_service_call( File “/usr/src/homeassistant/homeassistant/helpers/service.py”, line 876, in entity_service_call response_data = await _handle_entity_call( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File “/usr/src/homeassistant/homeassistant/helpers/service.py”, line 948, in _handle_entity_call result = await task ^^^^^^^^^^ File “/config/custom_components/smartthinq_sensors/sensor.py”, line 746, in async_remote_start await self._api.device.remote_start() File “/config/custom_components/smartthinq_sensors/wideq/devices/washerDryer.py”, line 269, in remote_start await self.set(keys[0], keys[1], key=keys[2]) File “/config/custom_components/smartthinq_sensors/wideq/devices/washerDryer.py”, line 275, in set await super().set( File “/config/custom_components/smartthinq_sensors/wideq/device.py”, line 509, in set if full_key := self._prepare_command(ctrl_key, command, key, value): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File “/config/custom_components/smartthinq_sensors/wideq/devices/washerDryer.py”, line 219, in _prepare_command return self._prepare_command_v1(cmd, key) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File “/config/custom_components/smartthinq_sensors/wideq/devices/washerDryer.py”, line 163, in _prepare_command_v1 str_list = json.loads(str_data) ^^^^^^^^^^^^^^^^^^^^ File “/usr/local/lib/python3.11/json/init.py”, line 346, in loads return _default_decoder.decode(s) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File “/usr/local/lib/python3.11/json/decoder.py”, line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File “/usr/local/lib/python3.11/json/decoder.py”, line 353, in raw_decode obj, end = self.scan_once(s, idx) ^^^^^^^^^^^^^^^^^^^^^^ json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: line 1 column 9 (char 8)


Additional context Add any other context about the problem here.

About this issue

  • Original URL
  • State: closed
  • Created 9 months ago
  • Comments: 18 (4 by maintainers)

Commits related to this issue

Most upvoted comments

Pls attach diagnostics

config_entry-smartthinq_sensors-7371861f4647c9bbfee036975602b07d.json.txt

I hope I sent it correctly. Sorry, I’m not a GitHub pro. 😃

Thank You

I’m also sending the debug log file. home-assistant_smartthinq_sensors_2023-12-17T20-00-39.083Z.log

Thank You