Turn_off light with transition reaches 0% but stays on

using this action:

    action:
      - service: >
          light.turn_{{trigger.to_state.state }}
        data:
          entity_id:
            - light.parking_light
            - light.mademoiselle_filou
          transition: 5

makes the lights show 0%, but in fact they are still on. Is this a bug, or shouldn’t we use transition to ‘off’ like this. Both are Ikea lights, but I dont think that has anything to do with it.

considering this Transition for turn_off service doesn't work for Yeelight Lightstrip this might eb a more generic bug after all?
please have a look? thanks!

Transition is always hardware dependent.

ok, but turn_off would be universal wouldn’t it?

Wouldn’t it be logic to think the transition is an inner HA thing, taking care of the final state of the service. I mean, light.turn_off obviously isn’t the same as light turn_on with brightness set to 0.

guess the additional service turn_off as in the link is still advisable.

    action:
      - service: >
          light.turn_{{trigger.to_state.state }}
        data:
          entity_id: &parking_lights
            - light.parking_light
            - light.mademoiselle_filou
          transition: 5
      - delay:
         seconds: 5
      - service: >
          light.turn_{{trigger.to_state.state }}
        data:
          entity_id: *parking_lights
#            - light.parking_light
#            - light.mademoiselle_filou