rvdbreemen / OTGW-firmware

A ESP8266 devkit firmware for the Nodoshop version of the Opentherm Gateway (OTGW)
MIT License
145 stars 34 forks source link

Home Assistant MQTT: The 'send_if_off' and 'hold_modes' option is deprecated, please remove it from your configuration #122

Closed pimw1 closed 2 years ago

pimw1 commented 2 years ago

The Home Assistant MQTT options 'send_if_off' and 'hold_modes' options are deprecated, this is visible from Home Assistant core-2022.3.0b1 onwards. As a result of this, the following warning appears in the logs of Home Assistant:

Logger: homeassistant.components.mqtt.climate
Source: helpers/config_validation.py:817
Integration: MQTT (documentation, issues)
First occurred: 09:52:53 (2 occurrences)
Last logged: 09:52:53

The 'send_if_off' option is deprecated, please remove it from your configuration
The 'hold_modes' option is deprecated, please remove it from your configuration

As per my understanding, rework has been done on the MQTT climate preset modes, hence raising this warning. More info about the Home Assistant MQTT climate preset_modes rework can be found here: https://github.com/home-assistant/core/pull/66062

I initially created a github issue within Home Assistant Core: https://github.com/home-assistant/core/issues/67219 This issue is closed because this is by design. The solution should be to start using the new methodolgy i think?

I don't experience any functional impact yet.

pimw1 commented 2 years ago

This actually might be a bug in Home Assistant: https://github.com/home-assistant/core/pull/67661 I would propose to keep any research on-hold until 67661 is merged. I'll check after that and report back here whether the issue is fixed or not.

pimw1 commented 2 years ago

67661 is merged. I've installed Home Assistant 2022.3.2 and the error is gone. I'll close this issue. Thank you for your help and my apologies for the inconvenience.