1
mirror of https://github.com/home-assistant/core synced 2024-08-02 23:40:32 +02:00
ha-core/homeassistant/components/frontend/services.yaml
tkdrob 028a07d86f
Wrap up selectors (#50794)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-05-25 14:45:17 +02:00

27 lines
620 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: Name
description: Name of a predefined theme, 'default' or 'none'.
required: true
example: "default"
selector:
text:
mode:
name: Mode
description: The mode the theme is for.
default: "light"
selector:
select:
options:
- "dark"
- "light"
reload_themes:
name: Reload themes
description: Reload themes from YAML configuration.