Commit Graph

263 Commits (c5d806fdbe179799d15a15d7f291bea5aa988e83)

Author SHA1 Message Date
Aaron Bach 0696724506
Fix inability to erase SimpliSafe code (#44137) 2020-12-12 10:43:38 +01:00
Aaron Bach 5f4f6dea6b
Bump simplisafe-python to 9.6.2 (#44040) 2020-12-07 19:57:19 -07:00
Aaron Bach 8632ab9d35
Bump simplisafe-python to 9.6.1 (#44030) 2020-12-07 13:34:47 -07:00
HomeAssistant Azure 9c63fbfcb1 [ci skip] Translation update 2020-12-07 00:04:18 +00:00
HomeAssistant Azure 5462d6e798 [ci skip] Translation update 2020-11-29 00:04:09 +00:00
Aaron Bach fd6a2b078b
Fix exception upon lock initialization on V2 SimpliSafe systems (#43705) 2020-11-27 21:09:37 +01:00
HomeAssistant Azure ed16c5078f [ci skip] Translation update 2020-11-26 00:03:15 +00:00
Aaron Bach ad7f1446be
Streamline SimpliSafe errors (#43117) 2020-11-13 09:38:58 +01:00
HomeAssistant Azure 8a0907acf9 [ci skip] Translation update 2020-11-12 00:10:58 +00:00
Paulus Schoutsen 54f3d9078a Update translations 2020-11-11 12:10:09 +01:00
HomeAssistant Azure 4b9ba79584 [ci skip] Translation update 2020-11-11 00:10:27 +00:00
Aaron Bach 6f4219d709
Add support for additional SimpliSafe sensors (#43017) 2020-11-09 23:18:18 +01:00
HomeAssistant Azure 57c6bb96f4 [ci skip] Translation update 2020-11-07 00:04:02 +00:00
HomeAssistant Azure e972686a13 [ci skip] Translation update 2020-11-06 00:04:57 +00: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
HomeAssistant Azure 9298fec345 [ci skip] Translation update 2020-11-05 00:10:11 +00:00
Aaron Bach 5b754c29e0
Fix missing sensor exceptions in SimpliSafe (#42845)
* Fix missing sensor exceptions in SimpliSafe

* Entity types

* Don't overdo it
2020-11-04 12:34:14 -07:00
Aaron Bach b0a6ac7e91
Properly unload listener for SimpliSafe config entry updates (#42579) 2020-11-04 12:28:43 -07:00
Aaron Bach 9bb1c6f188
Clean up SimpliSafe binary sensor implementation (#42841)
* Clean up SimpliSafe binary sensor implementation

* Cleanup

* Constant name
2020-11-04 11:41:08 -07:00
HomeAssistant Azure aab0ff2ea5 [ci skip] Translation update 2020-11-03 00:04:39 +00:00
Aaron Bach 1f9564bcf5
Fix incorrect property usage for SimpliSafe (#42770) 2020-11-02 14:57:53 -07:00
HomeAssistant Azure b9d04b9304 [ci skip] Translation update 2020-10-30 00:02:45 +00:00
HomeAssistant Azure f4cebfbb7e [ci skip] Translation update 2020-10-27 00:06:28 +00:00
Aaron Bach 02f86f01bc
Bump simplisafe-python to 9.6.0 (#42437) 2020-10-26 17:26:03 -06:00
HomeAssistant Azure c2a9f2ae52 [ci skip] Translation update 2020-10-26 00:03:36 +00:00
HomeAssistant Azure ed232ac733 [ci skip] Translation update 2020-10-24 00:05:17 +00:00
HomeAssistant Azure 6e53aa1155 [ci skip] Translation update 2020-10-23 00:03:04 +00:00
Niccolo Zapponi 93841e3e0c
Fix bug for SimpliSafe 2 systems repeatedly saying "your settings have been synchronised" (#42197)
* Fix bug for SimpliSafe 2 systems

* Improved loop and logging for SimpliSafe 2
2020-10-22 10:01:10 -06:00
HomeAssistant Azure b102ad731f [ci skip] Translation update 2020-10-22 00:09:52 +00:00
Aaron Bach 8e063e94da
Bump simplisafe-python to 9.5.1 (#42179) 2020-10-21 23:35:48 +02:00
Aaron Bach 8bcfe4c859
Remove coordinator success from SimpliSafe availability calculation (#42180) 2020-10-21 23:35:20 +02:00
HomeAssistant Azure 00847db54f [ci skip] Translation update 2020-10-21 00:06:01 +00:00
HomeAssistant Azure 81296b2b70 [ci skip] Translation update 2020-10-20 00:08:00 +00:00
HomeAssistant Azure 59a3add24a [ci skip] Translation update 2020-10-19 00:03:28 +00: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 91fd59aa57
Fix incorrect initial state with SimpliSafe locks (#42039)
* Fix incorrect initial state with SimpliSafe locks

* Cleanup
2020-10-18 12:21:48 -06:00
Aaron Bach 95f66ff4d5
Add low battery sensor for SimpliSafe locks (#42010) 2020-10-17 14:41: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
HomeAssistant Azure 39adf14079 [ci skip] Translation update 2020-10-17 00:06:00 +00:00
Aaron Bach bbef87d3f3
Clean up SimpliSafe device info and sensor creation (#41920)
* Clean up SimpliSafe device info and sensor creation

* Code review
2020-10-16 12:01:16 -05:00
Aaron Bach eff0c4a494
Properly unload SimpliSafe websocket listener (#41952) 2020-10-16 17:44:53 +02:00
Aaron Bach 76f88459dd
Fix incorrect SimpliSafe websocket disconnect listener (#41923) 2020-10-15 23:13:45 -05:00
HomeAssistant Azure 11b812b82e [ci skip] Translation update 2020-10-16 00:04:33 +00:00
Aaron Bach a0bb8ae5d9
Fix unhandled exception with SimpliSafe socket disconnection (#41917) 2020-10-15 17:00:57 -05:00
Aaron Bach 162a5d99a2
Add common string for reauth title (#41865) 2020-10-15 16:35:00 -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
Aaron Bach 2079e41b7a
Properly disconnect from SimpliSafe websocket on HASS shutdown (#41894)
* Properly disconnect from SimpliSafe websocket on HASS shutdown

* Update homeassistant/components/simplisafe/__init__.py

Co-authored-by: J. Nick Koston <nick@koston.org>

* Update homeassistant/components/simplisafe/__init__.py

Co-authored-by: J. Nick Koston <nick@koston.org>

Co-authored-by: J. Nick Koston <nick@koston.org>
2020-10-15 13:05:00 -06:00
Aaron Bach db7c16162d
Remove duplicated options handling in SimpliSafe (#41806)
* Remove duplicated options handling in SimpliSafe

* Incorrect property name
2020-10-15 10:36:04 -06:00
Aaron Bach 690024b34a
Fix SimpliSafe re-auth flow (#41805)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-10-15 10:15:32 +02:00
HomeAssistant Azure 994ae09f69 [ci skip] Translation update 2020-10-15 00:03:50 +00:00
HomeAssistant Azure 1417a4161f [ci skip] Translation update 2020-10-13 00:03:24 +00:00
Niccolo Zapponi 8a45bc2d13
Add support for SimpliSafe sensors (#41080)
* Add support for SimpliSafe sensors

* Turn sensor refresh rate to a configurable setting

* Set minimum to scan interval

* Removed dynamic sensor refresh rate

* Refactoring

* Refactoring

* Move battery entities to binary_sensor platform

* Bug fix

* Clean up

* Simplified device info override

* Ignore sensor cache
2020-10-12 11:31:55 -06:00
HomeAssistant Azure f787289ea0 [ci skip] Translation update 2020-10-12 00:03:31 +00:00
HomeAssistant Azure 80522f1bdc [ci skip] Translation update 2020-10-11 00:03:37 +00:00
HomeAssistant Azure 6ae12c3faf [ci skip] Translation update 2020-10-10 00:05:05 +00:00
HomeAssistant Azure 29aea5a66c [ci skip] Translation update 2020-10-09 00:04:33 +00:00
HomeAssistant Azure d73d36d0cd [ci skip] Translation update 2020-10-08 00:06:03 +00:00
HomeAssistant Azure 486c0b644a [ci skip] Translation update 2020-10-07 00:06:20 +00:00
SNoof85 883c9b5e18
Add reauth_successful to base strings (#41316) 2020-10-06 11:29:53 +02:00
HomeAssistant Azure f8c2d877aa [ci skip] Translation update 2020-10-04 00:05:05 +00:00
Aaron Bach 44e5ec58b0
Bump simplisafe-python to 9.4.1 (#40819)
* Bump simplisafe-python to 9.4.0

* One more bump
2020-09-30 19:20:10 -06:00
HomeAssistant Azure 8d0f1e7db2 [ci skip] Translation update 2020-09-30 00:04:43 +00:00
HomeAssistant Azure 2b00d28af9 [ci skip] Translation update 2020-09-27 00:06:49 +00:00
Aaron Bach ebdb34a911
Bump simplisafe-python to 9.3.3 (#40560) 2020-09-24 16:19:25 -06:00
HomeAssistant Azure 7c344fa0cd [ci skip] Translation update 2020-09-22 00:07:08 +00:00
HomeAssistant Azure 0a0a8fc67d [ci skip] Translation update 2020-09-18 00:07:17 +00:00
HomeAssistant Azure 07d5af1969 [ci skip] Translation update 2020-09-08 00:04:13 +00:00
HomeAssistant Azure 5ce62c8446 [ci skip] Translation update 2020-09-02 00:03:29 +00:00
HomeAssistant Azure 8d68963854 [ci skip] Translation update 2020-09-01 00:07:08 +00:00
Ville Skyttä 1bf2c4d976
Upgrade pylint to 2.6.0 (#39363) 2020-08-29 07:59:24 +02:00
Ville Skyttä b4bac0f7a0
Exception chaining and wrapping improvements (#39320)
* Remove unnecessary exception re-wraps

* Preserve exception chains on re-raise

We slap "from cause" to almost all possible cases here. In some cases it
could conceivably be better to do "from None" if we really want to hide
the cause. However those should be in the minority, and "from cause"
should be an improvement over the corresponding raise without a "from"
in all cases anyway.

The only case where we raise from None here is in plex, where the
exception for an original invalid SSL cert is not the root cause for
failure to validate a newly fetched one.

Follow local convention on exception variable names if there is a
consistent one, otherwise `err` to match with majority of codebase.

* Fix mistaken re-wrap in homematicip_cloud/hap.py

Missed the difference between HmipConnectionError and
HmipcConnectionError.

* Do not hide original error on plex new cert validation error

Original is not the cause for the new one, but showing old in the
traceback is useful nevertheless.
2020-08-28 13:50:32 +02:00
Franck Nijhof 1c2ebdf307
Upgrade black to 20.8b1 (#39287) 2020-08-27 13:56:20 +02:00
HomeAssistant Azure 195d4b6897 [ci skip] Translation update 2020-08-27 00:04:55 +00:00
Aaron Bach 9e21fb6b52
Handle unhandled exceptions related to unavailable SimpliSafe features (#38812) 2020-08-12 15:21:17 -06:00
HomeAssistant Azure e76db60367 [ci skip] Translation update 2020-08-05 00:02:19 +00:00
Aaron Bach 497c1587fe
Bump simplisafe-python to 9.2.2 (#38365) 2020-07-29 12:12:07 -06:00
HomeAssistant Azure ff3d76b464 [ci skip] Translation update 2020-07-29 00:02:39 +00:00
HomeAssistant Azure e6e3517a94 [ci skip] Translation update 2020-07-28 00:04:53 +00:00
HomeAssistant Azure 8abdc2c969 [ci skip] Translation update 2020-07-27 00:02:58 +00:00
HomeAssistant Azure a1ebb52813 [ci skip] Translation update 2020-07-25 00:04:22 +00: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
HomeAssistant Azure 9092b83869 [ci skip] Translation update 2020-07-20 00:03:01 +00:00
Franck Nijhof 53545c984b
Log lines do not end with a full stop (#37527) 2020-07-05 23:04:19 +02:00
HomeAssistant Azure b15caf31a9 [ci skip] Translation update 2020-06-15 00:03:32 +00:00
HomeAssistant Azure 81355a0e23 [ci skip] Translation update 2020-06-08 00:02:43 +00:00
HomeAssistant Azure 492874c4a0 [ci skip] Translation update 2020-06-06 00:03:33 +00:00
HomeAssistant Azure 56efc341dd [ci skip] Translation update 2020-05-23 00:02:41 +00:00
HomeAssistant Azure 973f66a974 [ci skip] Translation update 2020-05-22 00:05:00 +00:00
HomeAssistant Azure e94f44f294 [ci skip] Translation update 2020-05-17 00:02:56 +00:00
HomeAssistant Azure 9586e9ebef [ci skip] Translation update 2020-05-15 00:02:56 +00:00
Paulus Schoutsen 0efeefe3b2 Update translations 2020-05-13 11:27:21 -07:00
Paulus Schoutsen dd32324e01
Use config flow references for data (#35529) 2020-05-12 10:50:44 -07:00
Paulus Schoutsen befda9a78b
Add email as common data string (#35546) 2020-05-12 09:08:07 -07:00
HomeAssistant Azure 78f846d532 [ci skip] Translation update 2020-05-03 00:02:26 +00:00
HomeAssistant Azure bd72ddda3c [ci skip] Translation update 2020-05-01 00:02:55 +00:00
HomeAssistant Azure 5d37eb8eeb [ci skip] Translation update 2020-04-30 00:03:17 +00:00
HomeAssistant Azure 7faba60e83 [ci skip] Translation update 2020-04-29 00:03:31 +00:00
Aaron Bach b876f7f11a
Bump simplisafe-python to 9.2.0 (#34750) 2020-04-27 10:41:33 -06:00
Erik Montnemery 6f7f5b4034
Rename AlarmControlPanel to AlarmControlPanelEntity (#34590) 2020-04-25 18:05:28 +02:00