J. Nick Koston
f318a3b5e2
Fix blocking I/O in the event loop to get MacOS system_info ( #117290 )
...
* Fix blocking I/O in the event look to get MacOS system_info
* split pr
* Update homeassistant/helpers/system_info.py
Co-authored-by: Jan-Philipp Benecke <jan-philipp@bnck.me>
* Update homeassistant/helpers/system_info.py
---------
Co-authored-by: Jan-Philipp Benecke <jan-philipp@bnck.me>
2024-05-12 08:16:21 -04:00
J. Nick Koston
267fe3dc34
Fix system_info importing hassio in the event loop ( #113903 )
2024-03-20 12:06:40 -10:00
Marc Mueller
19ab3d6daf
Add empty line after module docstring [helpers + other] ( #112707 )
2024-03-08 10:36:11 -05:00
Jan-Philipp Benecke
196089e8b7
Remove deprecated `hass.components.hassio` usage ( #111878 )
2024-03-02 15:38:31 +01:00
Jan-Philipp Benecke
ebfba7258e
Revert "Drop `@bind_hass` use from hassio component ( #111522 )" ( #111705 )
...
This reverts commit 4e4345f04e
.
2024-02-28 10:51:37 +01:00
Jan-Philipp Benecke
4e4345f04e
Drop `@bind_hass` use from hassio component ( #111522 )
...
* Drop `@bind_hass` use from hassio component
* Add comment why we import locally
---------
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-02-28 00:25:46 +01:00
J. Nick Koston
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 <balloob@gmail.com>
* remove supervisor detection fallback
* Update tests/helpers/test_system_info.py
---------
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2023-07-16 11:10:07 -04:00
Paulus Schoutsen
a6caf3f579
Call out 3rd party containers more clearly ( #65684 )
2022-02-04 09:57:14 -08:00
Erik Montnemery
b3421cf727
Remove Windows workarounds ( #64068 )
2022-01-13 20:41:11 +01:00
Joakim Sørensen
f596cb19fd
Handle KeyError in getuser ( #59667 )
2021-11-14 10:53:19 +01:00
Joakim Sørensen
3f2e18fe17
Add user to homeassistant system health ( #53902 )
2021-08-03 11:58:27 +02:00
Franck Nijhof
38d14702fa
Remove HomeAssistantType alias from helpers ( #48400 )
2021-03-27 12:55:24 +01:00
Marc Mueller
6fb2e63e49
Update typing 02 ( #48014 )
2021-03-17 18:34:19 +01:00
Paulus Schoutsen
7745408440
System health improvement ( #43066 )
2020-11-10 23:56:50 +01:00
Ville Skyttä
aa1c5fc43d
Various type hint improvements ( #37952 )
2020-07-22 08:06:37 -07:00
Franck Nijhof
f131959f4b
Correct inst method names in system info and issue templates ( #36998 )
2020-06-22 14:46:31 +02:00
Franck Nijhof
0629b30ade
Correct inst method names in system info, add Docker version ( #36360 )
2020-06-02 10:50:34 +02:00
Franck Nijhof
eddb5c6c3f
Add more system information from Supervisor ( #35560 )
2020-05-12 15:27:34 -07:00
Balazs Sandor
75e8d49af1
Show kernel version on linux ( #32276 )
2020-02-27 13:59:30 -08:00
Bas Nijholt
67c56c860d
Sort imports according to PEP8 for 'homeassistant' folder ( #29789 )
...
Components are already done
2019-12-09 16:42:10 +01:00
Paulus Schoutsen
4de97abc3a
Black
2019-07-31 12:25:30 -07:00
Paulus Schoutsen
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