Skip to content

Fix ignore_off logic#63

Merged
chazzu merged 1 commit intochazzu:masterfrom
Snuffy2:Fix-ignore_off-logic
Oct 6, 2025
Merged

Fix ignore_off logic#63
chazzu merged 1 commit intochazzu:masterfrom
Snuffy2:Fix-ignore_off-logic

Conversation

@Snuffy2
Copy link
Contributor

@Snuffy2 Snuffy2 commented Oct 5, 2025

ignore_off logic wasn't working properly.

Logic simplification:

  • Simplified the conditional statement in the add_light method to make it more readable and maintainable, ensuring that lights are only added to _active_lights if they are not already present and either not off or ignore_off is False. (custom_components/animated_scenes/animations.py)

@chazzu chazzu merged commit 5148993 into chazzu:master Oct 6, 2025
3 checks passed
@Snuffy2 Snuffy2 deleted the Fix-ignore_off-logic branch October 6, 2025 01:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants