Activate mypy for velbus (#55055)

This commit is contained in:
jan iversen 2021-08-23 20:57:37 +02:00 committed by GitHub
parent 6ad0e0220a
commit a5c1fbcb1a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 5 deletions

View file

@ -1,4 +1,6 @@
"""Config flow for the Velbus platform."""
from __future__ import annotations
import velbus
import voluptuous as vol
@ -25,7 +27,7 @@ class VelbusConfigFlow(config_entries.ConfigFlow, domain=DOMAIN):
def __init__(self) -> None:
"""Initialize the velbus config flow."""
self._errors = {}
self._errors: dict[str, str] = {}
def _create_device(self, name: str, prt: str):
"""Create an entry async."""