Closed ghost closed 1 year ago
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.
The problem
I have a sensor, from the following custom integration: https://github.com/BottlecapDave/HomeAssistant-OctopusEnergy The sensor's state attributes yaml is as follows, as shown in Developer Tools/States is as follows:
However, when trying to use a template to find a match with a timestamp here, it is not working - for example:
After trying to figure out why this wasn't working, in the following thread, it appears that when templating these timestamps are seen as datetime entities instead? https://community.home-assistant.io/t/template-query-with-array/537252 There is another user experiencing a similar problem: https://community.home-assistant.io/t/temple-attribute-with-list-not-created-nicely/536461/6
Please see the thread for the apparent issue where it becomes a datetime rather than timestamp. I am subscribed to this bug so I can help with anything required
What version of Home Assistant Core has the issue?
2023.2.5
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
Integration causing the issue
OCtopus Energy, and others (see linked forum threads)
Link to integration documentation on our website
N/A unofficial integration
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response