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
Bas Nijholt
23b92b2a56
Sort imports according to PEP8 for components starting with "S" ( #29777 )
2019-12-09 14:38:01 +01:00
Paulus Schoutsen
4de97abc3a
Black
2019-07-31 12:25:30 -07:00
Aaron Bach
401e22fc0c
Add config entry for SimpliSafe ( #17148 )
...
* Initial move into component
* Base functionality in place
* Starting tests in place
* All config entry tests in place
* Made default scan interval more obvious and removed extra logging
* Inherit default scan interval from alarm_control_panel
* Updated coveragerc and CODEOWNERS
* Member-requested changes
* Hound
* Updated requirements
* Updated tests
* Member-requested changes
* Owner-requested changes
* Constant cleanup
* Fixed config flow test
* Owner-requested updates
* Updated requirements
* Using async_will_remove_from_hass
* Corrected scan interval logic
* Fixed tests
* Owner-requested changes
* Additional logging
* Owner-requested changes
2018-10-12 19:07:47 +02:00