Nordpool create trigger = or below x cents

I installed nordpool. Works fine. I want to create an automation that triggers on a certain price per kWh, or below. I cannot get it to work with the sensor and attributes that nordpool creates, because you cannot go " above or below" a state. This is what I came up with for now:

alias: VV Hal, goedkoopste tijd
description: ""
triggers:
  - trigger: template
    value_template: "{{ states('sensor.nordpool_cheapest_time') == now().strftime(\"%H:%M\") }}"
conditions:
  - condition: state
    entity_id: sensor.nordpool_kwh_nl_eur_3_10_021
    state: "0.02"
  - condition: numeric_state
    entity_id: sensor.panasonic_heat_pump_main_outside_temp
    below: 15
actions:
  - device_id: 10d41516145f08ca7120ae2c88deee1a
    domain: climate
    entity_id: 4272c153f83ddebeeb2be1392ae76258
    type: set_hvac_mode
    hvac_mode: heat
  - device_id: 10d41516145f08ca7120ae2c88deee1a
    domain: climate
    entity_id: 4272c153f83ddebeeb2be1392ae76258
    type: set_hvac_mode
    hvac_mode: "off"

Don’t mind the cheapest time part.

I think Ive got it now.


alias: Verwarming inschakelen lage prijs
description: Badkamer en hal
triggers:
  - trigger: numeric_state
    entity_id:
      - sensor.nordpool_lowest_price
    below: 0.02
  - trigger: numeric_state
    entity_id:
      - sensor.panasonic_heat_pump_main_outside_temp
    below: 16
conditions: []
actions:
  - action: climate.set_hvac_mode
    metadata: {}
    data:
      hvac_mode: heat
    target:
      entity_id:
        - climate.0xa4c1383076cd079e
        - climate.0xa4c138c5b4282419
mode: single

You can set the numeric condition on attribute

Yes, that is what I did now. I completely overlooked it, and than went down the rabbithole.

No, this is also incorrect.
Because now it only checks if the cheapest price is met, not it the cheapest price is met NOW.

That completely depends on how you used it.
But the I used your first code that was the problem as the base.