Closed angryninja48 closed 1 year ago
Hey there @madpilot, mind taking a look at this issue as it has been labeled with an integration (amberelectric
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
amberelectric documentation amberelectric source (message by IssueLinks)
That field was added about a year ago to the supporting python package. Can you check the VERSION
constant in /config/deps/lib/python3.11/site-packages/amberelectric/setup.py
- it should be 1.0.4
. If it isn't, you will need to upgrade the package.
Doesn't seem to exist?
root@k3s-2:/config# ls /config/deps/lib/python3.11/site-packages/amberelectric/ api configuration.py exceptions.py __init__.py model model_utils.py __pycache__ rest.py
This is using the ghcr.io/home-assistant/home-assistant:2023.7.1
container
Can you run ls /config/deps/lib/python3.11/site-packages/amberelectric/model/
and see if there is an interval.py file there?
I'm running the latest docker container at home it's working. It sounds like the pip module didn't install correctly.
Something was messed up with my python packages - ended up blowing away /config/deps/lib/python3.11/site-packages/amberelectric and redeployed the container. Problem solved!
Thanks for the help
The problem
Fails when adding the integration through the UI " Config flow could not be loaded: Method Not Allowed "
Logs also have the following error 2023-07-09 21:45:35.112 ERROR (MainThread) [homeassistant.config_entries] Error occurred loading flow for integration amberelectric: cannot import name 'Descriptor' from 'amberelectric.model.interval' (/config/deps/lib/python3.11/site-packages/amberelectric/model/interval.py)
What version of Home Assistant Core has the issue?
core-2023.7.1
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant Container
Integration causing the issue
Amber Electric
Link to integration documentation on our website
https://www.home-assistant.io/integrations/amberelectric
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
Additional information
No response