Commit Graph

7 Commits (8e74f63d47ab5b30393d9c96c69a6c486951a4c6)

Author SHA1 Message Date
Erik Montnemery 8e74f63d47
Create repair issue if not all add-ons or folders were backed up (#144999)
* Create repair issue if not all add-ons or folders were backed up

* Fix spelling

* Fix _collect_errors

* Make time patching by freezegun work with mashumaro

* Addd test to hassio

* Add fixture

* Fix generating list of folders

* Add issue creation tests

* Include name of failing add-on in message

* Improve code formatting

* Rename AddonError to AddonErrorData
2025-05-20 15:23:52 +02:00
Erik Montnemery ea29c2c4d4
Improve tests/patch_time.py (#122017) 2024-07-16 14:22:22 +02:00
Erik Montnemery 862cd76f89
Add explanatory comment in tests/patch_time.py (#120572) 2024-06-26 15:49:34 +02:00
Erik Montnemery b94b93cc63
Make freezegun find event.time_tracker_utcnow (#116284) 2024-04-27 07:08:56 -05:00
Marc Mueller 19ab3d6daf
Add empty line after module docstring [helpers + other] (#112707) 2024-03-08 10:36:11 -05:00
J. Nick Koston 790c1bc251
Decrease event loop latency by binding time.monotonic to loop.time directly (#98288)
* Decrease event loop latency by binding time.monotonic to loop.time directly

This is a small improvment to decrease event loop latency. While the goal is
is to reduce Bluetooth connection time latency, everything using asyncio
is a bit more responsive as a result.

* relo per comments

* fix too fast by adding resolution, ensure monotonic time is patchable by freezegun

* fix test that freezes time too late and has a race loop
2023-08-13 20:37:45 -04:00
Erik Montnemery a77009c3ca
Patch dt_util.utcnow earlier (#98050) 2023-08-08 19:16:52 +02:00