From 885a544af98326afb14e9346abfde982af388a0f Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Mon, 26 Oct 2020 17:24:46 +0100 Subject: [PATCH] Adjust persistent notification integration --- homeassistant/components/persistent_notification/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/homeassistant/components/persistent_notification/__init__.py b/homeassistant/components/persistent_notification/__init__.py index 9a1f35c947d..49a9f4c3bea 100644 --- a/homeassistant/components/persistent_notification/__init__.py +++ b/homeassistant/components/persistent_notification/__init__.py @@ -119,7 +119,7 @@ async def async_setup(hass: HomeAssistant, config: dict) -> bool: if title is not None: try: title.hass = hass - title = title.async_render() + title = title.async_render(parse_result=False) except TemplateError as ex: _LOGGER.error("Error rendering title %s: %s", title, ex) title = title.template @@ -128,7 +128,7 @@ async def async_setup(hass: HomeAssistant, config: dict) -> bool: try: message.hass = hass - message = message.async_render() + message = message.async_render(parse_result=False) except TemplateError as ex: _LOGGER.error("Error rendering message %s: %s", message, ex) message = message.template