hass-core/homeassistant/components/frontend/services.yaml
Bashir 5274b03dc2
Resolve Frontend Services.yaml Minor Oversight ()
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'.
2020-09-27 12:51:41 +02:00

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.