Candidate for #632, addressing #566.
Preserve complete area and segment layouts when stopping effects, including mixed colours, brightness and native Kelvin settings.
Check recovery state before starting an effect rather than allowing a scene with no complete layout to restore.
After losing recovery state, set a complete static layout before selecting another effect.
Basic controls and qualified write-only devices remain supported.
Live still leaves completed changes applied when cancelled or closed.
Install this exact candidate through HACS, restart Home Assistant and repeat the mixed-colour and white Rainbow -> Off sequences.
Hardware restoration remains unconfirmed.