Aaron Bach
b51d81edba
Clean up Tile refactor ( #36450 )
...
* Clean up Tile refactor
* Code review
2020-06-05 21:12:48 +02:00
Aaron Bach
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 Bach
cc4326276e
RainMachine: Add time remaining as a zone attribute ( #36361 )
2020-06-01 21:49:02 -06:00
Aaron Bach
ca0149c635
Prevent AirVisual from polling ( #36199 )
...
* Prevent AirVisual from polling
* Docstring
2020-05-28 15:52:32 -07:00
Aaron Bach and Paulus Schoutsen
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 Bach
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 Bach
6609bd94e5
Prevent AirVisual from polling ( #36199 )
...
* Prevent AirVisual from polling
* Docstring
2020-05-27 13:53:14 -06:00
Aaron Bach
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 Bach
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 Bach
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 Bach
05cbb3f0e4
Remove WWLLN integration ( #35926 )
2020-05-25 22:34:51 +02:00
Aaron Bach
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 Bach
19f36eb5a1
Auto-level AirVisual API calls ( #34903 )
2020-05-24 11:26:58 +02:00
Aaron Bach
f5a326c51e
Auto-level AirVisual API calls ( #34903 )
2020-05-21 10:49:18 +02:00
Aaron Bach
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 Bach
b464d276e2
Add support for templates in Slack blocks ( #34704 )
2020-05-18 12:00:23 -06:00
Aaron Bach
c9b702c4c2
Remove Automatic integration ( #35029 )
2020-05-14 11:24:22 +02:00
Aaron Bach
1a52632b68
Broader Notion exception handling ( #35265 )
2020-05-06 18:43:41 -07:00
Aaron Bach
eb826e5956
Fix incorrect device registry call in Notion ( #35306 )
2020-05-06 18:42:32 -07:00
Aaron Bach
1d6a20228b
Add state reproduction to the alert component ( #35267 )
2020-05-06 17:02:21 -06:00
Aaron Bach
87d58a544b
Broader Notion exception handling ( #35265 )
2020-05-05 13:56:32 -06:00
Aaron Bach
953228ebd2
Allow use of common entity update service in AirVisual ( #35203 )
2020-05-04 15:09:09 -06:00
Aaron Bach
6a5f9d74f5
Fix Canary doing I/O in the event loop ( #35039 )
2020-05-02 14:55:20 -07:00
Aaron Bach
d9b9a004d2
Fix Canary doing I/O in the event loop ( #35039 )
2020-05-01 21:01:29 -07:00
Aaron Bach
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 Bach
98bff965f5
Fix Flu Near You exception re: stale coroutines ( #34880 )
2020-04-30 00:11:17 -07:00
Aaron Bach
b8a5597d3e
Fix Flu Near You exception re: stale coroutines ( #34880 )
2020-04-29 14:29:44 -05:00
Aaron Bach
b876f7f11a
Bump simplisafe-python to 9.2.0 ( #34750 )
2020-04-27 10:41:33 -06:00
Aaron Bach
8ff1fc6f8b
Bump pyairvisual and remove unused trends ( #34707 )
2020-04-25 21:30:12 -06:00
Aaron Bach
86d3321d59
Store integration type in AirVisual config entry ( #34621 )
2020-04-24 10:11:17 -07:00
Aaron Bach
03d72ff2ec
Handle flaky SimpliSafe notification registration ( #34475 )
2020-04-23 12:57:48 -07: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
Aaron Bach
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 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
Aaron Bach
5f97937ba0
Fix websocket connection bug/errant logic in Ambient PWS ( #34217 )
2020-04-15 08:45:05 -07:00
Aaron Bach
5faa9795b0
Fix websocket connection bug/errant logic in Ambient PWS ( #34217 )
2020-04-15 05:30:15 +02:00
Aaron Bach
535ce8726d
Bump simplisafe-python to 9.0.7 ( #34216 )
2020-04-14 11:53:53 -06:00
Aaron Bach
87504806b1
Fix deprecated icon/username logic in Slack ( #34156 )
...
* Fix deprecated icon/username logic in Slack
* hassfest
2020-04-13 17:01:31 -07:00
Aaron Bach
b0bb125860
Fix deprecated icon/username logic in Slack ( #34156 )
...
* Fix deprecated icon/username logic in Slack
* hassfest
2020-04-13 23:32:23 +02:00
Aaron Bach
7eba08f385
Fix unhandled exception in Recollect Waste ( #33823 )
2020-04-08 20:45:58 -07:00
Aaron Bach
0b715b751d
Fix unhandled exception in Recollect Waste ( #33823 )
2020-04-08 12:49:05 -07:00
Aaron Bach
087ddcb682
Bump simplisafe-python to 9.0.6 ( #33762 )
2020-04-06 16:31:48 -07:00
Aaron Bach
e8da7f333b
Bump aioambient to 1.1.1 ( #33761 )
2020-04-06 16:31:10 -07:00
Aaron Bach
648b340e8c
Bump simplisafe-python to 9.0.6 ( #33762 )
2020-04-07 00:28:42 +02:00
Aaron Bach
98e7865457
Bump aioambient to 1.1.1 ( #33761 )
2020-04-06 15:14:27 -07: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
f53dfc4308
Don't reinvent callback handler removal logic in several integ… ( #33726 )
2020-04-05 22:36:23 -07:00
Aaron Bach
c8df5fb8ad
Ensure SimpliSafe state sync when websocket falters ( #33680 )
2020-04-05 10:47:04 -06:00
Aaron Bach
d1663f2733
Perform some small Flu Near You cleanup ( #33590 )
2020-04-03 19:47:42 +02:00
Aaron Bach and Paulus Schoutsen
cb058ff6c0
Add config entry for Flu Near You ( #32858 )
...
* Add config flow for Flu Near You
* Cleanup
* Cleanup
* Add tests
* Add test requirements
* Code review
* Reduce unnecessary async-ness
* Handle API registration
* Cleanup
* Update homeassistant/components/flunearyou/.translations/en.json
Co-Authored-By: Paulus Schoutsen <paulus@home-assistant.io >
* Code review
* Ensure config schema allows additional keys
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io >
2020-04-02 16:54:11 -07:00
Aaron Bach and Paulus Schoutsen
23668f3c5e
Overhaul the Slack integration (async and Block Kit support) ( #33287 )
...
* Overhaul the Slack integration
* Docstring
* Empty commit to re-trigger build
* Remove remote file option
* Remove unused function
* Adjust log message
* Update homeassistant/components/slack/notify.py
Co-Authored-By: Paulus Schoutsen <paulus@home-assistant.io >
* Code review
* Add deprecation warning
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io >
2020-03-30 21:32:29 -06:00
Aaron Bach
fe0db80fb8
Bump aioambient to 1.1.0 ( #33414 )
2020-03-30 00:28:37 +02:00
Aaron Bach
0e2fa7700d
Allow more than one AirVisual config entry with the same API k… ( #33072 )
...
* Allow more than one AirVisual config entry with the same API key
* Add tests
* Correctly pop geography
* Code review
* Code review
2020-03-24 11:39:38 -07:00
Aaron Bach
403b4a2e0b
Bump simplisafe-python to 9.0.5 ( #33116 )
2020-03-21 16:01:39 -06:00
Aaron Bach
312903025d
Bump simplisafe-python to 9.0.4 ( #33059 )
2020-03-20 23:02:28 -07:00
Aaron Bach
836413a4a8
Bump simplisafe-python to 9.0.4 ( #33059 )
2020-03-20 14:59:01 -06:00
Aaron Bach
aee5c16803
Fix RainMachine not properly storing data in the config entry ( #33002 )
...
* Fix bug related to RainMachine's default config flow
* A
* Fix tests
* Code review
2020-03-19 20:54:57 -07:00
Aaron Bach
d8e3e9abaa
Fix RainMachine not properly storing data in the config entry ( #33002 )
...
* Fix bug related to RainMachine's default config flow
* A
* Fix tests
* Code review
2020-03-19 20:54:41 -07:00
Aaron Bach
ca12db9271
Bump simplisafe-python to 9.0.3 ( #33013 )
2020-03-19 20:45:57 -07:00
Aaron Bach
23045af4a7
Bump simplisafe-python to 9.0.3 ( #33013 )
2020-03-19 16:39:24 -06:00
Aaron Bach
609263e1bb
Add cleanup to OpenUV ( #32886 )
...
* Add cleanup to OpenUV
* Linting
2020-03-17 22:03:16 -05:00
Aaron Bach
a3e2504470
Add cleanup to SimpliSafe ( #32889 )
2020-03-17 07:02:30 -04:00
Aaron Bach
d98432c328
Add cleanup to Ambient PWS ( #32888 )
2020-03-17 07:02:05 -04:00
Aaron Bach
1da35e2939
Add cleanup to Notion ( #32887 )
...
* Add cleanup to Notion
* Base update method
2020-03-17 07:01:40 -04:00
Aaron Bach
0c49c8578b
Remove unnecessary awaits in RainMachine ( #32884 )
...
* Remove unnecessary awaits in RainMachine
* Cleanup
2020-03-17 07:00:54 -04:00
Aaron Bach
a278cf3db2
Improve IQVIA data/API management based on enabled entities ( #32291 )
...
* Improve IQVIA data/API management based on enabled entities
* Code review comments
* Code review
* Cleanup
* Linting
* Code review
* Code review
2020-03-16 23:58:50 -06: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
Aaron Bach
8db426e5da
Broaden exception handling for IQVIA ( #32708 )
2020-03-12 17:02:25 -07:00
Aaron Bach
76b0302c7f
Broaden exception handling for IQVIA ( #32708 )
2020-03-11 19:34:54 -06:00
Aaron Bach and Robert Svensson
21cff003f8
Add options flow for AirVisual ( #32634 )
...
* Add options flow for AirVisual
* Code review
Co-Authored-By: Robert Svensson <Kane610@users.noreply.github.com >
Co-authored-by: Robert Svensson <Kane610@users.noreply.github.com >
2020-03-10 14:16:25 -06:00
Aaron Bach
f4561891ae
Ensure AirVisual import config flow checks API key correctness ( #32624 )
...
* Add small improvements to AirVisual config flow tests
* Code review comments
* Code review comments
2020-03-09 21:39:42 -06:00
Aaron Bach
9a3c58213b
Validate WWLLN window size in config schema ( #32621 )
...
* Validate WWLLN window size in config schema
* Cleanup
* Clean up imports
* Fix tests
2020-03-09 17:18:39 -06:00
Aaron Bach
e9a7b66df6
Add config entry for AirVisual ( #32072 )
...
* Add config entry for AirVisual
* Update coverage
* Catch invalid API key from config schema
* Rename geographies to stations
* Revert "Rename geographies to stations"
This reverts commit 5477f89c24cb3f58965351985b1021fc5fc794a5.
* Update strings
* Update CONNECTION_CLASS
* Remove options (subsequent PR)
* Handle import step separately
* Code review comments and simplification
* Move default geography logic to config flow
* Register domain in config flow init
* Add tests
* Update strings
* Bump requirements
* Update homeassistant/components/airvisual/config_flow.py
* Update homeassistant/components/airvisual/config_flow.py
* Make schemas stricter
* Linting
* Linting
* Code review comments
* Put config flow unique ID logic into a method
* Fix tests
* Streamline
* Linting
* show_on_map in options with default value
* Code review comments
* Default options
* Update tests
* Test update
* Move config entry into data object (in prep for options flow)
* Empty commit to re-trigger build
2020-02-28 20:14:17 -07:00
Aaron Bach
03d8abe1ba
Fix unhandled exception in Ambient PWS_URL ( #32238 )
...
* Fix unhandled exception in Ambient PWS_URL
* Comment update
* Be more explicit
2020-02-27 21:40:51 -08:00
Aaron Bach
9329bc4ca0
Remove ability to configure monitored conditions in IQVIA ( #32223 )
...
* Remove ability to configure monitored conditions in IQVIA
* Deprecate instead of removing (until 0.108.0)
* Simplify imports
* Update version
2020-02-27 17:24:14 -07:00
Aaron Bach
f43b26f250
Bump simplisafe-python to 9.0.2 ( #32273 )
2020-02-27 14:02:59 -08:00
Aaron Bach
58b32bbeff
Bump simplisafe-python to 9.0.0 ( #32215 )
2020-02-27 14:02:58 -08: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
Aaron Bach
89625010e5
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:31:44 +01: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
Aaron Bach
ba4cc373c8
Modernize Ambient PWS config flow ( #32164 )
...
* Modernize Ambient PWS config flow
* Linting
2020-02-24 21:37:38 -08:00
Aaron Bach
c97b1c60b0
Modernize Notion config flow ( #32167 )
...
* Modernize Notion config flow
* Linting
2020-02-24 21:36:58 -08: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
Aaron Bach
75f465bf7e
Remove unused RainMachine config flow function ( #32165 )
...
* Remove unused RainMachine config flow function
* Remove test we don't need
* Code review comments
* Linting
2020-02-24 22:01:55 -07:00
Aaron Bach
6b0d7c77f0
Clean up RainMachine config entry data ( #32132 )
2020-02-24 13:07:18 -07:00
Aaron Bach
edf44f4158
Modernize RainMachine config flow ( #32131 )
...
* Modernize RainMachine config flow
* Update strings
2020-02-24 13:05:54 -07: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
db40b2fc32
Handle unhandled IQVIA data update exception ( #32144 )
...
* Handle unhandled IQVIA data update exception
* Cleanup
* Ask for forgiveness, not permission
* Use warning-level logs
* Fix log messages
2020-02-24 13:02:33 -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 55818894176fe27938c79685ab87100d1bc120ff.
* 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 e7ffe05938e6cd13a5426f8a605260056fa04de0.
* 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 1989f2e00e0b95dd466bcc803e7c83afab6d2763.
* Code review comments
* Fix issues with events not triggering correct entities
* Bug fixes
2020-02-13 11:30:38 -08:00
Aaron Bach
bea7aae8cd
Fix issues with Ambient PWS dispatcher topic ( #31439 )
...
* Correct over-broad Ambient PWS data updates
* Make sure we provide a callable
* Don't use a partial
2020-02-03 12:23:51 -07:00
Aaron Bach
30e803d70b
Fix issue with WWLLN dispatcher topic ( #31442 )
2020-02-03 12:23:19 -07:00
Aaron Bach
e799b08215
Fix issue with IQVIA dispatcher topic ( #31440 )
...
* Fix issues with IQVIA dispatcher topic
* Use f-string
2020-02-03 12:23:06 -07:00
Aaron Bach
74fd57e23a
Fix issue with Notion dispatcher topic ( #31441 )
...
* Fix issue with Notion dispatcher topic
* Use f-string
2020-02-03 12:22:50 -07:00