Mark device actions from hidden or auxiliary entities as secondary (#70278)

This commit is contained in:
Erik Montnemery 2022-04-20 19:48:46 +02:00 committed by GitHub
parent 2a99084911
commit 64381acbaf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
24 changed files with 875 additions and 164 deletions

View file

@ -1465,6 +1465,7 @@ DEVICE_ACTION_BASE_SCHEMA = vol.Schema(
**SCRIPT_ACTION_BASE_SCHEMA,
vol.Required(CONF_DEVICE_ID): string,
vol.Required(CONF_DOMAIN): str,
vol.Remove("metadata"): dict,
}
)