home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
73.56k stars 30.74k forks source link

HVAC mode error in logs #85529

Closed goedh452 closed 1 year ago

goedh452 commented 1 year ago

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 think this is because auto is not an operation mode in the Evomhome plugin, but a preset. Maybe it is possible to match the Homekit modes with the operations in the Evohome plugin?

What version of Home Assistant Core has the issue?

2023.1.1

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

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

2023-01-09 14:12:18.820 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-01-09 14:12:18.822 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-01-09 14:12:18.824 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-01-09 14:12:18.825 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-01-09 14:12:18.826 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-01-09 14:12:42.187 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-01-09 14:12:42.191 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-01-09 14:12:42.196 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-01-09 14:12:42.198 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-01-09 14:12:42.202 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-01-09 14:13:35.288 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-01-09 14:13:35.295 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-01-09 14:13:35.299 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-01-09 14:13:35.300 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-01-09 14:13:35.301 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

Additional information

No response

home-assistant[bot] commented 1 year 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!

Code owner commands Code owners of `evohome` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Change the title of the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign evohome` Removes the current integration label and assignees on the issue, add the integration domain after the command.

(message by CodeOwnersMention)


evohome documentation evohome source (message by IssueLinks)

issue-triage-workflows[bot] commented 1 year ago

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.