Better handling of screensaver-theme.

This commit is contained in:
illuzn
2022-05-26 00:30:19 +09:30
parent 1cfaa7877e
commit 4fb3204f73
5 changed files with 53 additions and 38 deletions

View File

@@ -504,6 +504,8 @@ If `autoWeather: true` is set. You may also override the default color mapping f
Specify colours as red green and blue values from 0-255 e.g. `[255, 0, 0]` for red or `[0, 0, 255]` for blue. These are translated internally to RGB565 (note that this has lower color depth so the colours may not appear the same). Also note that the screen has a low contrast ratio, so colors look sigificantly different at full display brightness and lowest brightness.
For complex theme setups, you may configure `theme: !include /config/appdaemon/apps/screensaver-theme.yaml` and download `screensaver-theme.yaml` from the appdaemon folder and place it in the same folder as `apps.yaml`. Note: this will cause AppDaemon to throw a warning that `screensaver-theme.yaml` is not a valid yaml file - this warning can be safely ignored or you can configure `invalid_yaml_warnings: 1` (see appdaemon.yaml in the appdaemon folder).
#### Schedule sleep brightness
It is possible to schedule a brightness change for the screen at specific times.