1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 21:06:19 +00:00

Fix jinja2 DeprecationWarnings (#97728)

This commit is contained in:
Marc Mueller
2023-08-04 11:25:08 +02:00
committed by GitHub
parent c33e3ce212
commit f39a35c4ef
2 changed files with 2 additions and 2 deletions

View File

@@ -3437,7 +3437,7 @@ async def test_async_render_to_info_with_wildcard_matching_entity_id(
template_complex_str = r"""
{% for state in states.cover %}
{% if state.entity_id | regex_match('.*\.office_') %}
{% if state.entity_id | regex_match('.*\\.office_') %}
{{ state.entity_id }}={{ state.state }}
{% endif %}
{% endfor %}