You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Logger: homeassistant.helpers.event
Source: helpers/event.py:355
First occurred: May 17, 2025 at 9:44:31 AM (23 occurrences)
Last logged: 4:01:30 PM
Error while dispatching event for climate.ducted to <Job track state_changed event ['climate.ducted'] HassJobType.Callback <bound method HomeAccessory.async_update_event_state_callback of <accessory display_name='Ducted AC' services=['AccessoryInformation', 'Thermostat', 'Fanv2']>>>
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/event.py", line 355, in _async_dispatch_entity_id_event
hass.async_run_hass_job(job, event)
~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 938, in async_run_hass_job
hassjob.target(*args)
~~~~~~~~~~~~~~^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/homekit/accessories.py", line 538, in async_update_event_state_callback
self.async_update_state_callback(new_state)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/homekit/accessories.py", line 562, in async_update_state_callback
self.async_update_state(new_state)
~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/homekit/type_thermostats.py", line 697, in async_update_state
self._async_update_fan_state(new_state)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/homekit/type_thermostats.py", line 727, in _async_update_fan_state
HC_HASS_TO_HOMEKIT_FAN_STATE[hvac_action]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
KeyError: <HVACAction.PREHEATING: 'preheating'>
Additional information
No response
The text was updated successfully, but these errors were encountered:
Hey there @bdraco, mind taking a look at this issue as it has been labeled with an integration (homekit) you are listed as a code owner for? Thanks!
Code owner commands
Code owners of homekit can trigger bot actions by commenting:
@home-assistant close Closes the issue.
@home-assistant rename Awesome new title Renames the issue.
@home-assistant reopen Reopen the issue.
@home-assistant unassign homekit Removes the current integration label and assignees on the issue, add the integration domain after the command.
@home-assistant add-label needs-more-information Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue.
@home-assistant remove-label needs-more-information Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.
The problem
Currently there's no HomeKit fan state for a HA climate entity that is defrosting or preheating.
Appears to simply be that HVACAction.PREHEATING and HVACAction.DEFROSTING are not in the HC_HASS_TO_HOMEKIT_FAN_STATE dictionary.
Should I open a PR to add, or am I missing something regarding how this works?
e.g.
HC_HASS_TO_HOMEKIT_FAN_STATE = {
...
HVACAction.PREHEATING: FAN_STATE_IDLE,
HVACAction.DEFROSTING: FAN_STATE_IDLE,
}
What version of Home Assistant Core has the issue?
core- 2025.5.2
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
Integration causing the issue
HomeKit Bridge
Link to integration documentation on our website
https://www.home-assistant.io/integrations/homekit/
Diagnostics information
N/A
Example YAML snippet
Anything in the logs that might be useful for us?
Additional information
No response
The text was updated successfully, but these errors were encountered: