question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Lights do not always follow transition correctly.

See original GitHub issue

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

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:20 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
marcelveldtcommented, May 5, 2022

@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 ?

0reactions
hamsandocommented, Dec 7, 2022

I’m on 2022.11.5 with a Nanoleaf Essentials strip which is running as Homekit over Thread.

Trying to ramp up brightness, neither light.on nor scene.on nor developer tools allow for transitions. It just seems to ignore the transition and set the brightness to max immediately.

Note: I can successfully use the above methods to ramp my lutron caseta lights and my hue bulbs/strips (connected via zigbee2mqtt NOT via hue hub) up and down.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Transitions: A Complete Guide (with 100+ Examples)
Transition words are the road signs in writing. They help readers follow your train of thought without becoming bogged down trying to discern...
Read more >
6 Types of Transition Phrases and Sentences (with Examples)
You can use transitional words at the beginning of a sentence to explain the relation with a previous sentence, or to connect two...
Read more >
Transitions
These transitions do not always have to use transitional words or phrases; how- ever, they can be useful.
Read more >
Jablonski diagram - Chemistry LibreTexts
Curved lines show transitions of electrons without any interaction with light. Within a Jablonski diagram several different pathways show how an ...
Read more >
Transition Questions on SAT Writing: Tips and Examples
#5: Narrow Down the Choices. Eliminate answer choices that don't logically set up the information or follow the previous sentence. The correct ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found