Switch to "on" when Tibber is below avg_price or eaqual MIN_price

I’m new in Home automation and learn by trial and error.
Unfortunately I havn’t found actual a perfect solution for my problems.
(include Tibber blueprint)
Hope you have hint for me:

1st I have Tibber integration and I like to switch on (zigbee switch) for waterbed as long as the price is 0,02€ below AVG_price.
My actual solution start with AVG price and end if it is higer; I look for solution to offset the level -0,02€;

My automation: (working)

alias: Wasserbett ein 04-23
description: |
  Test der Preis unter dem Durchschnitt
  - platform: numeric_state
      - sensor.electricity_price_home_lw_4a
    attribute: avg_price
    above: sensor.electricity_price_home_lw_4a
condition: []
  - type: turn_on
    device_id: 9fa59a5bb7fcc59ad7d8fae9c5be943e
    entity_id: 7b9f0e5b6dc041ca62b5c89c437b4af5
    domain: light
mode: single

I have copied automation with “below” to stop; think it is eaqual when I like to stop earlier.

2nd I have a copied automation (for Accu vacuum cleaner) but attribute is “min_price”
I like to switch on only the hour of minimum price, but with “above” didnt activate and "eaqual" isnt allowed. I think an offset of one price can help too.

Thanks for your ideas