Hi TheFes,
after upgrade 2.4.0 more errors emerged.
The trace: CodePile | Easily Share Piles of Code
2022-05-06 21:35:24 ERROR (MainThread) [homeassistant.components.script.google_home_resume] 00 🔊 Google Home Resume: Error executing script. Error for wait_template at pos 21: In 'template' condition: UndefinedError: 'homeassistant.util.read_only_dict.ReadOnlyDict object' has no attribute 'current'
2022-05-06 21:35:24 ERROR (MainThread) [homeassistant.components.automation.google_home_notification_branicka_open] Google_Home_Notification_Branicka_open: Error executing script. Error for call_service at pos 1: In 'template' condition: UndefinedError: 'homeassistant.util.read_only_dict.ReadOnlyDict object' has no attribute 'current'
2022-05-06 21:35:24 ERROR (MainThread) [homeassistant.components.automation.google_home_notification_branicka_open] Error while executing automation automation.google_home_notification_branicka_open: In 'template' condition: UndefinedError: 'homeassistant.util.read_only_dict.ReadOnlyDict object' has no attribute 'current'
2022-05-06 21:56:53 ERROR (MainThread) [homeassistant.components.script.google_home_resume_perform_resume] 00 🔊 Google Home Resume - Perform resume: Error executing script. Error for wait_template at pos 1: In 'template' condition: TemplateError: str: Invalid domain name ''
2022-05-06 21:56:53 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 409, in async_render
render_result = _render_with_context(self.template, compiled, **kwargs)
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 1859, in _render_with_context
return template.render(**kwargs)
File "/usr/local/lib/python3.9/site-packages/jinja2/environment.py", line 1291, in render
self.environment.handle_exception()
File "/usr/local/lib/python3.9/site-packages/jinja2/environment.py", line 926, in handle_exception
raise rewrite_traceback_stack(source=source)
File "<template>", line 2, in top-level template code
File "/usr/local/lib/python3.9/site-packages/jinja2/sandbox.py", line 303, in getitem
return obj[argument]
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 643, in __getattr__
raise TemplateError(f"Invalid domain name '{name}'")
homeassistant.exceptions.TemplateError: str: Invalid domain name ''
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/condition.py", line 678, in async_template
value = info.result()
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 265, in result
raise self.exception
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 525, in async_render_to_info
render_info._result = self.async_render(variables, strict=strict, **kwargs)
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 411, in async_render
raise TemplateError(err) from err
homeassistant.exceptions.TemplateError: TemplateError: str: Invalid domain name ''
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/script/__init__.py", line 428, in _async_run
return await self.script.async_run(script_vars, context)
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 1513, in async_run
await asyncio.shield(run.async_run())
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 405, in async_run
await self._async_step(log_exceptions=False)
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 449, in _async_step
self._handle_exception(
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 472, in _handle_exception
raise exception
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 447, in _async_step
await getattr(self, handler)()
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 577, in _async_wait_template_step
if condition.async_template(self._hass, wait_template, self._variables, False):
File "/usr/src/homeassistant/homeassistant/helpers/condition.py", line 680, in async_template
raise ConditionErrorMessage("template", str(ex)) from ex
homeassistant.exceptions.ConditionErrorMessage: In 'template' condition: TemplateError: str: Invalid domain name ''
2022-05-06 21:56:53 ERROR (MainThread) [homeassistant.components.script.google_home_resume] 00 🔊 Google Home Resume: Error executing script. Error for wait_template at pos 21: In 'template' condition: UndefinedError: 'homeassistant.util.read_only_dict.ReadOnlyDict object' has no attribute 'current'
2022-05-06 21:56:53 ERROR (MainThread) [homeassistant.components.automation.google_home_notification_branicka_open] Google_Home_Notification_Branicka_open: Error executing script. Error for call_service at pos 1: In 'template' condition: UndefinedError: 'homeassistant.util.read_only_dict.ReadOnlyDict object' has no attribute 'current'
2022-05-06 21:56:53 ERROR (MainThread) [homeassistant.components.automation.google_home_notification_branicka_open] Error while executing automation automation.google_home_notification_branicka_open: In 'template' condition: UndefinedError: 'homeassistant.util.read_only_dict.ReadOnlyDict object' has no attribute 'current'