Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to implement color loops? (TZ-1171) #438

Closed
monty68 opened this issue Sep 25, 2024 · 1 comment
Closed

How to implement color loops? (TZ-1171) #438

monty68 opened this issue Sep 25, 2024 · 1 comment
Labels

Comments

@monty68
Copy link

monty68 commented Sep 25, 2024

Question

I am trying to implement the color loop feature and expected the stack to handle it as it does with other color-changing commands. Still, all I get when activating a color loop is that the stack is just sending enhanced hue/sat attribute updates
with the same value.

Is there an example of how to implement color loops?

Additional context.

No response

@github-actions github-actions bot changed the title How to implement color loops? How to implement color loops? (TZ-1171) Sep 25, 2024
@monty68
Copy link
Author

monty68 commented Sep 26, 2024

Some further observations:

  1. Stack changes the enhanced color mode to Hue/Saturation, but sends Enhanced Hue updates
  2. Stack correctly saves the last enhanced hue into the ColorLoopStoredEnhancedHue attribute
  3. Stack incorrectly ignores the ColorLoopStartEnhancedHue attribute
  4. Stack continues to send Enhanced Hue updates after the light has been turned off

@monty68 monty68 closed this as completed Sep 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant