Commit Graph
100 Commits
Author SHA1 Message Date
Aaron BachandGitHub 31518937c0 Cleanup RainMachine (#42544) 2020-10-29 00:52:15 +01:00
Aaron BachandGitHub e61e8fafee Add options flow to RainMachine (#42241)
* Add options flow to RainMachine

* Linting
2020-10-28 15:52:42 -06:00
Aaron BachandGitHub 02f86f01bc Bump simplisafe-python to 9.6.0 (#42437) 2020-10-26 17:26:03 -06:00
Aaron BachandGitHub 536f1186b0 Remove remnants of configurable RainMachine scan interval (#42239)
* Remove remnants of configurable RainMachine scan interval

* Clean up tests

* Cleanup
2020-10-22 21:32:04 -05:00
Aaron BachandGitHub 8e063e94da Bump simplisafe-python to 9.5.1 (#42179) 2020-10-21 23:35:48 +02:00
Aaron BachandGitHub 8bcfe4c859 Remove coordinator success from SimpliSafe availability calculation (#42180) 2020-10-21 23:35:20 +02:00
Aaron BachandGitHub 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 BachandGitHub 95f66ff4d5 Add low battery sensor for SimpliSafe locks (#42010) 2020-10-17 14:41:01 -05:00
Aaron BachandGitHub 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
Aaron BachandGitHub 1b94ef69d8 Migrate IQVIA to DataUpdateCoordinator (#41970)
* Migrate IQVIA to DataUpdateCoordinator

* Linting

* Code review

* Better re-raise
2020-10-17 11:16:41 -05:00
Aaron BachandGitHub 74a1b75919 Deprecate YAML config for RainMachine (0.119 removal) (#41971) 2020-10-16 16:35:13 -05:00
Aaron BachandGitHub 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 BachandGitHub eff0c4a494 Properly unload SimpliSafe websocket listener (#41952) 2020-10-16 17:44:53 +02:00
Aaron BachandGitHub 1e0663e986 Bump pyairvisual to 5.0.3 (#41921) 2020-10-15 23:16:03 -05:00
Aaron BachandGitHub 76f88459dd Fix incorrect SimpliSafe websocket disconnect listener (#41923) 2020-10-15 23:13:45 -05:00
Aaron BachandGitHub a0bb8ae5d9 Fix unhandled exception with SimpliSafe socket disconnection (#41917) 2020-10-15 17:00:57 -05:00
Aaron BachandGitHub 162a5d99a2 Add common string for reauth title (#41865) 2020-10-15 16:35:00 -05:00
Aaron BachandGitHub 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
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 BachandGitHub 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
efffc82414 Fix SimpliSafe re-auth flow (#41805)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-10-15 08:42:05 +00:00
690024b34a Fix SimpliSafe re-auth flow (#41805)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-10-15 10:15:32 +02:00
Aaron BachandGitHub 099de37ee5 Fix re-authentication in AirVisual (#41801) 2020-10-15 09:30:39 +02:00
Aaron BachandGitHub 3a59f7c2b7 Address cleanup commentary for Guardian Paired Sensors (#41785) 2020-10-13 22:01:10 +02:00
Aaron BachandGitHub bb98f7ed1b Add support for Elexa Guardian paired sensors (#37930)
* Add support for Guardian paired sensors

* More work

* OOP

* More OOP

* Binary sensors looking good

* Entities all in place

* Looking good

* Linting

* Code review

* Code review

* Flake

* Fix removal

* Code review

* Linting

* Don't use potentially confusing method name

* Use CoordinatorEntity

* Linting

* Pylint

* Code review

* Code review
2020-10-12 21:41:57 -06:00
Aaron BachandPaulus Schoutsen 9312fd141e Bump simplisafe-python to 9.4.1 (#40819)
* Bump simplisafe-python to 9.4.0

* One more bump
2020-10-01 19:58:18 +00:00
Aaron BachandGitHub 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
Aaron BachandGitHub ebdb34a911 Bump simplisafe-python to 9.3.3 (#40560) 2020-09-24 16:19:25 -06:00
Aaron BachandGitHub f82ca44aac Bump pyairvisual to 5.0.2 (#40554)
* Bump pyairvisual to 5.0.2

* Fix tests
2020-09-24 15:31:47 -06:00
Aaron BachandGitHub 0e11c10468 Prompt user to reauthenticate AirVisual when API key expires (#38341)
* Prompt user to reauthenticate AirVisual when API key expires

* Don't version bump

* Cleanup

* Linting
2020-09-09 16:41:07 -06:00
Aaron BachandGitHub 4a7c181e91 Allow Slack notifications to change username/icon on the fly (#39091)
* Allow Slack notifications to change username/icon on the fly

* Code review
2020-08-21 08:37:30 -06:00
Aaron BachandGitHub 31e0ddaec5 Update Notion to use a DataUpdateCoordinator (#38978)
* Update Notion to use a DataUpdateCoordinator

* isort

* Bug
2020-08-21 08:10:12 -06:00
Aaron BachandGitHub 7071f3a966 Remove deprecated YAML config from OpenUV (#38857) 2020-08-16 19:57:10 -06:00
Aaron BachandPaulus Schoutsen 8feb382ae5 Handle unhandled exceptions related to unavailable SimpliSafe features (#38812) 2020-08-15 05:14:39 +00:00
Aaron BachandGitHub 9e21fb6b52 Handle unhandled exceptions related to unavailable SimpliSafe features (#38812) 2020-08-12 15:21:17 -06:00
Aaron BachandPaulus Schoutsen 6f5884805e Fix missing data for Guardian "AP enabled" binary sensor (#38681) 2020-08-09 11:30:37 +00:00
Aaron BachandPaulus Schoutsen 24c3cbfff9 Bump regenmaschine to 2.1.0 (#38649) 2020-08-09 11:30:33 +00:00
Aaron BachandGitHub 6856735a1d Fix missing data for Guardian "AP enabled" binary sensor (#38681) 2020-08-08 21:00:55 -06:00
Aaron BachandGitHub 4cceb4ad0a Bump regenmaschine to 2.1.0 (#38649) 2020-08-07 18:01:55 -06:00
Aaron BachandGitHub d498246fb6 Bump aioambient to 1.2.1 (#38519) 2020-08-03 12:30:46 -06:00
Aaron BachandGitHub 6fd39f57ee Remove YAML configuration support for IQVIA (#38141) 2020-08-03 19:35:36 +02:00
Aaron BachandGitHub 53e162c922 Remove deprecated Slack attachments framework (#38139) 2020-08-03 19:33:49 +02:00
Aaron BachandGitHub 497c1587fe Bump simplisafe-python to 9.2.2 (#38365) 2020-07-29 12:12:07 -06:00
Aaron BachandGitHub e86fd9af8a Bump aioambient to 1.2.0 (#38364) 2020-07-29 11:56:44 -06:00
Aaron BachandFranck Nijhof bbf36d1a36 Remove leftover print statement (#38163) 2020-07-24 21:54:08 +02:00
7fe5fee124 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-24 21:53:45 +02:00
Aaron BachandGitHub 5f6bd22f18 Remove leftover print statement (#38163) 2020-07-24 16:11:02 +02:00
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 BachandGitHub e61da2fff3 Re-add ability to use remote files (by URL) in Slack messages (#37161)
* Re-add remote file support for Slack

* More work

* Ensure Slack can only upload files from whitelisted directories

* Cleanup

* Finish work

* Code review

* Messing around

* Final cleanup

* Add comment explaining why we use aiohttp for remote files

* Typo
2020-07-10 16:07:44 -06:00
Aaron BachandGitHub 5f36023b9e Actually fix Guardian entity services (#37700)
* Actually fix Guardian entity services

* Bump aioguardian

* Remove upgrade_firmware defaults
2020-07-09 20:52:13 -06:00
Aaron BachandGitHub 05f93f27df Fix missing Guardian service strings (#37659) 2020-07-08 14:51:42 -06:00
Aaron BachandGitHub 0067b6a84d Transition Guardian to use a DataUpdateCoordinator (#37380)
* Migrate Guardian to use the DataUpdateCoordinator

* Finish work

* Cleanup

* Don't use UpdateFailed error

* Code cleanup

* Code cleanup

* Remove unnecessary change

* Code review

* Code review

* Use a subclass of DataUpdateCoordinator

* Make sure to pop client upon unload

* Adjust coverage
2020-07-05 16:09:40 -06:00
Aaron BachandPaulus Schoutsen 032a6f3143 Bump pytile to 4.0.0 (#37398) 2020-07-03 22:42:52 +00:00
Aaron BachandGitHub 187a20288b Bump pytile to 4.0.0 (#37398) 2020-07-02 23:07:54 -06:00
caf306799b Fix Tile location accuracy bug (#37233)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-06-30 00:25:35 +00:00
Aaron BachandPaulus Schoutsen a06595c08d Fix bug where Tile session would expire (#37185) 2020-06-30 00:25:32 +00:00
0f43476d03 Fix Tile location accuracy bug (#37233)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-06-29 17:25:01 -07:00
Aaron BachandGitHub 856f8fd6de Move Guardian services to entity platform services (#37189) 2020-06-29 17:24:42 -07:00
Aaron BachandGitHub b0df223f5a Bump aioguardian (#37188)
* Bump aioguardian

* Fix tests
2020-06-27 23:16:42 -06:00
Aaron BachandGitHub 10f296ba17 Fix bug where Tile session would expire (#37185) 2020-06-27 21:54:50 -07:00
Aaron BachandGitHub 3a2d4ac7fa Add optimistic Guardian switch updating (#37141) 2020-06-26 10:19:38 -06:00
7968cd650a Add concept of allowed external URLs to config (#36988)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-06-24 17:37:01 -07:00
Aaron BachandGitHub b51d81edba Clean up Tile refactor (#36450)
* Clean up Tile refactor

* Code review
2020-06-05 21:12:48 +02:00
Aaron BachandGitHub 7a3c2e1f6c Add config flow for Tile (#36173)
* Overhaul Tile

* Adjust coverage

* Fix tests

* Code review

* Code review

* Remove unused config flow step

* Revert "Remove unused config flow step"

This reverts commit cb206e044672deb7f681d2a3ae0be03762854fc0.

* Fix tests
2020-06-04 10:07:27 -06:00
Aaron BachandGitHub cc4326276e RainMachine: Add time remaining as a zone attribute (#36361) 2020-06-01 21:49:02 -06:00
Aaron BachandPaulus Schoutsen ca0149c635 Prevent AirVisual from polling (#36199)
* Prevent AirVisual from polling

* Docstring
2020-05-28 15:52:32 -07:00
c18ba6aec0 Remove configuration.yaml support for OpenUV (#36148)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-05-27 15:48:28 -07:00
Aaron BachandGitHub 7571fdc957 Allow Guardian config flow to be ignored (#36207)
* Allow Guardian config flow to be ignored

* Tests
2020-05-27 16:45:28 -06:00
Aaron BachandGitHub 6609bd94e5 Prevent AirVisual from polling (#36199)
* Prevent AirVisual from polling

* Docstring
2020-05-27 13:53:14 -06:00
Aaron BachandGitHub 369745c4cf Add support for Elexa Guardian water valve controllers (#34627)
* Add support for Elexa Guardian water valve controllers

* Zeroconf + cleanup

* Sensors and services

* API registration

* Service bug fixes

* Fix bug in cleanup

* Tests and coverage

* Fix incorrect service description

* Bump aioguardian

* Bump aioguardian to 0.2.2

* Bump aioguardian to 0.2.3

* Proper entity inheritance

* Give device a proper name

* Code review
2020-05-26 08:47:25 -05:00
Aaron BachandFranck Nijhof 53c2227b1d Fix bugs with AirVisual auto-leveling API (#36097)
* Fix bugs with AirVisual auto-leveling API

* Code review

* Code review
2020-05-26 12:11:30 +02:00
Aaron BachandGitHub 599d3ae930 Fix bugs with AirVisual auto-leveling API (#36097)
* Fix bugs with AirVisual auto-leveling API

* Code review

* Code review
2020-05-26 09:00:05 +02:00
Aaron BachandGitHub 05cbb3f0e4 Remove WWLLN integration (#35926) 2020-05-25 22:34:51 +02:00
Aaron BachandFranck Nijhof 43ec35ee17 Fix Prezzibenzina doing I/O in the event loop (#35881)
* Fix Prezzibenzina doing I/O in the event loop

* Linting
2020-05-24 11:27:07 +02:00
Aaron BachandFranck Nijhof 19f36eb5a1 Auto-level AirVisual API calls (#34903) 2020-05-24 11:26:58 +02:00
Aaron BachandGitHub f5a326c51e Auto-level AirVisual API calls (#34903) 2020-05-21 10:49:18 +02:00
Aaron BachandGitHub 19573a9cbe Fix Prezzibenzina doing I/O in the event loop (#35881)
* Fix Prezzibenzina doing I/O in the event loop

* Linting
2020-05-20 16:09:00 -06:00
Aaron BachandGitHub b464d276e2 Add support for templates in Slack blocks (#34704) 2020-05-18 12:00:23 -06:00
Aaron BachandGitHub c9b702c4c2 Remove Automatic integration (#35029) 2020-05-14 11:24:22 +02:00
Aaron BachandPaulus Schoutsen 1a52632b68 Broader Notion exception handling (#35265) 2020-05-06 18:43:41 -07:00
Aaron BachandGitHub eb826e5956 Fix incorrect device registry call in Notion (#35306) 2020-05-06 18:42:32 -07:00
Aaron BachandGitHub 1d6a20228b Add state reproduction to the alert component (#35267) 2020-05-06 17:02:21 -06:00
Aaron BachandGitHub 87d58a544b Broader Notion exception handling (#35265) 2020-05-05 13:56:32 -06:00
Aaron BachandGitHub 953228ebd2 Allow use of common entity update service in AirVisual (#35203) 2020-05-04 15:09:09 -06:00
Aaron BachandPaulus Schoutsen 6a5f9d74f5 Fix Canary doing I/O in the event loop (#35039) 2020-05-02 14:55:20 -07:00
Aaron BachandGitHub d9b9a004d2 Fix Canary doing I/O in the event loop (#35039) 2020-05-01 21:01:29 -07:00
Aaron BachandGitHub 8661cf463a Update AirVisual to use DataUpdateCoordinator (#34796)
* Update AirVisual to use DataUpdateCoordinator

* Empty commit to re-trigger build

* Don't include history or trends in config flow

* Code review
2020-05-01 11:29:58 -06:00
Aaron BachandPaulus Schoutsen 98bff965f5 Fix Flu Near You exception re: stale coroutines (#34880) 2020-04-30 00:11:17 -07:00
Aaron BachandGitHub b8a5597d3e Fix Flu Near You exception re: stale coroutines (#34880) 2020-04-29 14:29:44 -05:00
Aaron BachandGitHub b876f7f11a Bump simplisafe-python to 9.2.0 (#34750) 2020-04-27 10:41:33 -06:00
Aaron BachandGitHub 8ff1fc6f8b Bump pyairvisual and remove unused trends (#34707) 2020-04-25 21:30:12 -06:00
Aaron BachandGitHub 86d3321d59 Store integration type in AirVisual config entry (#34621) 2020-04-24 10:11:17 -07:00
Aaron BachandPaulus Schoutsen 03d72ff2ec Handle flaky SimpliSafe notification registration (#34475) 2020-04-23 12:57:48 -07:00
Aaron BachandGitHub 3ce89409d2 Add service to clear SimpliSafe notifications (#34481) 2020-04-23 10:53:06 -06:00
Aaron BachandGitHub 828f368323 Handle flaky SimpliSafe notification registration (#34475) 2020-04-23 10:52:11 -06:00
Aaron BachandGitHub 4d292c2723 Add support for AirVisual Node/Pro units (#32815)
* Add support for AirVisual Node Pro units

* Fixed tests

* Updated dependencies

* Guard looks cleaner

* Limit options update to geography-based entries

* Docstring

* Use proper precision in display_temp

* Add availability for AirVisualNodeProSensor

* Updated translations

* Samba stuff in play

* Wrap up Samba

* Fix tests

* Remove unnecessary updates

* Normalize labels

* Bump requirements

* Don't include configuration.yaml support for this new functionality

* Fix tests

* Code review

* Code review

* Update coveragerc

* Code review
2020-04-23 01:41:14 +02:00
Aaron BachandGitHub 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
Aaron BachandPaulus Schoutsen 5f97937ba0 Fix websocket connection bug/errant logic in Ambient PWS (#34217) 2020-04-15 08:45:05 -07:00
Aaron BachandGitHub 5faa9795b0 Fix websocket connection bug/errant logic in Ambient PWS (#34217) 2020-04-15 05:30:15 +02:00
Aaron BachandGitHub 535ce8726d Bump simplisafe-python to 9.0.7 (#34216) 2020-04-14 11:53:53 -06:00