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
Erik Montnemery
b30d117e7d
Rename LockDevice to LockEntity ( #34594 )
2020-04-25 18:02:41 +02:00
Aaron Bach
3ce89409d2
Add service to clear SimpliSafe notifications ( #34481 )
2020-04-23 10:53:06 -06:00
Aaron Bach
828f368323
Handle flaky SimpliSafe notification registration ( #34475 )
2020-04-23 10:52:11 -06:00
HomeAssistant Azure
da87ec8499
[ci skip] Translation update
2020-04-23 00:05:07 +00:00
Joakim Sørensen
730a257f3c
Rename translations dir for integrations ( #34494 )
2020-04-21 16:11:05 -07:00
Aaron Bach
675525f47c
Ensure existing SimpliSafe notifications trigger event on HASS startup ( #34232 )
...
* Ensure existing SimpliSafe notifications trigger event on HASS startup
* Don't redefine a standing function each loop iteration
* Wait until HASS state is "running"
* Linting
* Linting
* Code review
* Code review
* Simplify
* Code review
* Cleanup
2020-04-19 19:41:16 -06:00
Paulus Schoutsen
0d60d40512
Update translations
2020-04-16 13:00:10 -07:00
Paulus Schoutsen
55dfca7467
Drop title from translations if brand name ( #34306 )
2020-04-16 12:52:53 -07:00
Paulus Schoutsen
f06aeea385
Update translations
2020-04-15 09:51:07 -07:00
Paulus Schoutsen
d36204a968
Move title translation to root ( #33850 )
2020-04-15 09:41:18 -07:00
Aaron Bach
535ce8726d
Bump simplisafe-python to 9.0.7 ( #34216 )
2020-04-14 11:53:53 -06:00
HomeAssistant Azure
ad619817c6
[ci skip] Translation update
2020-04-08 00:08:19 +00:00
Aaron Bach
648b340e8c
Bump simplisafe-python to 9.0.6 ( #33762 )
2020-04-07 00:28:42 +02:00
Aaron Bach
6ca2c4da3a
Properly demarcate websocket and REST API callbacks in SimpliS… ( #33706 )
...
* Properly demarcate websocket and REST API callbacks in SimpliSafe
* Docstring
* Method names
* Cleanup
* Remove spurious logging
* Remove redundant method
* Fix comment
* Code review
2020-04-06 14:17:45 -07:00
Aaron Bach
c8df5fb8ad
Ensure SimpliSafe state sync when websocket falters ( #33680 )
2020-04-05 10:47:04 -06:00
Franck Nijhof
24840b54ac
Add yamllint (in pre-commit and CI) ( #33676 )
...
* Add yamllint (in pre-commit and CI)
* Fix linting for all YAML files
* Bump and add it to requirements
* Fix gen_requirements for pre-commit, remove 'v' from version
2020-04-05 10:33:45 +02:00
Franck Nijhof
7653dc947a
Enable pylint unnecessary-pass ( #33650 )
...
* Enable pylint unnecessary-pass
* Process review suggestions
* Fix smhi tests
2020-04-05 10:33:07 +02:00
Paulus Schoutsen
f1d3c0d19b
Remove unused manifest fields ( #33595 )
2020-04-03 12:58:19 -07:00
HomeAssistant Azure
5bedc4ede2
[ci skip] Translation update
2020-03-29 00:04:45 +00:00
HomeAssistant Azure
c89975adf6
[ci skip] Translation update
2020-03-27 00:46:57 +00:00
HomeAssistant Azure
6c4b4ad1e0
[ci skip] Translation update
2020-03-26 00:47:06 +00:00
HomeAssistant Azure
763ed0dc7b
[ci skip] Translation update
2020-03-24 13:18:47 +00:00
Aaron Bach
403b4a2e0b
Bump simplisafe-python to 9.0.5 ( #33116 )
2020-03-21 16:01:39 -06:00
Aaron Bach
836413a4a8
Bump simplisafe-python to 9.0.4 ( #33059 )
2020-03-20 14:59:01 -06:00
Aaron Bach
23045af4a7
Bump simplisafe-python to 9.0.3 ( #33013 )
2020-03-19 16:39:24 -06:00
Aaron Bach
a3e2504470
Add cleanup to SimpliSafe ( #32889 )
2020-03-17 07:02:30 -04: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
HomeAssistant Azure
104350265d
[ci skip] Translation update
2020-03-04 18:13:24 +00:00
HomeAssistant Azure
da959c8f7b
[ci skip] Translation update
2020-03-02 00:31:47 +00:00
Aaron Bach
aab2fd5ec3
Bump simplisafe-python to 9.0.2 ( #32273 )
2020-02-27 12:18:26 -07:00
Aaron Bach
df04fe3258
Bump simplisafe-python to 9.0.0 ( #32215 )
2020-02-26 18:52:07 -08:00
HomeAssistant Azure
92988d60a7
[ci skip] Translation update
2020-02-27 00:31:50 +00:00
Aaron Bach
e435f6eb67
Fix error where SimpliSafe websocket would disconnect and not reconnect ( #32199 )
...
* Fix error where SimpliSafe websocket would disconnect and not reconnect
* Await
2020-02-26 12:19:14 +01:00
Aaron Bach
b5c1afcb84
Make SimpliSafe entities unavailable when wifi is lost ( #32154 )
...
* Make SimpliSafe entities unavailable when wifi is lost
* Remove online status from REST API
* Comments
* Mispelling
2020-02-25 20:03:41 -07:00
HomeAssistant Azure
ed461a0ad8
[ci skip] Translation update
2020-02-26 00:31:47 +00: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
HomeAssistant Azure
a9e061270b
[ci skip] Translation update
2020-02-25 00:32:13 +00: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
6e6625e1ab
Remove no-longer-needed SimpliSafe websocket watchdog ( #32129 )
...
* Fix SimpliSafe reconnection issue upon websocket error
* Rename listener cancelation properties
* Remove watchdog
2020-02-23 20:47:19 -07:00
Aaron Bach
30efef3085
Add support for SimpliSafe system notifications ( #31936 )
...
* Add support for SimpliSafe system notifications
* Actually process notifications
* Code review comments
2020-02-18 11:49:36 -07:00
Aaron Bach
74f0262e82
Bump simplisafe-python to 8.1.1 ( #31915 )
2020-02-17 13:16:24 -07:00
Aaron Bach
d6f0c26e7f
Fire HASS events on SimpliSafe events ( #31811 )
...
* Fire HASS events on SimpliSafe events
* Bump simplisafe-ptyhon to 7.3.0
* Update reqirements
* Updates
* Revert "Updates"
This reverts commit 5581889417
.
* Restrict which events get fired
* Code review comments
2020-02-14 11:24:35 -07:00
Aaron Bach
f091e0412f
Add support for real-time data from SimpliSafe ( #31424 )
...
* Add support for real-time data from SimpliSafe
* Updated requirements
* Linting
* Ensure dispatcher topic contains the domain
* Don't bother with a partial
* Websovket dataclass and other code review
* Ensure initial_event_to_use works with error
* Don't inline methods
* Don't abuse loop variable
* Simplify initial event retrieval
* Add connection lost and restored events
* Revert "Add connection lost and restored events"
This reverts commit e7ffe05938
.
* Make _on_disconnect a static method
* Code review comments
* Allow entities to opt out of REST and/or websocket API updates
* Revert "Allow entities to opt out of REST and/or websocket API updates"
This reverts commit 1989f2e00e
.
* Code review comments
* Fix issues with events not triggering correct entities
* Bug fixes
2020-02-13 11:30:38 -08:00
HomeAssistant Azure
118ba10442
[ci skip] Translation update
2020-02-10 00:31:37 +00:00
HomeAssistant Azure
a2bea2cab8
[ci skip] Translation update
2020-02-09 00:31:39 +00:00
Aaron Bach
2610415501
Streamline SimpliSafe data and token management ( #31324 )
...
* Streamline SimpliSafe API usage
* Streamline SimpliSafe data and token management
* Correctly define self.systems
* Inline update method
2020-02-02 17:16:09 -07:00
Aaron Bach
f95a072877
Constrain SimpliSafe's check for emergency token usage ( #31214 )
2020-01-27 10:50:16 -07:00