core icon indicating copy to clipboard operation
core copied to clipboard

LED Stripe Controller TS0503B doesn't turn completely off

Open LeonEmm opened this issue 2 years ago β€’ 15 comments

The problem

Hello,

i just added a TS0503B LED-Stripe controller via ZHA to my HomeAssistant. I noticed, that when i turn the light off, it doesn't turn completely off, but stays on at the lowest brightness. When I send a command via "Manage Zibgee Device" -> Cluster Level-Control -> Command "move_to_level_with_on_off (id: 0x0004)" and set the value to 0, the Light goes off.

Is there a fix available for this behavior ?

What version of Home Assistant Core has the issue?

core-2023.10.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

ZHA

Link to integration documentation on our website

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

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

LeonEmm avatar Oct 14 '23 17:10 LeonEmm

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

Code owner commands

Code owners of zha 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 zha Removes the current integration label and assignees on the issue, add the integration domain after the command.

(message by CodeOwnersMention)


zha documentation zha source (message by IssueLinks)

home-assistant[bot] avatar Oct 14 '23 17:10 home-assistant[bot]

Can you upload diagnostic JSON for your specific device and also a ZHA debug log of you turning the light off?

puddly avatar Oct 14 '23 17:10 puddly

home-assistant_zha_2023-10-14T18-32-31.041Z.log zha-fdb19c1350ac8f3485e828b8a4fd5075-_TZ3210_w7ge4ldo TS0503B-e95c2e36b5480bc88a05a6fc4e5df1b4.json.txt

There are your requested files - but to be honest - as I recorded a the debug log, it worked flawelessly

LeonEmm avatar Oct 14 '23 18:10 LeonEmm

I have the same issue with a TS0503B.

I use zigbee2mqtt

danwooller avatar Oct 22 '23 16:10 danwooller

I have exactly the same issue with one of my TS0503B. Another one works fine tho.

I however found a workaround:

Calling service light.turn_off on the device with a 2 second transition set turns it off completely. i don’t know why that works but a simple on/off does not.

w-marco avatar Oct 29 '23 07:10 w-marco

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment πŸ‘ This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

I have the same issue with a TS0503B and ZHA.

Core 2024.1.5 HA 11.4

alprausch avatar Jan 28 '24 12:01 alprausch

I have this issue too.

HAOS 11.4 Supervisor 2023.12.1 Core 2024.1.5 Frontend 20240104.0

Light TS0505B

jvelaaa avatar Jan 30 '24 17:01 jvelaaa

Same issue. Sending Off command from OnOff cluster is working.

Cubixmeister avatar Apr 02 '24 17:04 Cubixmeister

I have the same issue with a TS0505B. My LED strip is RGBW and if I turn the light off from an RGB color it goes to lowest brightness. When turning off from any temperature of white it properly turns off.

jbaits85 avatar Apr 23 '24 10:04 jbaits85

I am also having the same issue with TS0503B where it refuses to fully switch off.

Core 2024.5.2 Supervisor 2024.05.1 Operating System 12.3

For me the workaround of 'send a command via "Manage Zibgee Device" -> Cluster Level-Control -> Command "move_to_level_with_on_off (id: 0x0004)" and set the value to 0, the Light goes off.' also turned the light off. But switching it from control panel resumed the behavior of not fully switching off.

Chibribub avatar May 10 '24 07:05 Chibribub

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment πŸ‘ This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

I've got the same problem. The LED strip never completely turns off, exactly as described by others.

Core 2024.8.1 Supervisor 2024.08.0 Operating System 12.4

PhilippThomasberger avatar Aug 14 '24 08:08 PhilippThomasberger

Exactly the same issue in:

Core 2024.10.1 Supervisor 2024.10.0 Operating System 13.1

(workarounds listed above work, but unable to switch it off from the panel)

ainformatico avatar Oct 10 '24 16:10 ainformatico

I have the same issue but solved it with a custom command for my ZHA service in the automation:

actions:
  - data:
      ieee: <your_device_ieee_address>
      endpoint_id: 1
      cluster_id: 8
      cluster_type: in
      command: 4
      command_type: server
      args:
        - 0
        - 1
    action: zha.issue_zigbee_cluster_command

unic8s avatar Oct 11 '24 15:10 unic8s

I have the same problem with a LED controller TS0505B. Curiously, I use 5 of these devices and only one shows this behavior since a few days... It shows exactly the same behavior as mentioned by @jbaits85

thitcher avatar Oct 28 '24 05:10 thitcher

This problem is still there. The Action Script works, same goes for the manual action.

Core 2024.11.2 Supervisor 2024.11.4 Operating System 13.2 Frontend 20241106.2

pd5wl avatar Nov 23 '24 08:11 pd5wl

same problem here -.-

Core - 2024.12.5 Supervisor - 2024.12.0 Operating System - 14.1 Frontend - 20241127.8

workaround with transition of 2 seconds (even with only 1 second) got it working for me :) still kinda weird behaviour

tho-myr avatar Dec 28 '24 22:12 tho-myr

There are two attributes on the controller that seem like they could be related, seen here visible on the entity card.

Screenshot 2025-01-08 at 10 47 29

Off brightness seems like the most likely candidate here - perhaps there is a custom command to update this attribute?

partridgeworks avatar Jan 08 '25 10:01 partridgeworks

Hmm, not sure. these two turning off properly grafik

grafik

but this one not: grafik

thitcher avatar Jan 08 '25 11:01 thitcher

Thanks for sharing, looks like it might not be related after all.

FWIW I was able to use the workaround 'toggle light with transition 2 seconds' to get it working for now.

When I have time I'd like to look more into clusters including the comment above about a custom command

partridgeworks avatar Jan 08 '25 11:01 partridgeworks

Same problem with a TS0503B, can't seem to get any of the suggested solutions to work either :/

creationar avatar Jan 31 '25 19:01 creationar

Same problem here. I have 3 and all behave this way.

sjd17 avatar Feb 08 '25 23:02 sjd17

actions:

  • data: ieee: <your_device_ieee_address> endpoint_id: 1 cluster_id: 8 cluster_type: in command: 4 command_type: server args: - 0 - 1 action: zha.issue_zigbee_cluster_command

@unic8s This works to get the lights off. But the state still is on and how to get the lights on again?

ponchofiesta avatar Mar 02 '25 10:03 ponchofiesta

I am having this problem as well, I turn the light off and it remains on at a very low level. Is there a fix for this anyone has found yet?

400HPMustang avatar Mar 06 '25 22:03 400HPMustang

I've had good luck with adding a transition as other mentioned. I use the light.turn_off action with a 1 second transition in my automation where I turn any of them off and haven't had any issues.

sjd17 avatar Mar 06 '25 23:03 sjd17

@400HPMustang the workaround with transition of 2 seconds worked for me

you can also create a light_profiles.csv in the root config directory of home assistant and set the default transition to the 2 seconds

light_profiles.csv content but replace light.thomas_dart_protection_light or light.thomas_tv_backlight_light_2 with your lights entity id:

id,x,y,brightness,transition
light.thomas_dart_protection_light.default,,,,2
light.thomas_tv_backlight_light_2.default,,,,2

tho-myr avatar Mar 06 '25 23:03 tho-myr

@unic8s This works to get the lights off. But the state still is on and how to get the lights on again?

I just use the standard action for "switch on" the device and it worked right away

unic8s avatar Mar 27 '25 14:03 unic8s

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment πŸ‘ This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

FWIW, I've placed my file in home > config > light_profiles.csv with the content below and it doesn't work even after restarting home assistant.

id,x,y,brightness,transition
light.bed_room_led_lights_1,,,,2

JAQuent avatar Jul 23 '25 22:07 JAQuent