epenet
e58d060f82
Use registry fixtures in tests (s) ( #118295 )
2024-05-28 15:41:03 +02:00
Marc Mueller
905adb2431
Update codespell ignore list ( #118018 )
2024-05-24 10:24:34 +02:00
Joost Lekkerkerker
ee66f6ec8c
Use is in enum comparison in config flow tests P-T ( #114675 )
2024-04-02 11:21:50 -10:00
Joost Lekkerkerker
6bb4e7d62c
Bump ruff to 0.3.4 ( #112690 )
...
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
aa16a9d707
Add empty line after module docstring (3) ( #112750 )
2024-03-08 20:38:34 +01:00
Marc Mueller
32f3f46542
Add empty line after module docstring (2) [tests.components] ( #112737 )
2024-03-08 19:16:21 +01:00
Marc Mueller
7d6251ca08
Add empty line after module docstring [tests q-s] ( #112711 )
2024-03-08 14:47:22 +01:00
Erik Montnemery
6908497c3d
Add minor version to config entries ( #105479 )
2023-12-12 08:44:35 +01:00
Aarni Koskela
706add4a57
Switch formatting from black to ruff-format ( #102893 )
...
Co-authored-by: Franck Nijhof <git@frenck.dev>
2023-11-27 14:38:59 +01:00
epenet
3a9adacdde
Add type hints to integration tests (part 20) ( #88179 )
2023-02-15 15:23:34 +01:00
Franck Nijhof
ed79265843
Enable Ruff PT006 ( #88165 )
...
* Enable Ruff PT006
* Adjust existing cases
* Fix tests
* Remove unneeded parentheses
2023-02-15 14:09:50 +01:00
epenet
ba85fdcd61
Add type hints to integration tests (q-s) ( #87706 )
2023-02-08 08:12:54 -08:00
Aaron Bach
671e6b3832
Remove old system ID format from SimpliSafe base stations ( #82993 )
2022-11-30 22:10:56 +01:00
Aaron Bach
1cf801afbc
Remove unnecessary session scoping to several test fixtures ( #80500 )
...
Co-authored-by: Joakim Plate <elupus@ecce.se>
2022-10-18 18:06:23 +02:00
Aaron Bach
1262c0e221
Use `entry.as_dict()` in SimpliSafe diagnostics ( #80121 )
2022-10-11 12:15:32 -06:00
epenet
c88a874063
Cleanup FlowResultType in tests ( #78810 )
2022-09-21 09:17:20 +02:00
J. Nick Koston
33b194e48d
Switch a few recent merges to use FlowResultType ( #76416 )
2022-08-07 10:01:32 -10:00
Aaron Bach
b2dc810ea4
More explicitly call out special cases with SimpliSafe authorization code ( #76232 )
2022-08-04 19:43:02 +02:00
Aaron Bach
2d4bd4d7c1
Revert SimpliSafe auth flow to the quasi-manual OAuth method from 2021.11.0 ( #75641 )
...
* Revert "Migrate SimpliSafe to new web-based authentication (#57212 )"
This reverts commit bf7c99c1f8
.
* Tests 100%
* Version bump
* Add manifest version for custom component testing
* Remove manifest version
* Code review
* Fix tests
2022-07-24 22:09:02 +02:00
Aaron Bach
ffeac9714f
Ensure SimpliSafe diagnostics redact the `code` option ( #75137 )
2022-07-13 20:52:13 +02:00
Franck Nijhof
7cd68381f1
Search/replace RESULT_TYPE_* by FlowResultType enum ( #74642 )
2022-07-07 19:57:36 +03:00
Aaron Bach
d791a08002
Ensure that email-based 2FA in SimpliSafe shows the progress UI ( #71021 )
2022-04-28 14:05:55 -07:00
Aaron Bach
d0f1168ff0
Ensure SimpliSafe re-auth only looks at SimpliSafe config entries ( #71009 )
...
* Ensure SimpliSafe re-auth only looks at SimpliSafe config entries
* Add a test
* Trigger Build
* Linting
* Comment
* Simplify test
2022-04-28 21:45:37 +03:00
Aaron Bach
031149dfdd
Re-work SimpliSafe authentication to only need username/password ( #70160 )
2022-04-27 10:16:28 +02:00
epenet
053c4428a9
Prettify json (component test fixtures) ( #68892 )
2022-03-30 11:37:17 +02:00
Aaron Bach
3387e8368b
Add redacted subscription data to SimpliSafe diagnostics ( #65751 )
2022-02-04 23:41:12 -08:00
Aaron Bach
58f624a3da
Add diagnostics to SimpliSafe ( #65171 )
...
* Add diagnostics to SimpliSafe
* Bump
* Cleanup
2022-01-30 15:37:56 -07:00
Aaron Bach
78ad49325d
Clean up SimpliSafe config flow tests ( #65167 )
...
* Clean up SimpliSafe config flow tests
* Cleanup
2022-01-30 13:12:01 -08:00
Aaron Bach
b556bd1d58
Consolidate SimpliSafe config flow forms into one ( #61402 )
2021-12-09 14:11:41 -08:00
Aaron Bach
806242093d
Add missing SimpliSafe config flow test ( #58563 )
2021-10-28 15:55:14 -05:00
Aaron Bach
bf7c99c1f8
Migrate SimpliSafe to new web-based authentication ( #57212 )
2021-10-19 10:09:48 -10:00
Aaron Bach
fe3b5e8804
Use current config entry standards for SimpliSafe ( #57141 )
...
* Use current config entry standards for SimpliSafe
* Include tests
2021-10-08 14:22:29 -05:00
Aaron Bach
40ad25df4c
Fresh attempt at SimpliSafe auto-relogin ( #52567 )
...
* Fresh attempt at SimpliSafe auto-relogin
* Fix tests
2021-07-06 18:21:25 +02:00
Aaron Bach
64e63dedf6
Revert "Force SimpliSafe to reauthenticate with a password ( #51528 )" ( #52484 )
...
This reverts commit 549f779b06
.
2021-07-05 11:38:31 +02:00
Aaron Bach
549f779b06
Force SimpliSafe to reauthenticate with a password ( #51528 )
2021-06-18 16:11:35 -06:00
Ville Skyttä
153d6e891e
Use config_entries.SOURCE_* constants ( #49631 )
2021-04-25 11:27:40 +02:00
Franck Nijhof
65cf2fcb6f
Drop asynctest ( #44746 )
2021-01-01 22:31:56 +01:00
Aaron Bach
fbc695e5cf
Fix setup of SimpliSafe options flow test ( #44375 )
2020-12-19 18:22:34 +01:00
Ronaldo Lima
d6d17aa295
Replace invalid credentials with common string invalid_auth ( #41997 )
...
* add GeoNet NZ Volcano to home-assistant#40578
* move invalid_credentials
* revert geonet nz volkano
* change invalid_credentials to invalid_auth
* change translation keys
2020-10-18 13:55:01 -05:00
Aaron Bach
6114006b8b
Deprecate YAML config for SimpliSafe (0.119 removal) ( #41896 )
...
* Deprecate YAML config for SimpliSafe (0.119 removal)
* Remove import step from config flow
2020-10-15 14:28:09 -06:00
Ville Skyttä
271ffac4a9
Fix static/class async mocks on Python 3.8.0 and .1 ( #40147 )
...
* forked_daapd
* shelly
* simplipy
2020-09-17 08:20:00 +03:00
Franck Nijhof
1c2ebdf307
Upgrade black to 20.8b1 ( #39287 )
2020-08-27 13:56:20 +02:00
Aaron Bach
5f6bd22f18
Remove leftover print statement ( #38163 )
2020-07-24 16:11:02 +02:00
Aaron Bach
a5b7a2c228
Fix SimpliSafe to work with new MFA ( #38097 )
...
* Fix SimpliSafe to work with new MFA
* Code review (part 1)
* Input needed from Martin
* Code review
* Code review
* Restore YAML
* Tests
* Code review
* Remove JSON patching in tests
* Add reauth test
* One more reauth test
* Don't abuse the word "conf"
* Update homeassistant/components/simplisafe/config_flow.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Test coverage
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-07-23 20:02:29 -06:00
Paulus Schoutsen
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
Paulus Schoutsen
ec47216388
Use built-in test helpers on 3.8 ( #34901 )
2020-04-30 13:29:50 -07:00
Aaron Bach
4f0997f6e9
Add options flow for SimpliSafe ( #32631 )
...
* Fix bug where SimpliSafe ignored code from UI
* Fix tests
* Add options flow
* Fix tests
* Code review
* Code review
* Code review
2020-03-12 22:00:00 -07:00
Aaron Bach
7c2765fbff
Remove unused SimpliSafe config flow function ( #32166 )
...
* Remove unused SimpliSafe config flow function
* Code review comments from other PR
* Linting
2020-02-24 22:02:20 -07:00
Aaron Bach
f7e336eaa6
Modernize SimpliSafe config flow ( #32130 )
...
* Modernize SimpliSafe config flow
* Fix tests
2020-02-24 13:03:08 -07:00
Aaron Bach
847196dbe8
Remove option to configure SimpliSafe scan interval ( #30909 )
...
* Enforce minimum scan interval for SimpliSafe
* Remove scan interval all together
* Fix tests
2020-01-17 13:43:41 -07:00