Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Solis integration not loaded anymore #413

Open
wtoyoz opened this issue Jan 4, 2025 · 14 comments
Open

Solis integration not loaded anymore #413

wtoyoz opened this issue Jan 4, 2025 · 14 comments
Labels
bug Something isn't working need more info Insufficient info to be able to resolve

Comments

@wtoyoz
Copy link

wtoyoz commented Jan 4, 2025

Probably after latest update no data come through anymore.
Downloaded older versions did not help.
Reinstalling integration incl API etc did not work either.
Now shows:
no devices or entities
! not loaded

image

@wtoyoz wtoyoz added the bug Something isn't working label Jan 4, 2025
@SteveShirvo
Copy link

Same here

@Dirkvdsl
Copy link

Dirkvdsl commented Jan 5, 2025

Same Here

@jmason
Copy link
Collaborator

jmason commented Jan 5, 2025

Are there any logs from the integration?

@Dirkvdsl
Copy link

Dirkvdsl commented Jan 5, 2025 via email

@jmason
Copy link
Collaborator

jmason commented Jan 5, 2025

File "/config/custom_components/solis/const.py", line 4, in <module>
    from homeassistant.components.sensor import (    ...<2 lines>...    )
ImportError: cannot import name 'STATE_CLASS_MEASUREMENT' from 'homeassistant.components.sensor' (/usr/src/homeassistant/homeassistant/components/sensor/__init__.py)

That seems odd -- I don't see STATE_CLASS_MEASUREMENT mentioned on line 4 of const.py: https://github.com/hultenvp/solis-sensor/blob/master/custom_components/solis/const.py#L4 -- I wonder if an old version of the integration is still there somehow.

@Dirkvdsl
Copy link

Dirkvdsl commented Jan 6, 2025 via email

@Dirkvdsl
Copy link

Dirkvdsl commented Jan 6, 2025 via email

@hultenvp
Copy link
Owner

hultenvp commented Jan 6, 2025

Agreeing with @jmason. This error should not occur with latest.

@Dirkvdsl : Can you please confirm you are running v3.8.1? If not, you must upgrade in order to have a working integration. The state class constants were deprecated and fully removed in HA.

@hultenvp hultenvp added the need more info Insufficient info to be able to resolve label Jan 6, 2025
@wtoyoz
Copy link
Author

wtoyoz commented Jan 6, 2025

It seems everything is working fine again.
Don't know how come.
But i'm glad it's working again.

Running Solis 3.8.1
image

@jellmers
Copy link

jellmers commented Jan 8, 2025

Still getting the issue.....
Screenshot 2025-01-08 at 09 00 14
Screenshot 2025-01-08 at 08 58 10

On the newest versions of HA.. :-(

@patduckless
Copy link
Collaborator

Still getting the issue..... Screenshot 2025-01-08 at 09 00 14 Screenshot 2025-01-08 at 08 58 10

On the newest versions of HA.. :-(

Can you make sure you are on the latest version of the integration please.
image

@NachtGloei
Copy link

NachtGloei commented Jan 8, 2025

Still getting the issue..... Screenshot 2025-01-08 at 09 00 14 Screenshot 2025-01-08 at 08 58 10

On the newest versions of HA.. :-(

Had the same issue after updating. After disabling the old version (by putting a _ behind the name of the folder), rebooted HA without Solis, placed the update (again), and then it worked... Like @patduckless says, make sure you'll see the correct version. Mine was stuck somewhere on the old one. Even after updating.

@SteveShirvo
Copy link

thank you NachtGloei, your solution worked perfectly

@jellmers
Copy link

jellmers commented Jan 9, 2025

Thanks all... Manually dragged down 3.8.1 and did a restart and all back to normal....

The power of the hive mind is great.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working need more info Insufficient info to be able to resolve
Projects
None yet
Development

No branches or pull requests

8 participants