Skip to content

Fix Ikea scenes with on/off going wild - #8197

Merged
manup merged 1 commit into
dresden-elektronik:masterfrom
manup:fix_ikea_scene_onoff
Apr 30, 2025
Merged

Fix Ikea scenes with on/off going wild#8197
manup merged 1 commit into
dresden-elektronik:masterfrom
manup:fix_ikea_scene_onoff

Conversation

@manup

@manup manup commented Apr 30, 2025

Copy link
Copy Markdown
Member

Issue: #8187

When a scene with on=false is recalled, we send a Off With Effect Command to Ikea lights since they otherwise won't turn off physically. There is also a StateChange added to ensure this works, which is usually a good thing.

However if a scene is then called with on=true, the StateChange might still be alive and turn the light off again. This can be seen in the issue.

The PR clears the state/on StateChange for Ikea lights when a scene is recalled preventing old state to be applied on a newer one.

Issue: dresden-elektronik#8187

When a scene with on=false is recalled, we send a Off with effect command to Ikea lights since they otherwise won't turn off physically. There is also a StateChange added to ensure this works.

Hoewever if a scene is then called with on=true, the StateChange *might* still be alive and turn the light off again. This can be seen in the issue.

The PR clears state/on StateChange for Ikea lights when a scene is recalled preventing old state to be applied on a newer one.
@manup manup added the Fix label Apr 30, 2025
@manup manup added this to the v2.30.0-beta milestone Apr 30, 2025
@manup
manup merged commit 9f33430 into dresden-elektronik:master Apr 30, 2025
@manup
manup deleted the fix_ikea_scene_onoff branch April 30, 2025 13:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant