The Default Values Suggest That The User enters 'light' as a parameter for the theme name. 'Light' is, however, not a valid option on a fresh install of HA unless a user manually downloads a theme with the name 'light'.
14 lines
436 B
YAML
14 lines
436 B
YAML
# Describes the format for available frontend services
|
|
|
|
set_theme:
|
|
description: Set a theme unless the client selected per-device theme.
|
|
fields:
|
|
name:
|
|
description: Name of a predefined theme, 'default' or 'none'.
|
|
example: "default"
|
|
mode:
|
|
description: The mode the theme is for, either 'dark' or 'light' (default).
|
|
example: "dark"
|
|
|
|
reload_themes:
|
|
description: Reload themes from yaml configuration.
|