custom-components / grocy

Custom Grocy integration for Home Assistant
Apache License 2.0
162 stars 50 forks source link

[BUG] Update of Meal_plan failed with 'datetime.date' object has no attribute 'date' #171

Closed firstof9 closed 2 years ago

firstof9 commented 2 years ago

Unless all relevant information is provided, I can't help you

Describe the bug Meal plans are no longer working.

Expected behavior Meal plans to populate.

To Reproduce Steps to reproduce the behavior:

  1. Start Home Assistant

General information to help debugging:

What sensors do you have enabled? Are they working and/or what state are they in? Do you have the corresponding functions enabled in Grocy?

What is your installed versions of Home Assistant, Grocy and this integration?

HA version core-2021.12.10 Grocy Integration version 4.1.0

How do you have Grocy installed? Add-on or external? Docker container version 3.1.3

Have you added debugging to the log, and what does the log say?

2022-01-25 12:04:20 ERROR (MainThread) [custom_components.grocy] Update of Meal_plan failed with 'datetime.date' object has no attribute 'date'
2022-01-25 12:04:20 DEBUG (MainThread) [custom_components.grocy] Finished fetching grocy data in 112.654 seconds (success: True)
2022-01-25 12:04:20 DEBUG (MainThread) [custom_components.grocy.sensor] Data for sensor.grocy_chores: None
2022-01-25 12:04:20 DEBUG (MainThread) [custom_components.grocy.sensor] Data for sensor.grocy_meal_plan: None
2022-01-25 12:04:20 DEBUG (MainThread) [custom_components.grocy.sensor] Data for sensor.grocy_tasks: []

JSON service data (if related to using a service)

{

}

Additional context Update of Meal_plan failed with 'datetime.date' object has no attribute 'date'

isabellaalstrom commented 2 years ago

@firstof9 Please download latest beta version to see if this is fixed.