dolezsa / thermal_comfort

Thermal Comfort sensor for HA (absolute humidity, heat index, dew point, thermal perception)
Other
552 stars 106 forks source link

installation issue #329

Closed 8mccm8 closed 7 months ago

8mccm8 commented 7 months ago

Hi all

in my has:

Home Assistant 2023.8.2 Frontend 20230802.0 - latest

I followed steps to install v2.1.1 and just at this step: https://github.com/dolezsa/thermal_comfort/blob/master/documentation/config_flow.md#name-your-virtual-device-and-select-the-temperature-and-humidity-sensor-you-want-to-use

this error occurred

Logger: homeassistant.config_entries
Source: config_entries.py:865
First occurred: 04:42:50 (3 occurrences)
Last logged: 04:43:28

Error occurred loading flow for integration thermal_comfort: cannot import name 'ConfigValidationError' from 'homeassistant.exceptions' (/opt/homeassistant/lib/python3.11/site-packages/homeassistant/exceptions.py)

thx for your help

rautesamtr commented 7 months ago

Hi, this sounds like you installed master instead of 2.1.1. I forgott to put the new requirements for master in the readme. It's home assistant 2023.12. To be released in two days.

erikpendragon commented 7 months ago

I have 2.1.1 installed, just reinstalled it again. Restarted and still have the issue OP is talking about, I have had it since the beta of 2023.12

rautesamtr commented 7 months ago

@erikpendragon that would be strange, because we only introduced the import fort ConfigValidationError with 65cc554 which is only in master and not 2.1.1. You sure it's not #322 #325 in your case?

It's expected that you run into an error with home-assistant 2023.12 running 2.1.1 since core has breaking changes and the fixes are already in master. There will be a release once 2023.12 is out of beta.

erikpendragon commented 7 months ago

@erikpendragon that would be strange, because we only introduced the import fort ConfigValidationError with 65cc554 which is only in master and not 2.1.1. You sure it's not #322 #325 in your case?

It's expected that you run into an error with home-assistant 2023.12 running 2.1.1 since core has breaking changes and the fixes are already in master. There will be a release once 2023.12 is out of beta.

#325 fixed my issue, thank you

8mccm8 commented 7 months ago

@rautesamtr your are right thx