Skip to content

Allow settings value to not affect a light below 0 #132

@Mattie432

Description

@Mattie432

hi, great addon.

My use case is that I have 6 lights from Zigbee2MQTT, sending individual commands to each lightbulb is network expensive, so I additionally have these 6 in a group so there's only 1x command being sent.

The bulbs don't get very dim, so I want to turn these on one-by-one between brightness levels 1-6, after that, I want to start using the group as normal.

image

Group is 0 up till brightness level 7, after which it scales to 100.
image

Individual light 1 turns on at 1% brightness, should stay at 1% until lightner goes past 6%
image

Individual light 2 turns on at 2% brightness, should stay on at 1% until lightner goes past 6%
image

... etc

Up to individual light 6
image

What actually ends up happening between levels 1-6 is that the individual lights are correctly controlled, they are set to 1% brightness in sequence. But the group is also controlled, setting the group brightness down to 0 (turning them all off).

Suggestion is, to add some additional value to the settings (maybe 1:null) which would mean that the light does not get controlled at all during these levels. For my use case, I would set the group to be 6:null, 7:1 so below 7 % the light is not controlled at all (thus not switching off the group).

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions