Commit Graph
16 Commits
Author SHA1 Message Date
74de32377e Improve async_get_system_info tests (#168586)
Co-authored-by: Copilot <[email protected]>
2026-04-20 16:47:40 +02:00
epenetandGitHub 43d0d582ef Cleanup deprecated hassio constants and functions (#158802) 2025-12-15 09:45:38 +01:00
9e8df72c0d Improve is docker env checks (#132404)
Co-authored-by: Franck Nijhof <[email protected]>
Co-authored-by: Sander Hoentjen <[email protected]>
Co-authored-by: Paulus Schoutsen <[email protected]>
Co-authored-by: Robert Resch <[email protected]>
2025-01-02 17:21:49 +01:00
35438f65e5 Update exception handling for python3.13 for getpass.getuser() (#132449)
* Update exception handling for python3.13 for getpass.getuser()

* Add comment

Co-authored-by: epenet <[email protected]>

* Cleanup trailing space

---------

Co-authored-by: Franck Nijhof <[email protected]>
Co-authored-by: epenet <[email protected]>
2024-12-06 06:54:21 -08:00
6bb4e7d62c Bump ruff to 0.3.4 (#112690)
Co-authored-by: Sid <[email protected]>
Co-authored-by: Marc Mueller <[email protected]>
Co-authored-by: J. Nick Koston <[email protected]>
2024-03-26 00:02:16 +01:00
J. Nick KostonandGitHub 267fe3dc34 Fix system_info importing hassio in the event loop (#113903) 2024-03-20 12:06:40 -10:00
Marc MuellerandGitHub a6b842f818 Add empty line after module docstring (2) [other] (#112738) 2024-03-08 19:16:38 +01:00
706add4a57 Switch formatting from black to ruff-format (#102893)
Co-authored-by: Franck Nijhof <[email protected]>
2023-11-27 14:38:59 +01:00
7ec506907c Ensure async_get_system_info does not fail if supervisor is unavailable (#96492)
* Ensure async_get_system_info does not fail if supervisor is unavailable

fixes #96470

* fix i/o in the event loop

* fix tests

* handle some more failure cases

* more I/O here

* coverage

* coverage

* Update homeassistant/helpers/system_info.py

Co-authored-by: Paulus Schoutsen <[email protected]>

* remove supervisor detection fallback

* Update tests/helpers/test_system_info.py

---------

Co-authored-by: Paulus Schoutsen <[email protected]>
2023-07-16 11:10:07 -04:00
epenetandGitHub c98b4e3204 Add typing to tests with single hass argument (2) (#87675)
* Add typing to tests with single hass argument (2)

* a few more
2023-02-08 08:51:43 +01:00
Franck NijhofandGitHub bfb47eb212 Final clean up of helpers accessed via hass (#72032)
* Final clean up of helpers accessed via hass

* Fix circular dep

* Fix import
2022-05-17 23:42:37 +03:00
Paulus SchoutsenandGitHub a6caf3f579 Call out 3rd party containers more clearly (#65684) 2022-02-04 09:57:14 -08:00
Joakim SørensenandGitHub f596cb19fd Handle KeyError in getuser (#59667) 2021-11-14 10:53:19 +01:00
Joakim SørensenandGitHub 3f2e18fe17 Add user to homeassistant system health (#53902) 2021-08-03 11:58:27 +02:00
Paulus Schoutsen 4de97abc3a Black 2019-07-31 12:25:30 -07:00
Paulus SchoutsenandGitHub cb07ea0d60 RFC: Add system health component (#20436)
* Add system health component

* Remove stale comment

* Fix confusing syntax

* Update test_init.py

* Address comments

* Lint

* Move distro check to updater

* Convert to websocket

* Lint

* Make info callback async

* Fix tests

* Fix tests

* Lint

* Catch exceptions
2019-01-30 10:57:53 -08:00