Update typing 16 (#48087)
This commit is contained in:
parent
0f5efca76b
commit
4cb7718192
59 changed files with 180 additions and 166 deletions
|
@ -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()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue