112 Commits

Author SHA1 Message Date
Aaron Bach
031149dfdd
Re-work SimpliSafe authentication to only need username/password (#70160) 2022-04-27 10:16:28 +02:00
Aaron Bach
e5eba88ecc
Clean up unnecessary branch in SimpliSafe (#66268) 2022-02-10 10:13:26 -07:00
Aaron Bach
fbe4d42729
Remove unnecessary TYPE_CHECKING declarations in SimpliSafe (#65750) 2022-02-04 23:41:40 -08:00
Aaron Bach
3387e8368b
Add redacted subscription data to SimpliSafe diagnostics (#65751) 2022-02-04 23:41:12 -08:00
Aaron Bach
778cc6106a
Remove deprecated SimpliSafe service_id service parameter (#65483) 2022-02-03 17:18:31 +01:00
Aaron Bach
7909cff957
Fix unknown alarm websocket event error for restored SimpliSafe connections (#65457) 2022-02-02 17:06:24 -08:00
Franck Nijhof
eb5a321a9f
Mark removed config schemas as removed (#61014) 2021-12-21 12:46:10 +01:00
Aaron Bach
3d75befe0a
Replace SimpliSafe logged errors with HomeAssistantError in service handlers (#62352) 2021-12-20 13:35:45 +01:00
Aaron Bach
b77fc2e8cb
Ensure existing SimpliSafe websocket tasks are cancelled appropriately (#62347) 2021-12-19 15:05:13 -07:00
Aaron Bach
8eb33ede43
Fix bug in which SimpliSafe websocket won't reconnect on error (#62241) 2021-12-19 13:52:21 -07:00
Aaron Bach
5372871727
Ensure SimpliSafe websocket reconnects upon new token (#61835) 2021-12-15 13:17:09 +01:00
Aaron Bach
0ae6969aa4
Deprecate system_id parameter in SimpliSafe service calls (#61076) 2021-12-05 23:55:52 -08:00
Marc Mueller
f7193400d4
Use platform enum (6) [S] (#60944) 2021-12-04 13:43:48 +01:00
Aaron Bach
9aa0994809
Add configuration URL for SimpliSafe (#60860) 2021-12-02 09:42:31 -10:00
Aaron Bach
e641214c60
Reorganize SimpliSafe services (#58722) 2021-12-02 09:07:14 -10:00
Aaron Bach
1da251860e
Fix bugs causing SimpliSafe entities to incorrectly show unavailable (#59955) 2021-11-21 21:32:03 -07:00
Aaron Bach
279ded3562
Ensure last_event_sensor_type in SimpliSafe entities is lowercased (#59864) 2021-11-17 16:37:53 -07:00
Aaron Bach
5370dd8122
Bump simplisafe-python to 2021.11.0 (#59692) 2021-11-15 11:23:25 +01:00
Aaron Bach
8ebd47b430
Guard against flaky SimpliSafe API calls (#59175) 2021-11-07 15:34:25 -08:00
Aaron Bach
0cc4b7219f
Perform some SimpliSafe code cleanup (#58867) 2021-11-01 09:04:00 +01:00
Aaron Bach
c469358e5f
Fix bug with volumes in SimpliSafe set_system_properties service (#58721)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-10-29 22:17:15 -07:00
Paulus Schoutsen
e1e864d2b6
Get the registry using the callback method (#58542) 2021-10-27 15:58:14 -07:00
Aaron Bach
a813608185
Re-add support for realtime SimpliSafe websocket (#58061)
* Migrate SimpliSafe to new web-based authentication

* Ensure we're storing data correctly

* Re-add support for realtime websocket in SimpliSafe

* Updates

* Better lock state from websocket

* Unknown states

* Streamline

* Unnecessary assertion

* Remove conditions we can't reach

* Require multiple error states from REST API before reacting

* Only disconnect when needed

* Typing

* Code review
2021-10-25 16:45:13 -06:00
epenet
a3d1159a13
Use DeviceInfo on components with via_device (R-X) (#58213)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-10-22 12:52:33 +02:00
Aaron Bach
2ff356393c
Clean up SimpliSafe entity inheritance structure (#58063)
* Migrate SimpliSafe to new web-based authentication

* Ensure we're storing data correctly

* Re-organize SimpliSafe device structure

* Constants

* More work

* Code review
2021-10-21 12:54:50 +02: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
Marc Mueller
d51487f82a
Import Callable from collections.abc (3) (#56777) 2021-09-29 16:19:06 +02:00
Aaron Bach
1cd575df53
Cast SimpliSafe version number as a string in device info (#54356) 2021-08-09 23:50:39 +02:00
Aaron Bach
f92ba75791
Enforce strict typing for SimpliSafe (#53417) 2021-07-27 22:11:54 +02:00
Marc Mueller
f6b162bc39
Add pylint CodeStyle extension (#53147) 2021-07-19 06:57:06 -07:00
Aaron Bach
a8ea214f2e
Bump simplisafe-python to 11.0.2 (#53121)
* Bump simplisafe-python to 11.0.2

* Fix CI
2021-07-18 17:12:05 -04: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 549f779b0679b004f67aca996b107414355a6e36.
2021-07-05 11:38:31 +02:00
Aaron Bach
413c3afa12
Remove redundant property definitions in SimpliSafe (#52458)
* Remove redundant property definitions in SimpliSafe

* Remove useless init
2021-07-03 11:16:55 -05:00
Aaron Bach
513bcbc02b
Replace custom listener with helper in SimpliSafe (#52457) 2021-07-03 11:01:41 -05:00
Aaron Bach
549f779b06
Force SimpliSafe to reauthenticate with a password (#51528) 2021-06-18 16:11:35 -06:00
Aaron Bach
d4601e00fd
Remove simplisafe websocket (#50213) 2021-05-07 15:41:37 +02:00
Aaron Bach
fec02c88af
Allow SimpliSafe startup to retry on failure (#50211)
* Allow SimpliSafe startup to retry on failure

* Update __init__.py

* Black

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-05-06 20:03:35 -06:00
Aaron Bach
73714eba4b
Remove no-longer-functioning SimpliSafe websocket support (#49876)
* Remove no-longer-functioning SimpliSafe websocket support

* Linting
2021-04-29 19:02:45 -06:00
J. Nick Koston
87420627a8
Reduce config entry setup/unload boilerplate Q-S (#49778) 2021-04-27 22:10:04 +02:00
J. Nick Koston
3fa8ffa731
Enable mccabe complexity checks in flake8 (#49616)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-04-25 12:38:40 +02:00
Paulus Schoutsen
a90d3a051f
prefer total_seconds over seconds (#49505) 2021-04-20 17:41:36 -07:00
J. Nick Koston
4cd7f9bd8b
Raise ConfigEntryAuthFailed during setup or coordinator update to start reauth (#48962) 2021-04-09 19:41:29 -10:00
Erik Montnemery
14ff6d4d1f
Update integrations p-s to override extra_state_attributes() (#47759) 2021-03-11 21:23:20 +01:00
Quentame
198ecb0945
Uniformize platform setup (#47101)
* A platform is not a component

* Fix dynalite

* SUPPORTED_PLATFORMS --> PLATFORMS

* In tests

* In tests 2

* Fix SmartThings

* Fix ZHA test

* Fix Z-Wave

* Revert Z-Wave

* Use PLATFORMS const in ambient_station

* Fix ihc comment
2021-03-02 21:43:59 +01:00
Aaron Bach
14c2053841
Bump simplisafe-python to 9.6.4 (#45716)
* Bump simplisafe-python to 9.6.4

* Fix imports
2021-01-29 13:30:21 -07:00
Paulus Schoutsen
594e905742
Remove invalidation_version from deprecated (#44156)
* Remove invalidation_version from deprecated. We don't follow up and just hurts releases

* Revert change to ZHA
2020-12-12 22:24:16 +01:00
Aaron Bach
ad7f1446be
Streamline SimpliSafe errors (#43117) 2020-11-13 09:38:58 +01:00
Aaron Bach
956e3b4451
Fix missing/incorrect SimpliSafe entities (#42846)
* Entity types

* Don't overdo it

* Fix missing/incorrect SimpliSafe entities
2020-11-04 18:59:54 -07:00