Commit Graph
28764 Commits
Author SHA1 Message Date
Ville SkyttäandGitHub 3c0f766933 Huawei LTE device registry improvements (#38925)
* Fix getting software version in unauthenticated mode

* Add serial number device identifier if available
2020-08-16 13:38:12 +02:00
cgtobiandGitHub decf3d320b Fix Netatmo climate boost/heat event handling (#38923)
* Fix boost event handling

* Replace strings with vars
2020-08-16 12:18:58 +02:00
Dennis GilmoreandGitHub 71a03c8ca5 bump the version of openevsewifi to latest upstream 1.1.0 (#38892)
The latest version of openevsewifi fixes some of the outstanding issues
with the component.

Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2020-08-15 23:14:15 -05:00
Chris TalkingtonandGitHub 037668ed80 Fix log message format in daikin (#38920) 2020-08-16 03:45:34 +02:00
7d0e356560 Add track_template_result method to events (#38802)
* Merge original changes from #23590

* guard

* adjust

* adjust

* adjust

* Update async_render_to_info for recent codebase changes

* no more protected access

* do not fire right away per review comments

* update test to not fire right away

* closer

* rework tests for non firing first

* augment coverage

* remove cruft

* test for complex listen add/remove

* update docs to match review feedback to not fire right away

* preserve existing behavior

* fix test

* Ensure listeners are cleaned up

* de-dupe and comment

* de-dupe and comment

* coverage

* test to login again if we go from exception to ok to exception

* Update homeassistant/core.py

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>

* Update homeassistant/helpers/event.py

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>

* rename _boolean_coerce to result_as_boolean and move it out of event

* additional coverage

* Add more tests (may still be able to trim this down)

Co-authored-by: Swamp-Ig <github@ninjateaparty.com>
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-08-15 19:53:03 -05:00
Martin HjelmareandGitHub 0f1e70ca79 Fix ozw pure rgb dimmer light (#38877)
* Fix ozw pure rgb light

* Add test
2020-08-15 14:41:30 -04:00
escoandandGitHub 9c6b019ca9 Better timeout handling in samsungtv integration (#38759)
* handle PlatformNotReady

* set timeout in bridge

* set timeout in test

* Revert "handle PlatformNotReady"

This reverts commit 118ee06ba0.
2020-08-15 20:25:37 +02:00
indykoningandGitHub 92adb5d58a Add new growatt_server device class constants (#38906) 2020-08-15 18:04:49 +02:00
Franck NijhofandGitHub 755761867d Use current request context in OAuth redirect (#38692) 2020-08-15 15:26:54 +02:00
Jc2kandGitHub a1dfa8ebc6 Bump aiohomekit to 0.2.47 (#38901) 2020-08-15 08:19:07 -05:00
Oncleben31andGitHub 1544b8cea7 Fix error in meteo_france for overseas France cities (#38895) 2020-08-15 11:54:42 +02:00
J. Nick KostonandGitHub af5cb948a0 Adjust slow add entities timeouts to handle slowest known case (#38876)
With this change, we should still be able to startup
in under 10 minutes if something really goes wrong.

The testing done in #38661 was used to determine
these values.
2020-08-15 07:14:02 +02:00
68047f7c1a Handle missing MAC address during daikin discovery (#38840)
* Abort flow if MAC-address can't be found

* Apply suggestions from code review

Co-authored-by: Chris Talkington <chris@talkingtontech.com>

Co-authored-by: Chris Talkington <chris@talkingtontech.com>
2020-08-14 20:11:12 -05:00
Chris CaronandGitHub 70c028458f Bump apprise to 0.8.7 (#38886) 2020-08-14 20:04:36 -05:00
indykoningandGitHub b7275de837 Get more detailed info for growatt_server (#38852)
* Get more detailed info including inverter temperature

* Bump version to 0.1.1
2020-08-14 19:54:10 -05:00
Aidan TimsonandGitHub 4bfcfb0017 Update ovoenergy package to v1.1.7 (#38875) 2020-08-14 18:55:56 +02:00
J. Nick KostonandGitHub 483d09b9c1 Adjust homekit controller pairing to have a new step for each potentially recoverable error (#38742)
* Adjust homekit controller pairing errors back to a single step

* adjust test

* Revert "Adjust homekit controller pairing errors back to a single step"

This reverts commit e5ed89bbbb.

* Revert "adjust test"

This reverts commit c2e9f21a8401c144315260f6fdf71ea8060f8ca3.

* adjust

* prune

* prune

* merge

* Update tests

* remove debug

* adjust

* Multiple steps

* adjust the test
2020-08-14 10:34:52 -05:00
Martin HjelmareandGitHub 4ecdb1f19f Fix PR link in PR template (#38871) 2020-08-14 09:11:41 -04:00
QuentameandGitHub e0c0d3b53f Update meteo_france based on code review (#38789)
* Review: if not to pop

* Review: async_add_job --> async_add_executor_job

* Review: const

* Review: start logging messages with capital letter

* Review : UTC isoformated time --> fix "Invalid date""

* Fix hail forecast condition

* Review: _show_setup_form is a callback

* Fix update option

* Review: no icon for next_rain

* Review: inline cities form

* Review: store places as an instance attribute

* UNDO_UPDATE_LISTENER()
2020-08-14 09:10:13 -04:00
Erik J. OlsonandGitHub 91ead3be50 Add Slack url icon support (#38814)
* Add support for slack bot icons via URL

* Removed as_user property from message send

* Use f-strings rather than concatenation

* Don't span lines with complex expression
2020-08-14 09:07:04 -04:00
5c9f29c43a Fix ozw dimming transition (#38850)
* Handle float from light component

* Test with float

Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2020-08-14 08:35:42 -04:00
Aidan TimsonandGitHub 47d1920f8a Fix OVO Energy Sensors (#38849) 2020-08-14 14:06:31 +02:00
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 SchoutsenandGitHub 2bc533d0cb Fix logger name (#38866) 2020-08-14 13:27:11 +02:00
Martin HjelmareandGitHub 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 KostonandGitHub 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 SeveranceandGitHub 2f955ccfd7 Bump pywemo to 0.4.46 (#38845) 2020-08-13 21:00:55 -05:00
QuentameandGitHub f26a49eca5 Fix Freebox unsub dispatcher (#38842) 2020-08-13 20:56:06 -05:00
Niels MündlerandGitHub 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
cgtobiandGitHub 72472cd11f Remove superfluous netatmo icons (#38859) 2020-08-13 20:39:17 -05:00
J. Nick KostonandGitHub ee64aafc39 Fix iqvia test patching the wrong integration (#38847) 2020-08-13 11:47:18 -05:00
Charles GarwoodandGitHub 18833d342e Fix typo in media_player docstring (#38843) 2020-08-13 10:16:28 -04:00
David F. MulcaheyandGitHub 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 RodriguesandGitHub 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. MulcaheyandGitHub 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 SchoutsenandGitHub 03676693ce Catch upnp timeout error (#38794) 2020-08-13 12:11:58 +02:00
RogerSelwynandGitHub 1f3b9bc70c Fix creation of unrequired sensors in OVO energy (#38835) 2020-08-13 11:47:32 +02:00
Paulus SchoutsenandGitHub 7343649c54 Convert Channels platform services to use platform register (#38827) 2020-08-13 11:08:59 +02:00
Paulus SchoutsenandGitHub b3571602bb Add default_* to device registry (#38829) 2020-08-13 10:38:56 +02:00
J. Nick KostonandGitHub 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
cgtobiandGitHub 3957337b9f Cleanup Netatmo sensors (#38627) 2020-08-13 09:36:47 +02:00
sean tearneyandGitHub 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 TalkingtonandGitHub 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 TalkingtonandGitHub 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 KleinandGitHub 40f31faa10 update to use latest konnected py module (#38803) 2020-08-13 00:37:18 +02:00
Aaron BachandGitHub 9e21fb6b52 Handle unhandled exceptions related to unavailable SimpliSafe features (#38812) 2020-08-12 15:21:17 -06:00
Ville SkyttäandGitHub 991bf126d4 Helpers type hint improvements (#38522) 2020-08-12 23:01:10 +02:00
Joakim PlateandGitHub 15db2225da async_get_instance was not reentrant during await (#38263) 2020-08-12 22:35:24 +02:00
Charles GarwoodandGitHub 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 BrucknerandGitHub 580e229cf2 Create variable with result of wait_template and accept template for timeout option (#38634) 2020-08-12 13:42:06 -05:00