open state for cover removed from "active color"#51836
open state for cover removed from "active color"#51836vojtechj wants to merge 1 commit intohome-assistant:devfrom
Conversation
|
Please take a look at the requested changes, and use the Ready for review button when you are done, thanks 👍 |
|
That's not really the definition of "active", it just means like which state is most significant/highlighted. E.g. we have tile card currently colored purple when a cover is open, and grey when it is closed. With this change it will be grey both when it is open and closed, which I don't think is desired. So I don't think this should be accepted. Can you explain what problem you're trying to solve, what you want the end-result to be? |
In the source files it's called active, so I called it active as well. Let's imagine an example: A gate with a beacon. When a gate is opening or closing, the beacon lights up (or blinks). When the gate stops moving (is closed or open) the beacon is off. And that's make a lot of sense to have the beacon light up when the gate is moving, doesn't it? |
Proposed change
Why on earth would someone consider open state of a cover as an active state?
If I have for example a garage door or a gate ... shouldn't the active state be only
when the gate/garage door are moving? i.e. opening/closing?
Type of change
Checklist
If user exposed functionality or configuration variables are added/changed:
To help with the load of incoming pull requests: