Commit graph

35 commits

Author SHA1 Message Date
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
epenet
ef5fccad9e
Use standard argument name in async_step_reauth (#74139) 2022-06-28 23:23:32 +02:00
epenet
fc8727454a
Use Mapping for async_step_reauth (p-s) (#72766) 2022-06-02 14:28:14 +02:00
Aaron Bach
506d09d058
Increase timeout for SimpliSafe email-based 2FA to 10 minutes (#72115)
Increase timeout for SimpliSafe email-based 2FAA to 10 minutes
2022-05-19 02:27:58 +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
Aaron Bach
fbe4d42729
Remove unnecessary TYPE_CHECKING declarations in SimpliSafe (#65750) 2022-02-04 23:41:40 -08:00
Dave T
0acfc7bbab
Align config flow type hints to scaffold (#65157) 2022-01-30 20:26:28 +01:00
Aaron Bach
58174eaa4e
Assign docs URL to a placeholder in SimpliSafe config flow (#61410) 2021-12-09 14:41:13 -08:00
Aaron Bach
b556bd1d58
Consolidate SimpliSafe config flow forms into one (#61402) 2021-12-09 14:11:41 -08:00
Aaron Bach
bf7c99c1f8
Migrate SimpliSafe to new web-based authentication (#57212) 2021-10-19 10:09:48 -10:00
Aaron Bach
f92ba75791
Enforce strict typing for SimpliSafe (#53417) 2021-07-27 22:11:54 +02: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
Franck Nijhof
8eb27374c6
Clean up connection classes in integrations P-S (#49893) 2021-04-30 21:04:44 -10:00
Marc Mueller
2956eb0902
Update pylint to 2.7.3 (#48488)
* Update pylint to 2.7.3

* Add class-const-naming-style

* Remove unused-import message

* Additional cleanup
2021-03-29 18:02:56 -10:00
Aaron Bach
0696724506
Fix inability to erase SimpliSafe code (#44137) 2020-12-12 10:43:38 +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
8b6336a91a
Move SimpliSafe REST API to DataUpdateCoordinator (#41919)
* Mirgrate SimpliSafe REST API to DataUpdateCoordinator

* Docstring

* More work

* Good to go

* Linting

* Restore previous initial event check

* Linting

* Comment

* Simplify listener

* Code review

* Cleanup
2020-10-17 14:40:34 -05:00
Philip Allgaier
dde6305549
Cleanup unused loggers (components N-Z + tests) (#41982) 2020-10-16 21:24:08 -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
Franck Nijhof
1c2ebdf307
Upgrade black to 20.8b1 (#39287) 2020-08-27 13:56:20 +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
Aaron Bach
b876f7f11a
Bump simplisafe-python to 9.2.0 (#34750) 2020-04-27 10:41:33 -06: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
springstan
5dbfa16e04 Move imports to top for simplisafe (#29262) 2019-11-30 17:16:05 -07:00
Paulus Schoutsen
4de97abc3a Black 2019-07-31 12:25:30 -07:00
Fabian Affolter
127c55e0c1
Update file header (#21023)
* Update file header

* Update file header

* Update file header

* Update file header

* Update file header

* Fix lint issues
2019-02-13 21:21:14 +01: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