kamaradclimber / heishamon-homeassistant

An integration for heatpumps handled by heishamon
Apache License 2.0
50 stars 25 forks source link

Problems with climate #47

Closed geduxas closed 2 years ago

geduxas commented 2 years ago

Hello, after restarting HomeAssistant i have lost ability to use climate component.

Screenshot_2022-11-10-09-14-54-19_c3a231c25ed346e59462e84656a70e50

Screenshot_2022-11-10-09-14-33-41_c3a231c25ed346e59462e84656a70e50

Don't know why it tried to change to direct mode, i never used direct mode on my pump..

And it's happening everytime HA is restarted, and climate component is failing. Tried to downgrade integration, issues are in all versions till 7.2. It's seams something changed in HomeAssistant, before everything worked.

kamaradclimber commented 2 years ago

Hello,

thanks for the report. The warning is "expected" because we don't know what how heatpump is working at HA startup so we apply the direct mode by default and later change it to the correct value based on the message sent by HeishaMon. Two solutions for this:

That being said, I don't see yet if this is related to your first issue which is more serious. I need to investigate (which version of HA do you have?)

geduxas commented 2 years ago

Here is mine HA version: Home Assistant 2022.11.2 Supervisor 2022.10.2 Operating System 9.3 Frontend 20221108.0 - latest

I think i am on latest version.

Warning i understand why it happening, but climate components would not start anymore.. it seams that HA after reboot remembers devices, and on intialize it tires to recreate them.. or maybe they are created and updated in same time. My heishamon MQTT retransmission set to 5 sec.

kamaradclimber commented 2 years ago

While trying to reproduce I stumbled upon https://github.com/kamaradclimber/heishamon-homeassistant/pull/48 which is probably very close to your issue. I'll try to reproduce yours specifically.

geduxas commented 2 years ago

Thanks, it seams problem solved. After update, climate components start to work.