Hello Forum,
i have a little probleme with my thermostat.
I use a entity card with “climate-mode-entity-row”
Very simple.
But each time i click on the “Auto” mode button i get a error message about calling a service.
“None is not a valid HVACOperationMode”
What i know is, that it should be no “HVAC Mode”, it should be a “Preset Mode”
type: entities
entities:
- entity: climate.schlafzimmer
type: custom:climate-mode-entity-row
icon: mdi:home
modes:
- preset_mode: auto
- preset_mode: comfort
- preset_mode: away
icon: mdi:leaf
color: '#76D275'
- preset_mode: sleep
color: '#FFC107'
- preset_mode: eco
icon: mdi:snowflake
color: '#34c6eb'
state_color: true
Each other mode button is working perfektly.
Here is the error log:
Logger: homeassistant.components.websocket_api.http.connection
Source: components/knx/climate.py:275
Integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 30. November 2022 um 21:19:42 (26 occurrences)
Last logged: 18:44:13
- [547858659840] None is not a valid HVACOperationMode
- [547810340400] None is not a valid HVACOperationMode
- [548057330688] None is not a valid HVACOperationMode
Traceback (most recent call last): File “/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py”, line 200, in handle_call_service await hass.services.async_call( File “/usr/src/homeassistant/homeassistant/core.py”, line 1744, in async_call task.result() File “/usr/src/homeassistant/homeassistant/core.py”, line 1781, in _execute_service await cast(Callable[[ServiceCall], Awaitable[None]], handler.job.target)( File “/usr/src/homeassistant/homeassistant/helpers/entity_component.py”, line 208, in handle_service await service.entity_service_call( File “/usr/src/homeassistant/homeassistant/helpers/service.py”, line 678, in entity_service_call future.result() # pop exception if have File “/usr/src/homeassistant/homeassistant/helpers/entity.py”, line 943, in async_request_call await coro File “/usr/src/homeassistant/homeassistant/helpers/service.py”, line 715, in _handle_entity_call await result File “/usr/src/homeassistant/homeassistant/components/knx/climate.py”, line 275, in async_set_preset_mode knx_operation_mode = HVACOperationMode(PRESET_MODES_INV.get(preset_mode)) File “/usr/local/lib/python3.10/enum.py”, line 385, in call return cls.new(cls, value) File “/usr/local/lib/python3.10/enum.py”, line 710, in new raise ve_exc ValueError: None is not a valid HVACOperationMode
Can please anyone me.