mirror of
https://github.com/home-assistant/core.git
synced 2026-06-02 21:54:27 +01:00
963d161f72
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
29 lines
671 B
YAML
29 lines
671 B
YAML
# Describes the format for available frontend services
|
|
|
|
set_theme:
|
|
name: Set theme
|
|
description: Set a theme unless the client selected per-device theme.
|
|
fields:
|
|
name:
|
|
name: Theme
|
|
description: Name of a predefined theme
|
|
required: true
|
|
example: "default"
|
|
selector:
|
|
theme:
|
|
mode:
|
|
name: Mode
|
|
description: The mode the theme is for.
|
|
default: "light"
|
|
selector:
|
|
select:
|
|
options:
|
|
- label: "Dark"
|
|
value: "dark"
|
|
- label: "Light"
|
|
value: "light"
|
|
|
|
reload_themes:
|
|
name: Reload themes
|
|
description: Reload themes from YAML configuration.
|