SebuZet / samsungrac

Home Assistant Climate Device for controlling (not only) Samsung AC
65 stars 31 forks source link

error after last hassio update 0.102.1 #14

Open wifi75 opened 4 years ago

wifi75 commented 4 years ago

after last update we have this error:

Platform error climate.climate_ip - cannot import name 'ATTR_HVAC_ACTIONS' from 'homeassistant.components.climate' (/usr/src/homeassistant/homeassistant/components/climate/__init__.py)
Platform error climate.climate_ip - cannot import name 'ATTR_HVAC_ACTIONS' from 'homeassistant.components.climate' (/usr/src/homeassistant/homeassistant/components/climate/__init__.py)

solutions?
atxbyea commented 4 years ago

See the previous issues thread, I have also added a PR with the fix.

wifi75 commented 4 years ago

Which thread?

wifi75 commented 4 years ago

Found: folks, I confirm! you need to edit climate.py file under /config/custom_components/climate_ip and replace the 2 references on ATTR_HVAC_ACTIONS to ATTR_HVAC_ACTION, save and reboot, it will work

Thank you