Thanks, version with different prices for month and weekend below if useful for anyone (Bergen BKK)
{% set hour = now().hour %}
{% set month = now().month %}
{% set day_of_week = now().weekday() %}
{% set extra = 0.01 %}
{% set weekend = day_of_week >= 5 %}
{% if month <= 3 %}
{% if weekend or hour > 21 or hour < 6 %}
{% set price = extra + 0.3786 %}
{% else %}
{% set price = extra + 0.5025 %}
{% endif %}
{% else %}
{% if weekend or hour > 21 or hour < 6 %}
{% set price = extra + 0.4652 %}
{% else %}
{% set price = extra + 0.5925 %}
{% endif %}
{% endif %}
{% set threshold_for_subsidy = 0.9125 %}
{% set subsidy = max((current_price - threshold_for_subsidy) * 0.9, 0) %}
{{ (price - subsidy) | round(4) }}