fashberg / WThermostatBeca

Open Source firmware replacement for Tuya Wifi Thermostate from Beca and Moes with Home Assistant Autodiscovery
344 stars 71 forks source link

mqtt options deprecated in Home Assistant 2022.03 #146

Closed Flopescu closed 2 years ago

Flopescu commented 2 years ago

Hi @fashberg First, a big thank you for your work, I have flashed my thermostat about 7-8 months ago and everything just works.

If you have some time, can you please have a look at the mqtt payload for home assistant?

In the version 2022.03 we have the following warnings about options that are deprecated:

Logger: homeassistant.components.mqtt.climate
Source: helpers/config_validation.py:817 
Integration: MQTT ([documentation](https://www.home-assistant.io/integrations/mqtt), 
[issues](https://github.com/home-assistant/home-assistant/issues?q=is%3Aissue+is%3Aopen+label%3A%22integration%3A+mqtt%22)) 
First occurred: 1:58:33 PM (5 occurrences) 
Last logged: 1:58:33 PM

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

Appreciated!

labodj commented 2 years ago

Hi @fashberg I second this, these options are deprecated and they will be removed from HA in 2022.9 update

titiviking commented 2 years ago

@jressel01 has a working patch for this ( https://github.com/jressel01/WThermostatBeca/tree/patch-1 ). I compiled his code and it works well on my BHT-6000.

Flopescu commented 2 years ago

thanks! I've managed to compile it myself.

I had the same issue withe the HA Autodiscovery - managed to get it working after I've saved the "thermostat config" page...

clemente3905 commented 2 years ago

Hi guys, I'm a total noob. My thermostat are no more working with the 2022.9 update. Can someone please point me out on a noob guide on how to get the @jressel01 working patch, compile and send to the thermostat? I'm on a windows machine and do not have any idea on how to compile sources

labodj commented 2 years ago

@clemente3905 if you want you can try my release HERE It is compatible with 2022.9 Just send to the thermostat as a normal update at http://THERMOSTAT_IP/firmware?

fashberg commented 2 years ago

Fixed in https://github.com/fashberg/WThermostatBeca/releases/tag/v1.20-fas

Thank you for your feedback and contributions