mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 05:07:41 +00:00
Correct the selector for frontend.set_theme service (#49952)
This commit is contained in:
parent
7c7a56f704
commit
8ca6b8394c
@ -17,9 +17,10 @@ set_theme:
|
||||
default: "light"
|
||||
example: "dark"
|
||||
selector:
|
||||
options:
|
||||
- "dark"
|
||||
- "light"
|
||||
select:
|
||||
options:
|
||||
- "dark"
|
||||
- "light"
|
||||
|
||||
reload_themes:
|
||||
name: Reload themes
|
||||
|
@ -69,7 +69,7 @@ def validate_services(integration: Integration):
|
||||
has_services = grep_dir(
|
||||
integration.path,
|
||||
"**/*.py",
|
||||
r"(hass\.services\.(register|async_register))|async_register_entity_service",
|
||||
r"(hass\.services\.(register|async_register))|async_register_entity_service|async_register_admin_service",
|
||||
)
|
||||
|
||||
if not has_services:
|
||||
|
Loading…
x
Reference in New Issue
Block a user