Skip to content

Something is wonky with Groups and Scenes (Settings not being saved / recalled properly when creating scenes for a group) #232

@Zarn-Smith

Description

@Zarn-Smith

Describe the bug

Group created with some bulbs of the same type.
Scenes created / saved with varying brightness and colour temperature settings.

Scene_0's saved settings: (Brightness 50, Color Temp 200)

Image

Scene_1's saved settings: (Brightness 100, Color Temp 200)

Image

Scene_2's saved settings: (Brightness 150, Color Temp 454)

Image

To Reproduce

After saving these scenes, select one of the saved scenes and recall them:

Recall Scene 0 Example: Interface is showing incorrect value for Brightness on 2 bulbs. (It looks like the interface did not update correctly). (It looks like the bulbs have been set correctly however if I browse to the bulb in another window and look at the brightness values).

Image

Recall Scene 1 Example: Interface is still showing the same incorrect value for Brightness on 2 bulbs as above. On another bulb the brightness is now showing 102 instead of 100. More worryingly 102 has been set as the bulb brightness in main device page which means that the value was not saved correctly.

Image

Hit refresh window on the browser and go back to groups, select the group and recall scene 1 again. Now 2 bulbs are showing that the incorrect brightness values were saved. But the interface is at least showing the values that were saved.

Image

Recall Scene 2: Two different bulbs are showing the incorrect brightness has been saved:

Image

I don't seem to be able to reproduce the color temp values not being saved correctly at the moment, but it has definately happened also.

Expected behavior

Interface shows the scene values correctly.
Interface saves the values that were set correctly.

Zigbee2MQTT 2.6.1
Frontend Version 2.0.1
Running on latest version of HAOS on a Pi 5.

Affected browsers

Firefox

Stacktrace

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions