Light toggle card not refreshing status

Hello,

I’ve a card with different toggles of lights, I’ve created a group Light to group the main entity, when I turn On the main toggle all lights are power on, however, when I do Turn Off the toggle alli lights go off but the card show some light still on even if in reality it’s off - it’s random since not always happen this behaviour with the same light or only one

this is my card yaml:

type: entities
state_color: true
title: Dinning Lights
entities:
  - type: section
  - entity: light.sonoff_01minizb_light
    type: custom:multiple-entity-row
    name: TV Lamp
    icon: mdi:lamp
    toggle: true
    secondary_info: last-changed
  - entity: light.sonoff_01minizb_light_2
    type: custom:multiple-entity-row
    name: Table Lamp
    icon: mdi:ceiling-light-multiple
    toggle: true
    secondary_info: last-changed
  - entity: light.switch_living_rooflamp_light_3
    type: custom:multiple-entity-row
    name: Roof Lamp
    icon: mdi:ceiling-light-multiple-outline
    toggle: true
    secondary_info: last-changed
  - type: section
  - entity: light.dinning_lamps
    type: custom:multiple-entity-row
    name: Dinning Lamps
    toggle: true
    state_color: true
    entities:
      - entity: light.sonoff_01minizb_light
        name: TV
      - entity: light.sonoff_01minizb_light_2
        name: Table
      - entity: light.switch_living_rooflamp_light_3
        name: Roof
show_header_toggle: false