Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error setting AC temperature #875

Open
togume opened this issue Feb 22, 2025 · 0 comments
Open

Error setting AC temperature #875

togume opened this issue Feb 22, 2025 · 0 comments

Comments

@togume
Copy link

togume commented Feb 22, 2025

Describe the bug
Changing the temperature on Apple Home started not working and throwing an error in

Expected behavior
Temperature changes.

Screenshots

  • N/A

Environment details:

  • Environment (HASSIO, Raspbian, etc): HA OS
  • Home Assistant version installed: core-2025.2.5
  • Component version installed: 0.41.1
  • Last know working version: Don't recall
  • LG device type and model with issue: Mini Split AC - all of them
  • LG devices connected (list):

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

Logger: homeassistant.core
Source: core.py:2814
First occurred: 9:01:03 AM (2 occurrences)
Last logged: 9:01:20 AM

Error executing service: <ServiceCall climate.set_temperature (c:01JMPZCBJ7KGD79RBGFC56JM6Q): entity_id=['climate.kamis_bedroom_ac'], temperature=73.94>
Error executing service: <ServiceCall climate.set_temperature (c:01JMPZCW0P48648BBJY33W90TG): entity_id=['climate.kamis_bedroom_ac'], temperature=73.03999999999999>
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/core.py", line 2814, in _run_service_call_catch_exceptions
    await coro_or_task
  File "/usr/src/homeassistant/homeassistant/core.py", line 2837, in _execute_service
    return await target(service_call)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 1007, 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 1079, in _handle_entity_call
    result = await task
             ^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/climate/__init__.py", line 955, in async_service_temperature_set
    await entity.async_set_temperature(**kwargs)
  File "/config/custom_components/smartthinq_sensors/climate.py", line 374, in async_set_temperature
    await self._device.set_target_temp(new_temp)
  File "/config/custom_components/smartthinq_sensors/wideq/devices/ac.py", line 739, in set_target_temp
    raise ValueError(f"Target temperature out of range: {temp}")
ValueError: Target temperature out of range: 73.94

Additional context
Tried to first report it to HA core and they sent me here. Here's the original report:
home-assistant/core#139048 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant