Environment Canada 'loop' configuration variable for the camera doesn't appear to work

I’m using the Environment Canada camera for radar, but I don’t want it to loop. From the integration page it says to set ‘loop’ to false to stop that.

So I set that up like this:

    # Cameras
    camera:
      - platform: environment_canada
        latitude: xxxxxxxxxxxxxxxx
        longitude: yyyyyyyyyyyyyyyyy
        name: Weather Home Camera
        loop: false

However it doesn’t work. The image on the dashboard still loops.

Is this a bug or am I doing something wrong?

I think this is a bug. I entered an issue for HA core.

I created a pull request with a possible fix here.