Update typing 16 (#48087)

This commit is contained in:
Marc Mueller 2021-03-18 22:58:19 +01:00 committed by GitHub
parent 0f5efca76b
commit 4cb7718192
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
59 changed files with 180 additions and 166 deletions

View file

@ -1,4 +1,6 @@
"""Lovelace dashboard support."""
from __future__ import annotations
from abc import ABC, abstractmethod
import logging
import os
@ -231,7 +233,7 @@ class DashboardsCollection(collection.StorageCollection):
_LOGGER,
)
async def _async_load_data(self) -> Optional[dict]:
async def _async_load_data(self) -> dict | None:
"""Load the data."""
data = await self.store.async_load()