Mas2112 / solarwatt-energymanager-homeassistant

A SOLARWATT EnergyManager Home Assistant custom component.
MIT License
17 stars 3 forks source link

Install issue new #5

Closed Makana80 closed 2 years ago

Makana80 commented 2 years ago

hi if i want configure the integratin i get this Erorr. Logger: homeassistant.setup Source: setup.py:317 First occurred: 13:46:40 (1 occurrences) Last logged: 13:46:40

Unable to prepare setup for platform solarwatt_energymanager.sensor: Platform not found (cannot import name 'STATE_CLASS_TOTAL' from 'homeassistant.components.sensor' (/usr/src/homeassistant/homeassistant/components/sensor/init.py)).

if i delete the part in senor.py (STATE_CLASS_TOTAL) it is working but what are the disadvantage?

Mas2112 commented 2 years ago

What version of the integration have you tried? Can you try the latest 0.4.4-alpha?

Makana80 commented 2 years ago

i have installed 0.3.2. ok i will try it in the next days with 0.4.4