1
0
mirror of https://github.com/home-assistant/core.git synced 2025-05-21 06:17:06 +00:00
Commit Graph

11 Commits

Author SHA1 Message Date
Marc Mueller
a6068dcdf2
Update import locations in tests () 2024-07-20 11:16:04 +02:00
Marc Mueller
ca55986057
Import Generator from collections.abc (1) () 2024-07-01 11:51:51 +02:00
epenet
648ef94888
Improve type hints in core helper tests () 2024-06-21 15:43:27 +02:00
Marc Mueller
19ab3d6daf
Add empty line after module docstring [helpers + other] () 2024-03-08 10:36:11 -05:00
Erik Montnemery
3d3e9900c3
Add TypeVar default for FlowResult ()
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
2024-03-05 22:52:11 +01:00
Erik Montnemery
a0e558c457
Add generic classes BaseFlowHandler and BaseFlowManager ()
* Add generic classes BaseFlowHandler and BaseFlowManager

* Migrate zwave_js

* Update tests

* Update tests

* Address review comments
2024-02-29 16:52:39 +01:00
J. Nick Koston
c399cab427
Small speed up to checking core state () 2024-01-18 08:41:32 -10:00
J. Nick Koston
57360a7528
Prevent new discovery flows from being created when stopping () 2023-02-25 12:02:07 +01:00
epenet
5f25b71df7
Add type hints to core tests () 2023-02-20 11:42:56 +01:00
J. Nick Koston
c0e22be7a8
Fix allowing identical flows to be created before startup ()
The check for identical flows only worked after
the start event. We now check against pending
flows as well

If startup took a while we could end up
with quite the thundering herd
2023-02-15 21:36:00 -05:00
J. Nick Koston
b86e19143d
Prevent event loop delay / instability from discovery () 2021-10-13 08:37:14 -07:00