core: Lights do not always follow transition correctly.

The problem

Lights won’t follow transition time correctly, but turn on straight away to set brightness in scene. Not every light shares this behavior, some lights go to e.g. 190 brightness if set in scene, then go to 1 and DO follow the set transition correctly over the set period of time. While other lights turn on and remain at their set end brightness. All lights in the automation are Philips Hue.

The automation and scene file are attached below, so it makes for a long piece of text. (I’m sorry).

The included automation and script worked fine for more than 6 months. And with a longer transition time than de max set 300 seconds that is now in the included automation (for own debugging). Original transition time was 2400 seconds.

What version of Home Assistant Core has the issue?

core-2022.4

What was the last working version of Home Assistant Core?

core-2022.3.8

What type of installation are you running?

Home Assistant Container

Integration causing the issue

Automation, Philips Hue

Link to integration documentation on our website

https://www.home-assistant.io/integrations/hue/

Diagnostics information

config_entry-hue-dc0d1e92f1fe050932e1588d7d7f1a3a.json.txt

Example YAML snippet

// Automation
alias: Verlichting binnen aan met zonsondergang
description: ''
trigger:
  - platform: sun
    event: sunset
    offset: '-00:30:00'
condition:
  - condition: or
    conditions:
      - condition: zone
        entity_id: person.redacted
        zone: zone.home
      - condition: zone
        entity_id: person.patrick
        zone: zone.home
action:
  - choose:
      - conditions:
          - condition: state
            entity_id: sensor.buienradar_condition
            state: clear
        sequence:
          - delay:
              hours: 0
              minutes: 10
              seconds: 0
              milliseconds: 0
    default: []
  - service: scene.turn_on
    data:
      transition: 300
    target:
      entity_id: scene.avond_verlichting
mode: single

//Scene
name: Avond verlichting
  entities:
    light.hoeklamp_woonkamer:
      effect_list:
      - None
      - candle
      supported_color_modes:
      - brightness
      mode: normal
      dynamics: none
      friendly_name: Hoeklamp woonkamer
      supported_features: 44
      color_mode: brightness
      brightness: 152
      effect: None
      state: 'on'
    light.hue_runner_spot_1:
      min_mireds: 153
      max_mireds: 454
      effect_list:
      - None
      - candle
      supported_color_modes:
      - color_temp
      mode: normal
      dynamics: none
      friendly_name: Hue Runner Spot 1
      supported_features: 44
      color_mode: color_temp
      brightness: 205
      color_temp: 346
      hs_color:
      - 28.016
      - 59.968
      rgb_color:
      - 255
      - 173
      - 102
      xy_color:
      - 0.507
      - 0.384
      effect: None
      state: 'on'
    light.hue_runner_spot_2:
      min_mireds: 153
      max_mireds: 454
      effect_list:
      - None
      - candle
      supported_color_modes:
      - color_temp
      color_mode: color_temp
      brightness: 166
      color_temp: 346
      hs_color:
      - 28.016
      - 59.968
      rgb_color:
      - 255
      - 173
      - 102
      xy_color:
      - 0.507
      - 0.384
      effect: None
      mode: normal
      dynamics: none
      friendly_name: Hue Runner Spot 2
      supported_features: 44
      state: 'on'
    light.hue_runner_spot_3:
      min_mireds: 153
      max_mireds: 454
      effect_list:
      - None
      - candle
      supported_color_modes:
      - color_temp
      mode: normal
      dynamics: none
      friendly_name: Hue Runner Spot 3
      supported_features: 44
      color_mode: color_temp
      brightness: 205
      color_temp: 346
      hs_color:
      - 28.016
      - 59.968
      rgb_color:
      - 255
      - 173
      - 102
      xy_color:
      - 0.507
      - 0.384
      effect: None
      state: 'on'
    light.hue_runner_spot_4:
      min_mireds: 153
      max_mireds: 454
      effect_list:
      - None
      - candle
      supported_color_modes:
      - color_temp
      mode: normal
      dynamics: none
      friendly_name: Hue Runner Spot 4
      supported_features: 44
      color_mode: color_temp
      brightness: 177
      color_temp: 366
      hs_color:
      - 28.327
      - 64.71
      rgb_color:
      - 255
      - 167
      - 89
      xy_color:
      - 0.524
      - 0.387
      effect: None
      state: 'on'
    light.lamp_wereldbol:
      min_mireds: 153
      max_mireds: 454
      supported_color_modes:
      - color_temp
      mode: normal
      dynamics: none
      friendly_name: Lamp wereldbol
      supported_features: 40
      color_mode: color_temp
      brightness: 255
      color_temp: 366
      hs_color:
      - 28.327
      - 64.71
      rgb_color:
      - 255
      - 167
      - 89
      xy_color:
      - 0.524
      - 0.387
      state: 'on'
    light.light_strip_woonkamer:
      min_mireds: 153
      max_mireds: 500
      effect_list:
      - None
      - candle
      - fire
      supported_color_modes:
      - color_temp
      - xy
      color_mode: color_temp
      brightness: 207
      hs_color:
      - 28.679
      - 69.803
      rgb_color:
      - 255
      - 162
      - 77
      xy_color:
      - 0.538
      - 0.389
      effect: None
      mode: normal
      dynamics: none
      friendly_name: Light strip woonkamer
      supported_features: 44
      color_temp: 388
      state: 'on'
    light.eettafel_lamp_rechts:
      effect_list:
      - None
      - candle
      supported_color_modes:
      - brightness
      mode: normal
      dynamics: none
      friendly_name: Eettafel lamp rechts
      supported_features: 44
      color_mode: brightness
      brightness: 133
      effect: None
      state: 'on'
    light.eettafel_lamp_links:
      effect_list:
      - None
      - candle
      supported_color_modes:
      - brightness
      mode: normal
      dynamics: none
      friendly_name: Eettafel lamp links
      supported_features: 44
      color_mode: brightness
      brightness: 133
      effect: None
      state: 'on'

Anything in the logs that might be useful for us?

None found regarding Philips Hue or related entities.

Additional information

No response

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 26 (6 by maintainers)

Most upvoted comments

@kaandorp please create a new issue for your report as this one is really specific to scenes. That said, transitions should work correctly. If not, we would already have received 100s of issue reports. Note that transition is in seconds and not milliseconds, maybe there’s a clue in there ?