Hue light Switches gui

If I look in my logbook it shows light.light_2 turns of which it does but then the gui jumps the switch to show as on.

Any ideas ? bug in the gui ?

  • alias: “Lights on - Playback Stops”
    trigger:

    • platform: state
      entity_id: media_player.kodi
      from: ‘playing’

    action:

    • service: light.turn_on
      entity_id: group.ceilinglights
  • alias: “Lights Off - Playback Starts”
    trigger:

    • platform: state
      entity_id: media_player.kodi
      to: ‘playing’

    action:

    • service: light.turn_off
      entity_id: group.ceilinglights

#TV Lights Kodi

  • alias: “Light on - Playback Starts”
    trigger:

    • platform: state
      entity_id: media_player.kodi
      to: ‘playing’

    action:

    • service: light.turn_on
      entity_id: light.tv_
  • alias: “Light off - Playback Stops”
    trigger:

    • platform: state
      entity_id: media_player.kodi
      from: ‘playing’

    action:

    • service: light.turn_off
      entity_id: light.tv_

#PC Lights Kodi

  • alias: “Light On - Playback Starts”
    trigger:

    • platform: state
      entity_id: media_player.kodi
      to: ‘playing’

    action:

    • service: light.turn_on
      entity_id: light.pc
  • alias: “Light Off - Playback Stops”
    trigger:

    • platform: state
      entity_id: media_player.kodi
      from: ‘playing’

    action:

    • service: light.turn_off
      entity_id: light.pc

default_view:
view: true
icon: mdi:home
entities: []
name: default_view

Lights:
view: true
name: Lights
entities:

  • group.allbedroomlights
  • group.ceilinglightsauto
  • group.pclightsauto
  • group.tvlightsauto

Media:
view: true
name: Media
entities:

  • media_player.kodi
  • sensor.plex
  • media_player.joanne

allbedroomlights:
name: All Bedroom Lights
entities:

  • group.ceilinglights
  • light.tv_
  • light.pc

CeilingLightsAuto:
name: Ceiling Lights Auto
entities:

  • automation.lights_off__playback_starts
  • automation.lights_on__playback_stops

PCLightsAuto:
name: PC Lights Auto
entities:

  • automation.light_on__playback_starts
  • automation.light_off__playback_stops

TVLightsAuto:
name: TV Lights Auto
entities:

  • automation.light_on__playback_starts
  • automation.light_off__playback_stops

CeilingLights:
name: Ceiling Lights
entities:

  • light.light_1
  • light.light_2