Unless all relevant information is provided, I can't help you
Describe the bug
Sensors are returning python objects rather than the expected dict entries, this causes the attributes not to populate on the sensors.
Expected behavior
Sensor data to be populated with dict information.
To Reproduce
n/a
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?
meal_plan and chores, both enabled.
What is your installed versions of Home Assistant, Grocy and this integration?
Testing this on:
HA: 2022.4.0.dev20220314
Grocy: 3.2.0
Grocy Integration: 4.1.6
How do you have Grocy installed? Add-on or external?
External
Have you added debugging to the log, and what does the log say?
2022-03-18 09:22:08 DEBUG (MainThread) [custom_components.grocy.sensor] Data for sensor.grocy_meal_plan: [<custom_components.grocy.helpers.MealPlanItem object at 0x7fded5d3a100>, <custom_components.grocy.helpers.MealPlanItem object at 0x7fded5d3a910>]
2022-03-18 09:22:08 DEBUG (MainThread) [custom_components.grocy.sensor] Data for sensor.grocy_chores: [<pygrocy.data_models.chore.Chore object at 0x7fded7ab34c0>, <pygrocy.data_models.chore.Chore object at 0x7fded7ab3e80>, <pygrocy.data_models.chore.Chore object at 0x7fded7ab3880>, <pygrocy.data_models.chore.Chore object at 0x7fded7ab31c0>, <pygrocy.data_models.chore.Chore object at 0x7fded7ab3100>, <pygrocy.data_models.chore.Chore object at 0x7fded7ab3b80>, <pygrocy.data_models.chore.Chore object at 0x7fded4a38820>, <pygrocy.data_models.chore.Chore object at 0x7fded4a383d0>]
JSON service data (if related to using a service)
n/a
Unless all relevant information is provided, I can't help you
Describe the bug Sensors are returning python objects rather than the expected
dict
entries, this causes the attributes not to populate on the sensors.Expected behavior Sensor data to be populated with dict information.
To Reproduce n/a
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? meal_plan and chores, both enabled.
What is your installed versions of Home Assistant, Grocy and this integration? Testing this on: HA:
2022.4.0.dev20220314
Grocy:3.2.0
Grocy Integration:4.1.6
How do you have Grocy installed? Add-on or external? External
Have you added debugging to the log, and what does the log say?
JSON service data (if related to using a service) n/a
Additional context n/a