Add type hints on Template().__init__() (#82574)

This commit is contained in:
Jan Bouwhuis 2022-11-23 20:26:55 +01:00 committed by GitHub
parent 27e6b69656
commit 23bc39b7f4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 18 additions and 16 deletions

View file

@ -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