Commit Graph
121 Commits
Author SHA1 Message Date
Marc Mueller c3991b591a Improve DataUpdateCoordinator typing in integrations (8) (#85331) 2023-01-07 14:55:19 +01:00
Aaron Bach c6ad48e236 Fix SimpliSafe service calls that require a device selector (#83200)
fixes undefined
2022-12-03 14:20:53 -05:00
Aaron Bach 671e6b3832 Remove old system ID format from SimpliSafe base stations (#82993) 2022-11-30 22:10:56 +01:00
Aaron Bach 43c8adc5ec Bump simplisafe-python to 2022.11.2 (#82943) 2022-11-29 18:35:35 -07:00
Aaron Bach fe4da8d584 Remove previously-deprecated SimpliSafe service (#81054) 2022-10-27 10:39:57 +02:00
Aaron Bach b4356a432e Replace SimpliSafe clear_notifications service with a button (#75283)
* Replace SimpliSafe `clear_notifications` service with a button

* Better log message

* Coverage

* Docstring

* Add repairs item

* Better repairs strings

* Mark issue as fixable

* Add issue registry through helper

* Update deprecation version
2022-09-16 16:41:17 -06: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 ea1fc6b5d3 Migrate SimpliSafe to new entity naming style (#74763) 2022-07-09 19:59:36 +02:00
J. Nick Koston cd03c49fc2 Wait for config entry platform forwards (#73806) 2022-07-09 17:27:42 +02:00
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 BachandPaulus Schoutsen 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
epenetandepenet 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 549f779b06.
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 BachandPaulus Schoutsen 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