Closed functionpointer closed 1 week ago
Hey there @danielhiversen, mind taking a look at this issue as it has been labeled with an integration (tibber
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
tibber documentation tibber source (message by IssueLinks)
The problem
The response of the
tibber.get_prices
action includes datetime objects, which are not handled properly when part of a template.Instead, the entire answer gets converted into a string:
By contrast, the weather integration handles it properly:
Notice the result type
list
as opposed tostring
. Returning a string makes using the result difficult, i.e. if we wanted to plot the electricity prices or weather forecast using apexcharts card.What version of Home Assistant Core has the issue?
dev branch (9717a867a77c5416d8d)
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant Core
Integration causing the issue
tibber
Link to integration documentation on our website
https://www.home-assistant.io/integrations/tibber/
Diagnostics information
No response
Example YAML snippet
Anything in the logs that might be useful for us?
No response
Additional information
No response