Fix typing.Any spelling (#49673)

This commit is contained in:
Ville Skyttä 2021-04-25 22:36:21 +03:00 committed by GitHub
parent 85438db1ec
commit 631ab367e2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
17 changed files with 55 additions and 36 deletions

View file

@ -7,6 +7,7 @@ from contextlib import suppress
from datetime import timedelta
from functools import partial
import logging
from typing import Any
from dsmr_parser import obis_references as obis_ref
from dsmr_parser.clients.protocol import create_dsmr_reader, create_tcp_dsmr_reader
@ -361,7 +362,7 @@ class DSMREntity(SensorEntity):
return self._unique_id
@property
def device_info(self) -> dict[str, any]:
def device_info(self) -> dict[str, Any]:
"""Return the device information."""
return {
"identifiers": {(DOMAIN, self._device_serial)},