I cannot configure a Riemann integration via configuration.yaml file

Hi,
I am following the documentation about Riemann integration:

At the end of the page it is described that it is possible to configure a Riemann integration in the configuration.yaml file.

I tried many times, but I have not been succeed. The configuration does not work.

In my configuration.yaml file, this is the section for sensors:

sensor: !include sensors.yaml

in the sensors.yaml file, this is the section for the Riemann integration configuration:

## Integration sensor test
  - platform: integration
    source: sensor.ltsp_1_mk4_power
    name: xxMK4_energy
    round: 2
    unit_prefix: k
    unit_time: h
    method: left

I appreiate any help to make this configuration to work.

Did you restart HA?

Hi @parautenbach
Thanks a lot for your message.
Now it is working after restart Home assistant.

Yes, the documentation does not indicate that RESTART is required.

It is mentioned somewhere that when any new integration is configured, you need to restart. It’s not mentioned on every page though. You can’t just reload the config. It will only reload what it already knows about.