Update typing 11 (#48072)
This commit is contained in:
parent
99f9f8dec0
commit
3d2b81a401
45 changed files with 206 additions and 154 deletions
|
@ -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)},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue