Input slider 0

For some reason my lights are still on when I use the input slider and put it on the far left (0)

Is this working how it should be? This way I will have to add a on/off switch together with a slider… I rather only have a slider in my view.

Uses automation example: https://home-assistant.io/components/input_slider/