Commit Graph

27874 Commits (780376e411f67b0f8ec2e542026dad578f88e7ef)

Author SHA1 Message Date
smugleafdev 780376e411
Fix extremely minor typo: Cosumption -> Consumption (#37322) 2020-07-03 17:47:19 -05:00
Chris Talkington 1879183b24
Apply some suggestions from poolsense code review (#37440) 2020-07-03 15:38:05 -07:00
J. Nick Koston ccb77ba1e9
Handle index already existing on db migration with MySQLdb backend (#37384)
_create_index needed the same check as _add_columns since
the MySQLdb backend throws OperationalError instead
of InternalError in this case
2020-07-03 15:35:02 -07:00
Teemu R 7da3065de6
Bump python-miio to 0.5.2.1 (#37422) 2020-07-03 15:32:23 -07:00
Chris Talkington 813e60d31a
Mock setup in directv config flow tests (#37439)
* mock setup in directv config flow tests

* Update test_config_flow.py
2020-07-03 17:31:57 -05:00
Alan Tse 1b70ea0c3f
Bump teslajsonpy to 0.9.2 (#37434)
* Bump teslajsonpy to 0.9.1
closes #37340

* Bump teslajsonpy to 0.9.2
2020-07-03 17:29:11 -05:00
Bouwe Westerdijk d57dbb4319
Add Plugwise zeroconf discovery (#37289)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
Co-authored-by: Tom Scholten <tom@sue.nl>
Co-authored-by: Tom <CoMPaTech@users.noreply.github.com>
2020-07-03 15:28:34 -07:00
Eugene Prystupa 80aebcc7d2
Add more unit tests for plum_lightpad (#37275)
* add more unit tests for plum_lightpad

* add more unit tests for plum_lightpad

* add more unit tests for plum_lightpad

* add more unit tests for plum_lightpad

* Update tests/components/plum_lightpad/test_init.py

apply suggested way to invoke async_setup_entry

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

* Update tests/components/plum_lightpad/test_init.py

apply suggested way to invoke async_setup_entry

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

* Update tests/components/plum_lightpad/test_init.py

apply suggested way to invoke async_setup_entry

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

* Update tests/components/plum_lightpad/test_init.py

remove now unused import

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

* Update tests/components/plum_lightpad/test_init.py

import Mock from tests.async_mock as suggested

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

* Update tests/components/plum_lightpad/test_init.py

remove now unused import

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

* Update tests/components/plum_lightpad/test_init.py

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

* fix unit tests that were failing after suggested changes

Co-authored-by: Chris Talkington <chris@talkingtontech.com>
2020-07-03 16:40:17 -05:00
J. Nick Koston 76b956a969
Mock setup in sonarr config flow tests (#37432) 2020-07-03 16:20:17 -05:00
Franck Nijhof 1aafa459e5
Fix building of Python Wheels (#37433) 2020-07-03 21:33:35 +02:00
Paulus Schoutsen e33a3bb94a
Stub out ecobee aux heat services (#37423) 2020-07-03 21:04:13 +02:00
J. Nick Koston 07f3d6ebd8
Fix unmocked setup in ipp tests (#37430) 2020-07-03 11:43:13 -07:00
J. Nick Koston c460b7abc9
Fix unmocked setup in garmin_connect test (#37429) 2020-07-03 11:42:56 -07:00
Paulus Schoutsen 5805fbb99f Merge remote-tracking branch 'origin/master' into dev 2020-07-03 18:39:38 +00:00
ktnrg45 a445ebdf3c
Fix undesired power toggling (#37427) 2020-07-03 11:34:11 -07:00
J. Nick Koston 78e53e35c2
Prevent verisure lock from looping forever and sleeping in test (#37425) 2020-07-03 11:33:12 -07:00
Paulus Schoutsen 0c771f1c42
Replace asynctest with tests.async_mock (#37428) 2020-07-03 11:29:35 -07:00
Kevin Eifinger eb66da6436
Add helpers.location.coordinates (#37234) 2020-07-03 11:28:44 -07:00
J. Nick Koston 3eb6a68d12
Ensure async_setup is mocked in geonetnz intergration tests (#37426)
* Ensure async_setup is mocked in geonetnz intergration tests

* s/asynctest/tests.async_mock/g
2020-07-03 11:14:19 -07:00
Erik Montnemery cd5f6a0c56
Don't print MQTT credentials to log (#37364) 2020-07-03 11:01:22 -07:00
J. Nick Koston ab6d6ac1ce
Reduce time to run zha discover tests (#37424)
Most of the time was registering services and patching
the clusters which are never calls in these tests
2020-07-03 12:57:04 -05:00
Franck Nijhof 573134fcb4
Add GitHub Actions for CI (#37419)
* Add GitHub Actions for CI

* Add base/full to step descriptions
2020-07-03 19:18:01 +02:00
therealryanbonham 5ecb3f9be2
Upgrade sonar to 0.2.3 (#37392)
Co-authored-by: Ryan Bonham <ryan@transparent-tech.com>
2020-07-03 13:59:30 +02:00
Joakim Plate ab4687d914
Convert rfxtrx tests to pytest async tests and re-enable (#37206)
* Rework and re-enable rfxtrx tests

* Add missed change to _signal_event

* Fixup the dummy serial that causes max cpu

* Make sure we cleanup thread here too

* Make sure we always wait for tasks before we check state

* Some more places we need to wait before checking
2020-07-03 10:22:02 +02:00
Robbie Trencheny b859be8cea
Remove my codeownership over things I dont use anymore (#37401) 2020-07-03 09:41:23 +02:00
Aaron Bach 187a20288b
Bump pytile to 4.0.0 (#37398) 2020-07-02 23:07:54 -06:00
J. Nick Koston 7e664fbb3b
Ensure logbook entries appear when the logbook.log (#37388)
service without a domain or entity_id
2020-07-02 19:53:28 -05:00
mdegat01 91799e2b52
Modified Influx tests to mock test queries with accurate output (#37315) 2020-07-02 17:52:46 -07:00
Martin Hjelmare 98bcf4f28d
Fix ozw garage door methods (#37374) 2020-07-02 17:23:45 -07:00
HomeAssistant Azure a6fb9e6100 [ci skip] Translation update 2020-07-03 00:03:38 +00:00
J. Nick Koston f352c51990
Improve unifi device tracker performance (#37308)
* Improve unifi device tracker performance

The unifi websocket sends an update every second
which generates a significant amount of state
changed updates.

Avoid creating callback functions when they
are not going to be used.

* make _no_heartbeat/_make_disconnected instance methods

* remove extra empty line

* revert is_wired change

* remove extra line
2020-07-02 17:46:37 -05:00
Paulus Schoutsen 460bd2b3bb
Merge pull request #37377 from home-assistant/rc 2020-07-02 14:46:19 -07:00
Paulus Schoutsen ec690bb369 Bumped version to 0.112.1 2020-07-02 20:15:44 +00:00
starkillerOG 16dae8457a Add DenonAvr missing error message (#37370) 2020-07-02 20:11:54 +00:00
Bram Kragten 38599d2970 Update frontend to 20200702.0 (#37369) 2020-07-02 20:11:53 +00:00
Robert Van Gorkom 5013b7e049 Fix withings bug that grabbed oldest value instead of the newest (#37362)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-07-02 20:11:52 +00:00
uvjustin b21c81656f Use entry.data.get() in forked_daapd config_flow as some entries miss… (#37359) 2020-07-02 20:11:52 +00:00
Robert Van Gorkom 69a5c63b71 Fix gogogate2 issue where non-admin users could not login (#37353) 2020-07-02 20:11:51 +00:00
Markus Bong 9b854bdcd3 Fix devolo sensor subscriber (#37337) 2020-07-02 20:11:50 +00:00
bsmappee f335127750 Smappee dependency update (#37331) 2020-07-02 20:11:49 +00:00
Courtenay 9131f5fa69 Change log url in config check error notification (#37311) 2020-07-02 20:11:49 +00:00
John Hollowell 976d375a33 Update proxmoxve integration to correctly renew authentication (#37016) 2020-07-02 20:11:48 +00:00
starkillerOG 094f7ee718
Add DenonAvr missing error message (#37370) 2020-07-02 13:10:38 -07:00
Robert Van Gorkom a7cf76491b
Fix withings bug that grabbed oldest value instead of the newest (#37362)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-07-02 13:09:49 -07:00
Bram Kragten 58a9142f42
Update frontend to 20200702.0 (#37369) 2020-07-02 12:53:16 -07:00
Chris f6df85f8ce
Add ozw garage door barrier support (#37316) 2020-07-02 21:29:09 +02:00
Franck Nijhof 4679e670f1
Upgrade pre-commit to 2.6.0 (#37339) 2020-07-02 13:47:09 -05:00
J. Nick Koston f3039f96ec
Fix flapping gdacs tests (#37363) 2020-07-02 13:45:57 -05:00
Shulyaka 4ec71c58bd
Add humidifier support to homekit (#37207)
* Add humidifier support to homekit

* spell

* dependencies

* lint

* add linked humidity sensor for humidifiers

* Apply suggestions from code review

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

* apply suggestions from code review

* pylint

* Fix tests

* Update homeassistant/components/homekit/type_humidifiers.py

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

* Update tests/components/homekit/test_homekit.py

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

* Apply suggestions from code review

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

* apply suggestions from code review

* lint

* pylint

* push

* test for unavailable linker sensor

* black

* valid values key case

* black

* Update homeassistant/components/homekit/type_humidifiers.py

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

* black

* coverage

* Set current humidity to 0 if linked sensor removed or unavailable

* use last known humidity instead

Co-authored-by: J. Nick Koston <nick@koston.org>
2020-07-02 12:53:11 -05:00
J. Nick Koston 8bce9be590
Fix flapping flux tests (#37346) 2020-07-02 10:51:31 -07:00