Closed goedh452 closed 8 months ago
Hey there @zxdavb, mind taking a look at this issue as it has been labeled with an integration (evohome
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
evohome documentation evohome source (message by IssueLinks)
Me too for homekit thermostat (netatmo)
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.
I took a look at the code and discovered that the zones seem to be the problem. ... the state of a zone is set to auto when the location is set to off. Auto is not a valid HVAC-mode for a zone when looked a the possible states (see screenshot).
Some confusion here is that you are referring to both:
HvacMode.AUTO
), andFollowSchedule
)Nonetheless, I agree it is a bug.
The problem
The logs show this error many times: Cannot map hvac target mode: auto to homekit as only {0: <HVACMode.OFF: 'off'>, 1: <HVACMode.HEAT: 'heat'>} modes are supported. I opened this issue but it was closed since there was no activity.
I took a look at the code and discovered that the zones seem to be the problem. At this line the state of a zone is set to auto when the location is set to off. Auto is not a valid HVAC-mode for a zone when looked a the possible states (see screenshot).
What version of Home Assistant Core has the issue?
2023.7.3
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant Container
Integration causing the issue
evohome
Link to integration documentation on our website
https://www.home-assistant.io/integrations/evohome/
Diagnostics information
2023-08-02 11:58:19.639 ERROR (MainThread) [homeassistant.components.homekit.type_thermostats] Cannot map hvac target mode: auto to homekit as only {0: <HVACMode.OFF: 'off'>, 1: <HVACMode.HEAT: 'heat'>} modes are supported 2023-08-02 11:58:19.643 ERROR (MainThread) [homeassistant.components.homekit.type_thermostats] Cannot map hvac target mode: auto to homekit as only {0: <HVACMode.OFF: 'off'>, 1: <HVACMode.HEAT: 'heat'>} modes are supported 2023-08-02 11:58:19.643 ERROR (MainThread) [homeassistant.components.homekit.type_thermostats] Cannot map hvac target mode: auto to homekit as only {0: <HVACMode.OFF: 'off'>, 1: <HVACMode.HEAT: 'heat'>} modes are supported 2023-08-02 11:58:19.644 ERROR (MainThread) [homeassistant.components.homekit.type_thermostats] Cannot map hvac target mode: auto to homekit as only {0: <HVACMode.OFF: 'off'>, 1: <HVACMode.HEAT: 'heat'>} modes are supported 2023-08-02 11:58:19.645 ERROR (MainThread) [homeassistant.components.homekit.type_thermostats] Cannot map hvac target mode: auto to homekit as only {0: <HVACMode.OFF: 'off'>, 1: <HVACMode.HEAT: 'heat'>} modes are supported 2023-08-02 11:58:19.912 ERROR (MainThread) [homeassistant.components.homekit.type_thermostats] Cannot map hvac target mode: auto to homekit as only {0: <HVACMode.OFF: 'off'>, 1: <HVACMode.HEAT: 'heat'>} modes are supported 2023-08-02 11:58:19.914 ERROR (MainThread) [homeassistant.components.homekit.type_thermostats] Cannot map hvac target mode: auto to homekit as only {0: <HVACMode.OFF: 'off'>, 1: <HVACMode.HEAT: 'heat'>} modes are supported 2023-08-02 11:58:19.915 ERROR (MainThread) [homeassistant.components.homekit.type_thermostats] Cannot map hvac target mode: auto to homekit as only {0: <HVACMode.OFF: 'off'>, 1: <HVACMode.HEAT: 'heat'>} modes are supported 2023-08-02 11:58:19.916 ERROR (MainThread) [homeassistant.components.homekit.type_thermostats] Cannot map hvac target mode: auto to homekit as only {0: <HVACMode.OFF: 'off'>, 1: <HVACMode.HEAT: 'heat'>} modes are supported 2023-08-02 11:58:19.916 ERROR (MainThread) [homeassistant.components.homekit.type_thermostats] Cannot map hvac target mode: auto to homekit as only {0: <HVACMode.OFF: 'off'>, 1: <HVACMode.HEAT: 'heat'>} modes are supported
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response