Skip to content

How to get the lowest or highest price?

Morten Trab edited this page Mar 28, 2022 · 1 revision

To get the lowest or highest price for today or tomorrow, simply use one of these templates

Lowest price today

{{ state_attr('sensor.energi_data_service_west_of_the_great_belt','today_min').price }}

Highest price today

{{ state_attr('sensor.energi_data_service_west_of_the_great_belt','today_max').price }}

Lowest price tomorrow

{{ state_attr('sensor.energi_data_service_west_of_the_great_belt','tomorrow_min').price }}

Highest price tomorrow

{{ state_attr('sensor.energi_data_service_west_of_the_great_belt','tomorrow_max').price }}