Describe the bug
When changing HA's core units to celcius, changing an AC unit's temperature will throw an error
Expected behavior
AC temperature should change.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment details:
Environment: HASSIO
Home Assistant version installed: 2024.7.4
Component version installed: 0.39.2
Last know working version: n/a
LG device type and model with issue: LG Split Unit Model: S3-M12JA3FA
LG devices connected (list):
Output of HA logs
Logger: homeassistant.components.websocket_api.http.connection
Source: components/websocket_api/commands.py:241
integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 1:04:35 AM (25 occurrences)
Last logged: 1:01:03 PM
[281472302383312] Unexpected exception
[281472137895296] Unexpected exception
[281472398600816] Unexpected exception
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 241, in handle_call_service
response = await hass.services.async_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 2731, in async_call
response_data = await coro
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 2774, in _execute_service
return await target(service_call)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 999, in entity_service_call
single_response = await _handle_entity_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 1071, in _handle_entity_call
result = await task
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/climate/init.py", line 924, in async_service_temperature_set
await entity.async_set_temperature(**kwargs)
File "/config/custom_components/smartthinq_sensors/climate.py", line 388, 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: 75.2
Additional context
Add any other context about the problem here.
Describe the bug When changing HA's core units to celcius, changing an AC unit's temperature will throw an error
Expected behavior AC temperature should change.
Screenshots If applicable, add screenshots to help explain your problem.
Environment details:
Output of HA logs Logger: homeassistant.components.websocket_api.http.connection Source: components/websocket_api/commands.py:241 integration: Home Assistant WebSocket API (documentation, issues) First occurred: 1:04:35 AM (25 occurrences) Last logged: 1:01:03 PM
[281472302383312] Unexpected exception [281472137895296] Unexpected exception [281472398600816] Unexpected exception Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 241, in handle_call_service response = await hass.services.async_call( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/core.py", line 2731, in async_call response_data = await coro ^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/core.py", line 2774, in _execute_service return await target(service_call) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 999, in entity_service_call single_response = await _handle_entity_call( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 1071, in _handle_entity_call result = await task ^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/climate/init.py", line 924, in async_service_temperature_set await entity.async_set_temperature(**kwargs) File "/config/custom_components/smartthinq_sensors/climate.py", line 388, 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: 75.2
Additional context Add any other context about the problem here.