Closed eppenga closed 2 years ago
Which home assistant version are you using?
I am using "Home Assistant 2021.11.0":
version | core-2021.11.0 |
---|---|
installation_type | Home Assistant OS |
dev | false |
hassio | true |
docker | true |
user | root |
virtualenv | false |
python_version | 3.9.7 |
os_name | Linux |
os_version | 5.10.17-v8 |
arch | aarch64 |
timezone | Europe/Amsterdam |
Yes so that doesn’t work. The newest version of this integration is only guaranteed to work with newest Home Assistant version.
Some things got deprecated in December, so this error your getting is about a new class that hasn’t been there in November 2021 release. If you want the newest version, you need to upgrade HA.
Thanks @RobBie1221, wasn't aware that it didn't auto update. Will do that and report back if it works. Thx & kr, Ebo
Thanks for this great component!
FYI when I update I can only update to version 0.2.1, if I use a newer version I get this error message:
Logger: homeassistant.setup Source: setup.py:178 First occurred: 09:02:16 (1 occurrences) Last logged: 09:02:16
Setup failed for nefiteasy: Unable to import component: cannot import name 'SensorDeviceClass' from 'homeassistant.components.sensor' (/usr/src/homeassistant/homeassistant/components/sensor/init.py)
Versions 0.1.0 and 0.2.1 work fine, after that it breaks.