Skip to content

Conversation

@protyposis
Copy link
Collaborator

This PR contains two refactorings and a fix for #1381. The fix improves #1380 to cover another use case.

#1356 has broken two use cases when turning on a light from off state, leading to missing adaptation:

@protyposis
Copy link
Collaborator Author

Not a fix - I misunderstood what adapt_only_on_bare_turn_on is supposed to do.

@protyposis protyposis closed this Jan 13, 2026
@basnijholt
Copy link
Owner

I recently modified the README slightly because even I had forgotten its precise purpose 😅

I think it is clearer now:

When turning lights on initially. If set to true, AL adapts only if light.turn_on is invoked without specifying color or brightness. ❌🌈 This e.g., prevents adaptation when activating a scene and marks the light as manually controlled. If false, AL adapts regardless of the presence of color or brightness in the initial service_data. Needs take_over_control enabled. 🕵️

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.

3 participants