Improve PluggableActionsEntry typing (#82885)
* Improve PluggableActionsEntry typing * Add parameter typingpull/82925/head
parent
f8e1cb5bcf
commit
79b400d71b
|
@ -78,7 +78,13 @@ class PluggableActionsEntry:
|
|||
"""Holder to keep track of all plugs and actions for a given trigger."""
|
||||
|
||||
plugs: set[PluggableAction] = field(default_factory=set)
|
||||
actions: dict[object, tuple[HassJob, dict[str, Any]]] = field(default_factory=dict)
|
||||
actions: dict[
|
||||
object,
|
||||
tuple[
|
||||
HassJob[[dict[str, Any], Context | None], Coroutine[Any, Any, None]],
|
||||
dict[str, Any],
|
||||
],
|
||||
] = field(default_factory=dict)
|
||||
|
||||
|
||||
class PluggableAction:
|
||||
|
|
Loading…
Reference in New Issue