Hello everyone,
I am having troubles to read from a JSON format which is stored in my app variable.
When I try to list an item I am getting the variable name instead of the values:
Here is the setup:
And this is the JSON:
{ 'timestamp': DateTime.now().toString(), 'data': [ { 'description': 'Today Solar Energy', 'value': todayEnergySum[0].toString(), 'unit': 'kW', }, { 'description': 'Today Import Energy', 'value': todayEnergySum[1].toString(), 'unit': 'kW', } ] }
Any help is highly welcomed. Thank you.