For more complex equations it is often easier and more reliable to create a template sensor or binary sensor, then use that sensor as the basis for a State trigger with a for: duration instead of trying to write a template that covers both the equation and duration.
template:
- binary_sensor:
- name: "Paradies Above Salon"
state: >
{{ states(sensor.p_paradies) | int > states(sensor.p_salon) | int }}
trigger:
- platform: state
entity_id: binary_sensor.paradies_above_salon
to: 'on'
from: 'off'
for: '00:03:00'
However I believe you should assign the Solution tag to Didgeridrew’s post because it was the first to suggest using a Numeric State Trigger and that’s the answer to your original question.