Add type hints on Template().__init__()
(#82574)
This commit is contained in:
parent
27e6b69656
commit
23bc39b7f4
6 changed files with 18 additions and 16 deletions
|
@ -446,7 +446,7 @@ async def handle_render_template(
|
|||
) -> None:
|
||||
"""Handle render_template command."""
|
||||
template_str = msg["template"]
|
||||
template_obj = template.Template(template_str, hass) # type: ignore[no-untyped-call]
|
||||
template_obj = template.Template(template_str, hass)
|
||||
variables = msg.get("variables")
|
||||
timeout = msg.get("timeout")
|
||||
info = None
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue