-
-
Notifications
You must be signed in to change notification settings - Fork 43
Lovelace not accessible #158
Comments
same here, the only way to get lovelace loaded is to restart hassio while webpage is loading and not reload it before you have disabled grocy integration. |
Do you guys have barcodes associated with your products? |
I have the same problems and yes i do use barcodes with my products |
yes, I have barcodes. |
Hey! I finally got the time to look into this, but it seems that this cant be fixed in pygrocy. The issue is that python doesn't know how to serialize the I'm closing this for now, as I think this has to be fixed in the custom component unfortunately (@isabellaalstrom). |
Thanks, I will try to fix. |
@SebRut The default JSON decoder works with custom objects, if they have Test to prove it: https://github.com/ludeeus/awesomeversion/blob/main/tests/test_awesomeversion.py#L53 |
@ludeeus thank you for the hint, that sounds like a way to fix this. But I'm not sure if I like this solution because it leads to pygrocy being altered to be specifically compatible with HA by implementing a workaround. |
Not really, that would enable the serialization of theses objects without creating and passing in a custom encoder to the dumper. |
Another option that will be easier to implement is to implement a custom encoder in this lib, and use that for the |
Describe the bug
I cannot access the UI of Home Assistant.
In the home-assistant.log I found lots of errors like this:
The log file grows to 1GB and maybe more.
Expected behavior
Being able to use the lovelace UI as before.
To Reproduce
Steps to reproduce the behavior:
What is your installed versions of Home Assistant, Grocy and this integration?
Home Assistant core-2021.3.2
Grocy v3.0.1
Grocy integration v3.0.1
How do you have Grocy installed? Add-on or external?
add-on
Have you added debugging to the log, and what does the log say?
no
JSON service data (if related to using a service)
n/a
Additional context
I had to hard reboot my Raspberry Pi and then disable quickly the Grocy integration add-on.
If not doing that quickly after reboot, I have the same issue.
The text was updated successfully, but these errors were encountered: