grocy: Updated to HA 2025.5 - Dependency for pygrocy2 missing
Grocy Integration can’t be loaded. I got this Error in the Log:
Logger: homeassistant.util.package
Source: util/package.py:159
First occurred: 00:00:00 (3 occurrences)
Last logged: 00:00:02
Unable to install package pygrocy2==2.4.0: × No solution found when resolving dependencies: ╰─▶ Because pygrocy2==2.4.0 depends on pydantic>=2.10.4,<2.11.dev0 and pydantic==2.11.3, we can conclude that pygrocy2==2.4.0 cannot be used. And because you require pygrocy2==2.4.0, we can conclude that your requirements are unsatisfiable.
That Error follows this error:
Logger: homeassistant.setup
Source: setup.py:279
First occurred: 00:00:02 (1 occurrence)
Last logged: 00:00:02
Setup failed for custom integration 'grocy': Requirements for grocy not found: ['pygrocy2==2.4.0'].
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Reactions: 26
- Comments: 24
Get a terminal on your HA instance (you can use the SSH add on, or the terminal one — you don’t need the special ssh on 22222) and edit
config/custom_components/grocy/manifest.jsonLook under “requirements” for the pygrocy2 line, and change it to:
That commit ID is https://github.com/flipper/pygrocy2/commit/dac05fcb11367a062f5f348f5d041e505de36880 and the documentation for git+https is at https://pip.pypa.io/en/stable/topics/vcs-support/
Then restart HA.
Thank you very much! Everything worked!!!👍
There us an upstream fixed merged here https://github.com/flipper/pygrocy2/pull/6 which is just awaiting release. After that it should be a simple case of bumping the pygrocy2 version in the manifest.
Temp FIx: with install Package manual: pip3 install pygrocy2
will Install 2.4.0 and solve dependencies