You should see it if you clear cache I imagine!
Yep after cleaning data it work thanks once more
Fixed a bug with the time in add task, and also moved the add task-functionality to the top of the card instead.
I am only using Grocy for chores and tasks. I am getting the following error but donât see a way to disable the listed entities in the config:
Logger: custom_components.grocy
Source: custom_components/grocy/init.py:108
Integration: Grocy (documentation)
First occurred: 10:52:22 AM (147 occurrences)
Last logged: 11:04:02 AMYou have enabled the entity for Grocy expiring products, but this feature is not enabled in Grocy
You have enabled the entity for Grocy missing products, but this feature is not enabled in Grocy
You have enabled the entity for Grocy meal plan, but this feature is not enabled in Grocy
You have enabled the entity for Grocy shopping list, but this feature is not enabled in Grocy
You have enabled the entity for Grocy stock, but this feature is not enabled in Grocy
Go to the integrations page, press â10 entitiesâ on the Grocy card.
Select the entities you want to disable and press âdisable selectedâ
Iâm new to home assistant, so apologies if this is a stupid question. Iâve installed the custom component and now have the 5 binary sensors and 5 normal sensors (chores, meal plan, shopping list, stock and tasks) but when looking in the states section under developer tools all 5 sensors show as âunknownâ? Should these not be pulling through the data from grocy?
In addition what are the binary sensors for?
You need to check your log for more information, is there an error from the integration there?
This shows in the âlogâ section of the Grocy integration, this is repeated loads of times with a small variation:
2021/06/04 16:21:31 [error] 861#861: *126808 FastCGI sent in stderr: "PHP message: PHP Notice: Constant GROCY_AUTHENTICATED already defined in /var/www/grocy/controllers/ExceptionController.php on line 62PHP message: PHP Warning: Use of undefined constant GROCY_USER_ID - assumed 'GROCY_USER_ID' (this will throw an Error in a future version of PHP) in /var/www/grocy/controllers/BaseController.php on line 162PHP message: PHP Notice: Trying to access array offset on value of type null in /data/grocy/viewcache/ee91662b47d4b5bfed27ce28d018967d808016cb.php on line 110PHP message: PHP Notice: Trying to access array offset on value of type null in /data/grocy/viewcache/ee91662b47d4b5bfed27ce28d018967d808016cb.php on line 110" while reading response header from upstream, client: 192.168.0.60, server: a0d7b954-grocy, request: "GET /a0d7b954_grocy:9192/api/system/db-changed-time HTTP/1.1", upstream: "fastcgi://127.0.0.1:9001", host: "192.168.0.60:9192"
[04/Jun/2021:16:21:31 +0100] 404 -(192.168.0.60) GET /a0d7b954_grocy:9192/api/system/db-changed-time HTTP/1.1 (python-requests/2.25.1)
Go back and follow the instructions for the integration please. You have not provided a url at all.
I misread. Is that the addons log? Do Grocy actually work for you? Not the integration, the software itself.
Yes, Iâve installed Grocy add-on (the official one from home assistant store) and yes it does work, Iâve added a handful of products albeit the software is slow to respond so not sure if âfullyâ working.
Yes the above was from the âlogsâ tab of Grocy in the developer tools section
Thanks. I had already disabled them all there. That is why I thought there might be something else that was going on.
Hope you mean you enabled the ones you wantedâŠis everything working now?
Then they should be disabled and not showing that error. Might be a fault in the implementation.
Thanks! My log shows the following:
2021-06-08 14:06:14 ERROR (MainThread) [custom_components.grocy] Update of Expired_products failed with Expecting value: line 1 column 1 (char 0)
2021-06-08 14:06:14 ERROR (MainThread) [custom_components.grocy] Update of Expiring_products failed with Expecting value: line 1 column 1 (char 0)
2021-06-08 14:06:14 ERROR (MainThread) [custom_components.grocy] Update of Missing_products failed with Expecting value: line 1 column 1 (char 0)
2021-06-08 14:06:14 ERROR (MainThread) [custom_components.grocy] Update of Overdue_chores failed with Expecting value: line 1 column 1 (char 0)
2021-06-08 14:06:14 ERROR (MainThread) [custom_components.grocy] Update of Overdue_tasks failed with Expecting value: line 1 column 1 (char 0)
2021-06-08 14:06:14 ERROR (MainThread) [custom_components.grocy] Update of Chores failed with Expecting value: line 1 column 1 (char 0)
2021-06-08 14:06:14 ERROR (MainThread) [custom_components.grocy] Update of Meal_plan failed with Expecting value: line 1 column 1 (char 0)
2021-06-08 14:06:14 ERROR (MainThread) [custom_components.grocy] Update of Shopping_list failed with Expecting value: line 1 column 1 (char 0)
2021-06-08 14:06:14 ERROR (MainThread) [custom_components.grocy] Update of Stock failed with Expecting value: line 1 column 1 (char 0)
2021-06-08 14:06:14 ERROR (MainThread) [custom_components.grocy] Update of Tasks failed with Expecting value: line 1 column 1 (char 0)
Nice! Nolonger need to have a worthless task to show to not crash the card.
Nice add! Had one built with some input_datetime and input_text but this is alot better!
I resolved the error. I had everything except âChoresâ disabled in the add on. I also had everything except âChoresâ disabled in the integration. I went to into the add on config and enabled everything but left everything disabled in the integration. That solved it.
Alright, seems like a bug. Will see if I can recreate.
Anyone able to assist please?
With what?