Commit Graph

28742 Commits

Author SHA1 Message Date
Martin Hjelmare
f4f614a0bc Add sympathy review check box to PR template (#38867)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2020-08-14 14:03:39 +02:00
Paulus Schoutsen
2bc533d0cb Fix logger name (#38866) 2020-08-14 13:27:11 +02:00
Martin Hjelmare
23510e6839 Disable env_canada pylint import error (#38868)
* Disable env_canada pylint import error

* Disable pylint in camera and sensor too
2020-08-14 11:15:45 +02:00
J. Nick Koston
49478298cc Ensure service browser does not collapse on bad dns names (#38851)
If a device on the network presented a bad name, zeroconf
would throw zeroconf.BadTypeInNameException and the service
browser would die off.  We now trap the exception and continue.
2020-08-13 22:00:39 -05:00
Eric Severance
2f955ccfd7 Bump pywemo to 0.4.46 (#38845) 2020-08-13 21:00:55 -05:00
Quentame
f26a49eca5 Fix Freebox unsub dispatcher (#38842) 2020-08-13 20:56:06 -05:00
Niels Mündler
fceba0bb88 Bump pysyncthru to 0.7.0 (#38832)
* Bump pysyncthru version to 0.7.0

This change includes a heavier refactoring, using a more reliable source for the device status and parsing display strings only for additional details

* Fix test flow to ensure a status is set
2020-08-13 20:48:26 -05:00
cgtobi
72472cd11f Remove superfluous netatmo icons (#38859) 2020-08-13 20:39:17 -05:00
J. Nick Koston
ee64aafc39 Fix iqvia test patching the wrong integration (#38847) 2020-08-13 11:47:18 -05:00
Charles Garwood
18833d342e Fix typo in media_player docstring (#38843) 2020-08-13 10:16:28 -04:00
David F. Mulcahey
ca5e752514 Add switch support to the Flo integration (#38268)
* Add switch domain to Flo integration

* lint

* updates post rebase

* fix after rebase

* remove device state attrs

* oops

* stale name and docstring
2020-08-13 07:52:30 -04:00
Marcio Granzotto Rodrigues
52a9921ed3 Nightscout PR fixes (#38737)
* Don't allow duplicate nightscout configs

* Fix nightscout translations

* Remove unnecessary should_poll method

* Remove SVG attribute, as it was duplicating the state

* Use aiohttp client session from HA

* Move validate_input outside the config class

* Use the entry unique_id on the sensor

* Move create entity logic

* Handle unexpected exception on Nightscout config
2020-08-13 07:46:07 -04:00
David F. Mulcahey
86aa758ecd Add binary sensor support to the Flo integration (#38267)
* update device

* add binary sensor

* updates post rebase

* fix entity type post rebase

* fix post rebase

* fix add entities

* fix name

* review comments
2020-08-13 07:26:47 -04:00
Paulus Schoutsen
03676693ce Catch upnp timeout error (#38794) 2020-08-13 12:11:58 +02:00
RogerSelwyn
1f3b9bc70c Fix creation of unrequired sensors in OVO energy (#38835) 2020-08-13 11:47:32 +02:00
Paulus Schoutsen
7343649c54 Convert Channels platform services to use platform register (#38827) 2020-08-13 11:08:59 +02:00
Paulus Schoutsen
b3571602bb Add default_* to device registry (#38829) 2020-08-13 10:38:56 +02:00
J. Nick Koston
a6cec21c43 Make executor max_workers consistent between python versions (#38821)
The default on python 3.8 is for max_workers is significantly
lower than the default on python 3.7 which means we can get starved
for workers.

To determine a reasonable maximum, the maximum was increased to large
number on 5 production instances.

The number of worker threads created during startup that were
needed to avoid waiting for a thread:

  HOU 1 - 71
  HOU 2 - 48
  OGG 1 - 60
  OGG 2 - 68
  OGG 3 - 64

This lead to a selection of 64 as it was reliable in all cases
and did not have a significant memory impact
2020-08-13 10:12:18 +02:00
cgtobi
3957337b9f Cleanup Netatmo sensors (#38627) 2020-08-13 09:36:47 +02:00
sean tearney
9244bf28ef Add Agent DVR Alarm Control Panel (#36468)
* Add Agent DVR Alarm Control Panel

* code review

* remove return statement
2020-08-13 07:28:06 +02:00
Chris Talkington
851c20aeb2 Update rokuecp to 0.6.0 (#38819)
* update rokuecp to 0.6.0

* Update requirements_all.txt

* Update requirements_test_all.txt
2020-08-12 21:41:29 -04:00
Chris Talkington
4d50a20500 Update pyipp to 0.11.0 (#38820)
* update pyipp to 0.11.0

* Update requirements_all.txt

* Update requirements_test_all.txt
2020-08-12 21:40:32 -04:00
Kit Klein
40f31faa10 update to use latest konnected py module (#38803) 2020-08-13 00:37:18 +02:00
Aaron Bach
9e21fb6b52 Handle unhandled exceptions related to unavailable SimpliSafe features (#38812) 2020-08-12 15:21:17 -06:00
Ville Skyttä
991bf126d4 Helpers type hint improvements (#38522) 2020-08-12 23:01:10 +02:00
Joakim Plate
15db2225da async_get_instance was not reentrant during await (#38263) 2020-08-12 22:35:24 +02:00
Charles Garwood
8cf0a01149 Add refresh_node_info command to OZW websocket api (#38573)
* Add ozw refresh_node_info websocket api

* Remove extra unsubs definition

* Remove unused bits from refresh_node_info websocket

* Add tests

* Add unsubscribe test

* Wait for response in unsubscribe test
2020-08-12 15:49:40 -04:00
Phil Bruckner
580e229cf2 Create variable with result of wait_template and accept template for timeout option (#38634) 2020-08-12 13:42:06 -05:00
J. Nick Koston
45526f4e8a Add async_track_state_added_domain for tracking when states are added to a domain (#38776)
* Fire event_state_added when a state is added after start

* async_track_state_added_domain

* test

* naming

* coverage
2020-08-12 13:30:40 -05:00
Phil Bruckner
716fa63e73 Update script helper constructor parameters (#38763)
Add domain and make it and name required.

Add optional running_description.
2020-08-12 11:39:05 -05:00
Raman Gupta
fbf44b37a9 Simplify vizio unique ID check since only IP and device class are needed (#37692) 2020-08-12 16:50:36 +02:00
J. Nick Koston
444df4a7d2 Use the shared zeroconf instance when attempting to create another Zeroconf instance (#38744) 2020-08-12 16:08:33 +02:00
Eric Severance
34cb12d3c9 Addressing feedback from #37711 (#38781) 2020-08-12 09:34:27 -04:00
Ziv
d058802325 Add dynalite level preset (#37533)
* implementation of "level" in preset

* updated library version - bug fix for covers during init with active=on

* cleanup after merge
2020-08-12 09:18:26 -04:00
Martin Hjelmare
7949357180 Unsubscribe ozw listeners (#38787) 2020-08-12 15:17:21 +02:00
Greg Dowling
e9b50706a9 Add roon media player integration (#37553)
* Import roon code.

* Fix flake8/pylint issues.

* Fix lint issues, extend timeout, change contact infomation.

* Add new files to .coveragerc

* Make file executable.

* Fix problem with integration not working after initial creation.

* Improve logic unavailable players by caching data.

* Review changes

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Review changes

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Review changes

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Review changes

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Review changes

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Review changes

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Review changes

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Review changes

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Review changes

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Review changes

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Update review suggestions

* Rremove custom play action script.

* Add test requirements.

* Tidy manifest.

* Missed fixes.

* Refactor config_flow to use current pattern.

* Add config_flow tests.

* Refactor to use signal dispatch helpers.

* Remove ToDo: for now.

* Remove remaining zone / source logic for initial release,

* Stop authenticate blocking, handle timeout.

* Removed unneeded code.

* Review comments update.

* Fix comment.

* Apply suggestions from code review

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Apply suggestions from code review

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Fix bug in seek.

* Use sync rather than async update

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Upgrade library, remove exception now caught in library,

* Review comments.

* Review changes

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Check for duplicate host before adding.

* Review comment.

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Remove unused code, revise turn_on/turn_off.

* Sync translations.

* Make interim timeout const.

* Refactor tests.

* Add tests with an existing config entry.

* Apply suggestions from code review

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Remove CannotConnect

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-08-12 09:09:47 -04:00
cgtobi
f286992b10 Remove Netatmo HomeKit discovery method (#38770) 2020-08-12 08:41:11 +02:00
dependabot[bot]
7ac38557e6 Bump actions/upload-artifact from v2.1.3 to v2.1.4 (#38779)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from v2.1.3 to v2.1.4.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v2.1.3...58740802ef971a2d71eff71e63d48ab68d1f5507)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-12 08:30:13 +02:00
dependabot[bot]
4833cf4e4a Bump actions/setup-python from v2.1.1 to v2.1.2 (#38780)
Bumps [actions/setup-python](https://github.com/actions/setup-python) from v2.1.1 to v2.1.2.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v2.1.1...24156c231c5e9d581bde27d0cdbb72715060ea51)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-12 08:29:52 +02:00
Franck Nijhof
5f95b5caaf Fix lastest version in updater for Supervisor enabled installs (#38773)
* Fix lastest version in update for Supervisor enabled installs

* Fix updater tests
2020-08-12 08:00:38 +02:00
Jeff Irion
540d0e5428 Bump androidtv to 0.0.49 (#38778) 2020-08-11 22:27:16 -05:00
Alexei Chetroi
b242b46888 Bump up ZHA dependencies (#38775) 2020-08-11 20:41:49 -04:00
Tom Harris
b1fd931cdc Add config flow to insteon component (#36467)
* Squashed

* Fix requirements_all

* Update homeassistant/components/insteon/__init__.py

Only update options if the result is to create the entry.

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

* Update homeassistant/components/insteon/__init__.py

No return value needed.

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

* Ref RESULT_TYPE_CREATE_ENTRY correctly

* Return result back to import config process

* Make DOMAIN ref more clear

Co-authored-by: J. Nick Koston <nick@koston.org>
2020-08-11 18:04:44 -05:00
cgtobi
6bdb2f3d11 Cleanup Netatmo code (#38772)
* Clean up const

* Clean up data handler
2020-08-12 00:23:51 +02:00
Eric Severance
49b375ff94 Allow ONVIF devices to resume a PullPoint subscription when the camera reboots (#37711) 2020-08-11 17:53:30 -04:00
Eric Severance
4d1ef02802 Stream clients operate on a copy of the intnernal self._outputs dict (#38766) 2020-08-11 17:20:43 -04:00
uvjustin
5355fcaba8 Add H.265 support to stream component (#38125)
* Add H.265 support to stream component

* Change find_box to generator

* Move fmp4 utilities to fmp4utils.py

* Add minimum segments and segment durations

* Remove MIN_SEGMENTS

* Fix when container_options is None

* Fix missing num_segments and update tests

* Remove unnecessary mock attribute

* Fix Segment construction in test_recorder_save

* fix recorder with lookback

Co-authored-by: Jason Hunter <hunterjm@gmail.com>
2020-08-11 17:12:41 -04:00
Franck Nijhof
d0a59e28ac Revert "Add energy device class to Toon sensors" (#38768)
This reverts commit dd86de3255.
2020-08-11 23:03:56 +02:00
Eric Severance
61a911af41 Adapt the ONVIF Renewal termination_time for Amcrest cameras (#37750) 2020-08-11 16:59:26 -04:00
Franck Nijhof
cc4ebc925c Improve X-Forwarded-* request headers handling (#38696)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Franck Nijhof <git@frenck.dev>
Co-authored-by: Pascal Vizeli <pvizeli@syshack.ch>
2020-08-11 22:57:50 +02:00