mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 11:17:21 +00:00
Remove explicit templating of persistent_notification service data (#128903)
This commit is contained in:
parent
4306b0caba
commit
9b3ac49298
@ -184,8 +184,8 @@ async def async_setup(hass: HomeAssistant, config: ConfigType) -> bool:
|
||||
create_service,
|
||||
vol.Schema(
|
||||
{
|
||||
vol.Required(ATTR_MESSAGE): vol.Any(cv.dynamic_template, cv.string),
|
||||
vol.Optional(ATTR_TITLE): vol.Any(cv.dynamic_template, cv.string),
|
||||
vol.Required(ATTR_MESSAGE): cv.string,
|
||||
vol.Optional(ATTR_TITLE): cv.string,
|
||||
vol.Optional(ATTR_NOTIFICATION_ID): cv.string,
|
||||
}
|
||||
),
|
||||
|
Loading…
x
Reference in New Issue
Block a user