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
70.88k stars 29.56k forks source link

TP Link L530 bulbs not transitioning properly #121911

Open flyinghier opened 1 month ago

flyinghier commented 1 month ago

The problem

When I call the light.turn_on service on by TP link Tapo L530 bulbs, they ignore any transition instructions. I am able to successfully transition another light using the same integration which is a Kasa KL135 bulb, however the L530's are not transitioning as expected.

What version of Home Assistant Core has the issue?

core-2024.7.2

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

TP-Link Smart Home

Link to integration documentation on our website

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

Diagnostics information

No response

Example YAML snippet

service: light.turn_on
data:
  brightness_pct: 2
  transition: 22
  rgb_color:
    - 245
    - 20
    - 20
target:
  device_id: fa23ed54be01ee6dbb2d608ea92f2638

Anything in the logs that might be useful for us?

No response

Additional information

No response

home-assistant[bot] commented 1 month ago

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

Code owner commands Code owners of `tplink` 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 tplink` 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)


tplink documentation tplink source (message by IssueLinks)

rytilahti commented 1 month ago

Alas, only kasa-branded devices support defining a transition for individual commands, so we should remove the transition from supported features for tapo bulbs like yours.

For tapo devices, you can either toggle smooth transitions on and off, or adjust the transition time for both on & off separately. You could use a script to adjust those values prior adjusting the light settings to simulate different transition periods.

SiddyHq commented 1 month ago

I'm having the same issues with L530 bulbs 2 off. But I've working with Tapo as well over them dropping off the network with 2 issues I have 1 when powering off and back on they come on as 100% white 2 sometimes they lose there programs in the Tapo app on at sunset and off at set times. Tapo is causing issues in HA on timeouts. It did do an update 2 days ago but no different. Update - 2 bulbs above are hardware 1 - a 3rd L530 I have is hardware 2 and don't seem to have the issue.