jheling / freeathome

Free@Home component for Home Assistant
112 stars 41 forks source link

Climate error 0.96 #15

Closed Helldin closed 4 years ago

Helldin commented 5 years ago

Log Details (ERROR) Thu Jul 18 2019 10:30:54 GMT+0200 (CEST)

Unable to prepare setup for platform freeathome.climate: Platform not found (cannot import name 'STATE_AUTO' from 'homeassistant.components.climate.const' (/usr/src/homeassistant/homeassistant/components/climate/const.py)).

dbrouwer1979 commented 5 years ago

Same error here, after update 0.96.1 still the same error

jheling commented 5 years ago

A while ago I have asked user Lassem to take a look at it as he is the original author of this part.

lassem commented 5 years ago

Sorry for the super late response on this.

There's a PR up now, hopefully that will in the very least make it somewhat better.

jheling commented 5 years ago

Hello Lasse,

Sometimes it takes a bit longer, but it is summer, there are other things to enjoy. I have committed the pull request. Thank you for the work!

Best, Johan

dbrouwer1979 commented 5 years ago

Hi Lasse, Thank you for the updated version. I have it installed. To get my thermostat working (as it was off now) I had to turn it on first. I did this by adding the thermostat to my batches and then I could set operating mode to Heat/cool and after that it works fine (also turning it off and on again) Knipsel