mirror of
https://github.com/home-assistant/core.git
synced 2025-07-29 18:28:14 +02:00
Use EventType for system events (#115190)
This commit is contained in:
@ -3,7 +3,7 @@
|
||||
from collections.abc import Mapping
|
||||
from enum import Enum
|
||||
from functools import partial
|
||||
from typing import Any
|
||||
from typing import Any, Never
|
||||
|
||||
import homeassistant.core
|
||||
|
||||
@ -20,6 +20,7 @@ DiscoveryInfoType = dict[str, Any]
|
||||
ServiceDataType = dict[str, Any]
|
||||
StateType = str | int | float | None
|
||||
TemplateVarsType = Mapping[str, Any] | None
|
||||
NoEventData = Mapping[str, Never]
|
||||
|
||||
# Custom type for recorder Queries
|
||||
QueryType = Any
|
||||
|
Reference in New Issue
Block a user