#Nordpool Integration

1 messages · Page 1 of 1 (latest)

rugged marsh
#

As the thread title states, I need help setting up Nordpool integration so that I can visualize the cost of electricity/hour.

I installed the nordpool integration via HACS, bit I cannot get it to show anywhere. Nordpool installed to the custom_components folder, and then I proceeded to add this to my configuration.yaml file:

nordpool:
sensor:
  - platform: nordpool
    currency: "NOK"
    VAT: true
    region: "Oslo"
    precision: 3
    price_type: kWh
binary_sensor:
  - platform: template
    entity_id: ('sensor.nordpool_kwh_xxxxxx_xxx_x_xx_xxx') 
    sensors:
      billigste_4_timer:
        value_template: >-
          {% set l=state_attr('sensor.nordpool_kwh_xxxxxx_xxx_x_xx_xxx', 'raw_today')|sort(attribute='value') %}
          {{ (now() >= l[0].start and now() <= l[0].end)
            or (now() >= l[1].start and now() <= l[1].end)
            or (now() >= l[2].start and now() <= l[2].end)
            or (now() >= l[3].start and now() <= l[3].end) }}

I can see the binary sensor, but that is all I can find. Can someone please help me straighten this one out?

#

Looking at the entity "billigste_4_timer" shows me "unavailable"