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
Erik Montnemery and GitHub
a16ea3d7bd
Deprecate the map integration ( #113215 )
...
* Deprecate the map integration
* Revert changes in DashboardsCollection._async_load_data
* Add option to allow single word in dashboard URL
* Update tests
* Translate title
* Add icon
* Improve test coverage
2024-03-14 14:04:41 +01:00
Marc Mueller and GitHub
32f3f46542
Add empty line after module docstring (2) [tests.components] ( #112737 )
2024-03-08 19:16:21 +01:00
Marc Mueller and GitHub
1722e23df8
Add empty line after module docstring [tests l-p] ( #112710 )
2024-03-08 14:55:15 +01:00
J. Nick Koston and GitHub
1772e5257c
Move analytics setup to later stage to avoid delaying frontend startup ( #112535 )
...
Move analytics setup to stage 1 to avoid delaying frontend startup
analytics was only needed in the frontend startup phase for onboarding.
Its very unlikely the user will be able to complete the onboarding
steps and get to the analytics screen before analytics is done loading
so we can delay loading it until stage 1. To be absolutely sure that
it is ready, the core_config step in onboarding will wait to proceed
if it is some how still being setup
2024-03-06 20:37:41 -05:00
J. Nick Koston and GitHub
2eea658fd8
Convert getting and removing access tokens to normal functions ( #108670 )
2024-01-22 20:51:33 -10: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
Marc Mueller and GitHub
544d6b05a5
Replace mock_coro with AsyncMock ( #99014 )
...
* Replace mock_coro with AsyncMock
* Remove mock_coro test helper function
* Remove redundant AsyncMock
2023-08-25 22:54:55 +02:00
dacfa4b4dc
Set up shopping list during onboarding ( #97974 )
...
Co-authored-by: Simon Lamon <[email protected] >
2023-08-08 10:32:35 +02:00
Martin Hjelmare and GitHub
4d2fa5bdbc
Onboard Google Translate ( #95352 )
2023-06-27 13:12:25 +02:00
epenet and GitHub
88444b2e0c
Add type hints to integration tests (part 16) ( #88008 )
2023-02-15 10:50:02 +01:00
epenet and GitHub
3abf7ea18a
Add type hints to integration tests (m-p) ( #87705 )
2023-02-08 07:48:54 -08:00
epenet and GitHub
aa00114c2f
Add return type to async tests without arguments ( #87612 )
2023-02-07 10:26:56 +01:00
Mike Degatano and GitHub
82151bfd40
Create repairs for unsupported and unhealthy ( #80747 )
2022-10-31 09:57:54 -04:00
Paulus Schoutsen and GitHub
810e29f1ef
Guard creating areas in onboarding ( #74306 )
2022-07-01 11:01:07 -07:00
Joakim Sørensen and GitHub
3a0111e65d
Use supervisor envs instead of hassio ( #72601 )
2022-05-30 12:00:13 +02:00
6f567afc0e
Mock out all default onboarding integrations in test ( #68776 )
...
Co-authored-by: Erik Montnemery <[email protected] >
2022-03-28 10:33:43 +02:00
Franck Nijhof and GitHub
9e6bebd27b
Patch out Met in onboarding tests ( #68732 )
2022-03-27 10:54:29 +02:00
Franck Nijhof and GitHub
a8ad9fc5f4
Mock Radio Browser entry setup in onboarding tests ( #67905 )
2022-03-09 06:41:14 -08:00
Franck Nijhof and GitHub
3afadf8adb
Revert "Block peer certs on supervisor" ( #67104 )
2022-02-23 12:32:07 +01:00
938b64081b
Block peer certs on supervisor ( #66837 )
...
Co-authored-by: Pascal Vizeli <[email protected] >
Co-authored-by: Mike Degatano <[email protected] >
2022-02-22 13:59:40 -08:00
Franck Nijhof and GitHub
d839febbe7
Add Radio Browser integration ( #66950 )
2022-02-21 09:13:02 -08:00
Paulus Schoutsen and GitHub
63f8e437ed
Add Home Assistant Content user ( #64337 )
2022-01-21 10:06:39 -08:00
Ville Skyttä and GitHub
380cff167e
Use HTTPStatus in components/[nop]* ( #58279 )
2021-10-23 20:56:30 +02:00
a4d9019ffc
Refactor persistent notification to no longer route all data via a service ( #57157 )
...
* Convert persistent notification tests to async
* Create/dismiss persistent notifications in exposed functions, not service calls
* Fix notify persistent_notification
* Remove setting up persistent_notification
* Drop more setups
* Empty methods
* Undeprecate sync methods because too big task
* Fix setup clearing notifications
* Fix a bunch of tests
* Fix more tests
* Uno mas
* Test persistent notification events
* Clean up stale comment
Co-authored-by: Martin Hjelmare <[email protected] >
2021-10-07 12:58:00 +02:00
Erik Montnemery and GitHub
5c717cbb1d
Prevent opening of sockets in onboarding tests ( #56443 )
2021-09-20 13:56:50 +02:00
Joakim Sørensen and GitHub
1b46190a0c
Add view to get installation type during onboarding ( #56095 )
2021-09-11 15:38:38 +02:00
Erik Montnemery and GitHub
acdddabe1f
Use hass_client_no_auth test fixture in integrations h-p ( #55583 )
2021-09-02 14:49:40 +02:00
Ville Skyttä and GitHub
470f2dd73f
Upgrade pyupgrade to 2.21.2, apply its changes ( #52987 )
2021-07-19 10:46:09 +02:00
Joakim Sørensen and GitHub
8ed8747225
Resolve addon repository slug for device registry ( #51287 )
...
* Resolve addon repository slug for device registry
* typo
* Adjust onboarding test
* Use /store
2021-05-31 14:06:11 +02:00
09c51da3a2
Add analytics integration ( #48256 )
...
Co-authored-by: Martin Hjelmare <[email protected] >
2021-03-29 17:20:11 -07:00
Erik Montnemery and GitHub
84226da404
Update tests i-o to use async_get() instead of async_get_registry() ( #47653 )
2021-03-09 14:32:08 +01:00
38d2cacf7a
Support blocking trusted network from new ip ( #44630 )
...
Co-authored-by: Paulus Schoutsen <[email protected] >
2021-01-28 12:06:20 +01:00
Franck Nijhof and GitHub
65cf2fcb6f
Drop asynctest ( #44746 )
2021-01-01 22:31:56 +01:00
Joakim Sørensen and GitHub
403514ccb3
Add system health section for the Supervisor ( #43074 )
2020-11-11 20:12:24 +01:00
J. Nick Koston and GitHub
6822190772
Fix unmocked https in the test suite ( #42316 )
2020-10-25 07:16:23 -05:00
Martin Hjelmare and GitHub
eda68f127c
Add rpi_power during onboarding on RPi ( #40076 )
2020-09-28 16:07:17 +02:00
b70df4ab18
Disable Met.no hourly weather by default ( #39867 )
...
Co-authored-by: Daniel Hjelseth Høyer <[email protected] >
2020-09-10 07:58:40 +02:00
8555e17eb9
Add hourly forecast to met.no ( #38700 )
...
* Add hourly forecast
* fix tests to assert for 2 entities created
* fix test to assert for 4 calls
* correct test tracking home number of calls
* fox tests
* fix test
* Apply suggestions from code review
* black
Co-authored-by: Chris Talkington <[email protected] >
2020-08-10 20:22:39 -05:00
Paulus Schoutsen and GitHub
903db07feb
Onboarding to validate redirect uri ( #36863 )
2020-06-17 12:13:28 -07:00
Paulus Schoutsen and GitHub
2af984917e
Use asynctest-mock in most places ( #35109 )
...
* Use asynctest-mock in most places
* Fix broken patch in pilight
2020-05-03 11:27:19 -07:00
springstan and GitHub
bc26be3c11
Add and use HTTP_FORBIDDEN constant ( #33839 )
2020-04-09 17:41:17 +02:00
Paulus Schoutsen and GitHub
b9aba30a6e
Extract Collection helper from Person integration ( #30313 )
...
* Add CRUD foundation
* Use collection helper in person integration
* Lint/pytest
* Add tests
* Lint
* Create notification
2020-01-03 21:37:11 +01:00
Bas Nijholt and Franck Nijhof
5cdaff5405
Sort imports according to PEP8 for components starting with "O" ( #29774 )
2019-12-09 14:26:53 +01:00
Ville Skyttä and Fabian Affolter
d88ca0f5cb
Lint exclusions ( #28655 )
...
* Remove malformed pylint disable markers
* Remove some unused imports
* Remove some unneeded lint exclusions
* Remove more unneeded lint exclusions
* Add specific codes to all noqa's
2019-11-16 10:22:07 +01:00
Paulus Schoutsen
4de97abc3a
Black
2019-07-31 12:25:30 -07:00
Paulus Schoutsen and GitHub
f2962a0d16
Set up Met during onboarding ( #24622 )
...
* Set up Met during onboarding
* Lint
* Add pyMetNo to test reqs
2019-06-19 14:41:27 -07:00
Paulus Schoutsen and GitHub
f4016b4aad
Add integration step to onboarding ( #23732 )
...
* Return an extra oauth2 auth code during onboarding
* Areas in const
* Add integration step
* Lint
* Fix tests
* Fix test
* Verify integration added to done
* Verify step is marked as done
2019-05-07 22:51:24 -07:00
Paulus Schoutsen and GitHub
3da0ed9cc7
Onboarding to generate auth code ( #21777 )
2019-03-08 13:51:42 -08:00
Paulus Schoutsen and GitHub
50ba3d0427
Create a person during onboarding ( #21057 )
2019-02-13 20:00:08 -08:00