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

@ -4,6 +4,7 @@ from __future__ import annotations
from datetime import timedelta
import logging
import operator
from typing import Any
from pyicloud import PyiCloudService
from pyicloud.exceptions import (
@ -355,7 +356,7 @@ class IcloudAccount:
return self._fetch_interval
@property
def devices(self) -> dict[str, any]:
def devices(self) -> dict[str, Any]:
"""Return the account devices."""
return self._devices
@ -496,11 +497,11 @@ class IcloudDevice:
return self._battery_status
@property
def location(self) -> dict[str, any]:
def location(self) -> dict[str, Any]:
"""Return the Apple device location."""
return self._location
@property
def extra_state_attributes(self) -> dict[str, any]:
def extra_state_attributes(self) -> dict[str, Any]:
"""Return the attributes."""
return self._attrs