Skip to content

Tenplate sensor goes to unknown #266

@PatrikHAOS

Description

@PatrikHAOS

Hi!

I've noticed that from time to time sensor that I use with this macro becomes "unknown" at midnight

This is the current state
{% from 'cheapest_energy_hours.jinja' import cheapest_energy_hours %}
{{cheapest_energy_hours('sensor.nordpool',hours=3, lowest=true, value_key='price', time_key='time') }}

below is screenshot, I was actually upp and noticed and the remedy when this happens is to reboot HA, reloading YAML does not restore the sensor. I have noticed one way of "Forcing" this issue is that you update some random other component and do not restart HA.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions