home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
71.13k stars 29.8k forks source link

Power on Transition Durations in Hue integration are broken #122688

Open thrillcat opened 1 month ago

thrillcat commented 1 month ago

The problem

While power off transition durations work properly for all lights, my Hue light strip power on transitions have broken. Lutron lights still fade up to desired setting, but Hue lights turn on instantly.

I've tried rebuilding the scene, relaunching the integration and Home Assistant. Nothing seems to bring back the power on duration for Hue lights.

What version of Home Assistant Core has the issue?

core-2024.7.3

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Philips Hue

Link to integration documentation on our website

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

Diagnostics information

No response

Example YAML snippet

alias: Movie Pause
description: ""
trigger:
  - platform: device
    device_id: da8279edc1e9976f975abcf08267e05b
    domain: media_player
    entity_id: a05712b1c49353847ee09deb577422cd
    type: paused
    for:
      hours: 0
      minutes: 0
      seconds: 6
  - platform: device
    device_id: 9d74b06d2a6203125a0e7237f0aac8c6
    domain: media_player
    entity_id: 95b0ecc2d2cdb8e9421cb145da29c9ab
    type: paused
  - platform: device
    device_id: 54857cc8b31eb19ec60814896dfccd96
    domain: media_player
    entity_id: dc512b88db4ea3ca320fb3b84cc1c7cf
    type: paused
    for:
      hours: 0
      minutes: 0
      seconds: 6
condition: []
action:
  - service: scene.turn_on
    metadata: {}
    target:
      entity_id: scene.theater_intermission
    data:
      transition: 10
mode: single

Anything in the logs that might be useful for us?

No response

Additional information

Have confirmed that all hue devices are up to date, Home Assistant is up to date (this may coincide with latest update I installed a week or so ago).

home-assistant[bot] commented 1 month ago

Hey there @balloob, @marcelveldt, mind taking a look at this issue as it has been labeled with an integration (hue) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `hue` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign hue` Removes the current integration label and assignees on the issue, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


hue documentation hue source (message by IssueLinks)

mark3apps commented 1 month ago

I've noticed this exact same behavior happening all of the sudden on my set up as well. Turn on commands ignore transition time.

domibarton commented 1 month ago

This is probably related to #122165, due to a change in the Philips Hue API after a firmware update.

domibarton commented 1 month ago

I've noticed this exact same behavior happening all of the sudden on my set up as well. Turn on commands ignore transition time.

@mark3apps Does it also ignore the temperature, like described in #122165?

mark3apps commented 1 month ago

Yes, for me it was also ignoring temp. I did find a workaround for the time being though. Found in another thread that removing effect: none from every scene seemed to fix the issue. I basically did a find and replace, restarted and at least for the moment, all my lights are back to normal and working.

thrillcat commented 1 month ago

I've removed 'effect: none' from all the scenes but it did not change the behavior. Transition time is still being ignored in turn on processes.

1358 commented 2 weeks ago

This started here immediately after a hue bridge update yesterday (BSB002 | 1.66.1966060010) @domibarton: Yes, temperature was ignored, too. Removing every effects: none from scenes.yaml "fixed" both.

thrillcat commented 2 weeks ago

None of the YAML edits worked for me but a week or two ago I ran an HA update and all is back to normal.