Restore brightness correctly when using `--transition-time` with `on`/`off` command
Open
bug
- Dominant language
- Python
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
Using a transition time to e.g. turn off a light results in a very dimmed light when turned on again. The `phue` package solves this by caching the brightness before turning off the light internally, this isn't persisted across invocations of the program however, so we'd need to implement a similar mechanism ourselves (and persist to a directory like `.config/lights`).
> Note that directly specifying the brightness will of course always work, e.g. `lights dim 100` instead of `lights on`
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.