Update typing 11 (#48072)

This commit is contained in:
Marc Mueller 2021-03-18 13:21:46 +01:00 committed by GitHub
parent 99f9f8dec0
commit 3d2b81a401
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
45 changed files with 206 additions and 154 deletions

View file

@ -1,9 +1,9 @@
"""Plugwise platform for Home Assistant Core."""
from __future__ import annotations
import asyncio
from datetime import timedelta
import logging
from typing import Dict
import async_timeout
from plugwise.exceptions import (
@ -201,7 +201,7 @@ class SmileGateway(CoordinatorEntity):
return self._name
@property
def device_info(self) -> Dict[str, any]:
def device_info(self) -> dict[str, any]:
"""Return the device information."""
device_information = {
"identifiers": {(DOMAIN, self._dev_id)},