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

35 Commits

Author SHA1 Message Date
epenet
b054c037fe
Improve type hints in hassio tests () 2024-07-05 09:05:21 +02:00
epenet
461ac1e0bc
Add ClientSessionGenerator type hints in tests () 2024-05-29 14:49:14 +02:00
epenet
d10362e226
Add AiohttpClientMocker type hints in tests () 2024-05-29 14:38:46 +02:00
Mike Degatano
dbcef2e3c3
Add more supervisor info to system info panel ()
* Add virtualization field fo system info

* Add ntp sync and host connectivity

* Prevent nonetype errors

* Add supervisor_connectivity and fix tests

* Add mock of network info to other fixtures

* Update more fixtures with network/info mock
2024-05-28 16:14:42 +02:00
Joost Lekkerkerker
6bb4e7d62c
Bump ruff to 0.3.4 ()
Co-authored-by: Sid <27780930+autinerd@users.noreply.github.com>
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-03-26 00:02:16 +01:00
Marc Mueller
32f3f46542
Add empty line after module docstring (2) [tests.components] () 2024-03-08 19:16:21 +01:00
J. Nick Koston
c399cab427
Small speed up to checking core state () 2024-01-18 08:41:32 -10:00
Aarni Koskela
706add4a57
Switch formatting from black to ruff-format ()
Co-authored-by: Franck Nijhof <git@frenck.dev>
2023-11-27 14:38:59 +01:00
Mike Degatano
c25b26214b
Add docker config repair for supervisor issue () 2023-05-30 22:08:45 +02:00
Mike Degatano
a511e7d6bc
Make repairs out of select supervisor issues ()
* Make repairs out of select supervisor issues

* Fix comment formatting

* Add a test case for API error

* Testing and type fix
2023-04-19 08:07:38 +02:00
Erik Montnemery
fd5c56fc7d
Rename modules named repairs.py which are not repairs platforms () 2023-03-13 09:44:20 +01:00
Franck Nijhof
feb3f543be
Improve Supervisor API handling () 2023-03-08 15:21:11 +01:00
Joakim Sørensen
3a0111e65d
Use supervisor envs instead of hassio () 2022-05-30 12:00:13 +02:00
Franck Nijhof
3afadf8adb
Revert "Block peer certs on supervisor" () 2022-02-23 12:32:07 +01:00
Paulus Schoutsen
938b64081b
Block peer certs on supervisor ()
Co-authored-by: Pascal Vizeli <pvizeli@syshack.ch>
Co-authored-by: Mike Degatano <michael.degatano@gmail.com>
2022-02-22 13:59:40 -08:00
Franck Nijhof
20bdcc7fff
Replace hass.helpers: async_get_clientsession() () 2022-01-11 17:33:50 +01:00
Joakim Sørensen
09c51da3a2
Add analytics integration ()
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-03-29 17:20:11 -07:00
Franck Nijhof
65cf2fcb6f
Drop asynctest () 2021-01-01 22:31:56 +01:00
Franck Nijhof
1c2ebdf307
Upgrade black to 20.8b1 () 2020-08-27 13:56:20 +02:00
Franck Nijhof
eddb5c6c3f
Add more system information from Supervisor () 2020-05-12 15:27:34 -07:00
Paulus Schoutsen
ec47216388
Use built-in test helpers on 3.8 () 2020-04-30 13:29:50 -07:00
Pascal Vizeli
4731f7c721
Hass.io allow to reset password with CLI ()
* Hass.io allow to reset passwort with CLI

* Add improvments

* fix comments

* fix lint

* Fix tests

* more tests

* Address comments

* sort imports

* fix test python37
2020-01-14 23:49:56 +01:00
Ville Skyttä
e6388e186c
Remove unnecessary string literal concatenations () 2020-01-02 21:17:10 +02:00
Bas Nijholt
00dc721609 sort imports according to PEP8 for hassio () 2019-12-08 16:33:22 +01:00
Paulus Schoutsen
3231e22ddf
Remove direct authentication via trusted networks or API password ()
* Remove direct authentication via trusted networks and API password

* Fix tests
2019-10-14 14:56:45 -07:00
Paulus Schoutsen
4de97abc3a Black 2019-07-31 12:25:30 -07:00
Paulus Schoutsen
820b381a8d
Update Hass.io when core config is updated ()
* Update Hass.io when core config is updated

* Lint

* Fix tests

* Lint sigh
2019-06-10 16:05:43 -07:00
Paulus Schoutsen
b81260e912 Fix tests 2019-01-11 10:10:36 -08:00
Paulus Schoutsen
fd21d6cc9d Add Hass.io user headers to supervisor proxy 2019-01-11 10:00:38 -08:00
Paulus Schoutsen
c2f8dfcb9f
Legacy api fix ()
* Set user for API password requests

* Fix tests

* Fix typing
2018-11-27 10:41:44 +01:00
Pascal Vizeli
83dd961fde Fix hassio discovery ()
* Update discovery.py

* Update test_discovery.py

* Update test_discovery.py

* Update test_discovery.py

* Update test_discovery.py

* Update test_discovery.py

* Update test_discovery.py

* Fix tests

* fix lint
2018-10-10 13:50:11 +02:00
Pascal Vizeli
704c9d8582
Add support for Hass.io discovery feature for Add-ons ()
* Update handler.py

* Update __init__.py

* Update handler.py

* Update __init__.py

* Create discovery.py

* Update handler.py

* Update discovery.py

* Update __init__.py

* Update discovery.py

* Update discovery.py

* Update discovery.py

* Update struct

* Update handler.py

* Update discovery.py

* Update discovery.py

* Update discovery.py

* Update __init__.py

* Update discovery.py

* Update discovery.py

* Update discovery.py

* Update discovery.py

* Update discovery.py

* Update discovery.py

* Update discovery.py

* Update discovery.py

* Update __init__.py

* Update discovery.py

* fix lint

* Update discovery.py

* cleanup old discovery

* Update discovery.py

* Update discovery.py

* Fix lint

* Fix tests

* Write more tests with new functions

* Update test_handler.py

* Create test_discovery.py

* Update conftest.py

* Update test_discovery.py

* Update conftest.py

* Update test_discovery.py

* Update conftest.py

* Update test_discovery.py

* Update test_discovery.py

* Update test_discovery.py

* Update test_discovery.py

* Update test_discovery.py

* Fix test

* Add test

* fix lint

* Update handler.py

* Update discovery.py

* Update test_discovery.py

* fix lint

* Lint
2018-10-03 13:10:38 +02:00
Paulus Schoutsen
89a19c89a7 Fix aiohttp deprecation warnings ()
* Fix aiohttp deprecation warnings

* Fix Ring deprecation warning

* Lint
2018-03-15 21:49:49 +01:00
Pascal Vizeli
b228695907
Hassio cleanup part2 ()
* Update handler.py

* Update handler.py

* Update __init__.py

* Update handler.py

* Update handler.py

* Update __init__.py

* Update tests
2018-02-21 22:42:55 +01:00
Pascal Vizeli
4f96eeb06e Cleanup hass.io component ()
* Cleanup hass.io component

* fix lint

* Fix all tests

* Fix lint

* fix lint

* fix doc lint
2018-02-20 15:24:31 -08:00