Commit Graph
6247 Commits
Author SHA1 Message Date
Ville Skyttä ad1a71ebc3 Don't try to create /test dir in camera tests (#39914)
ERROR:homeassistant.components.camera:
Can't write image to file: [Errno 13] Permission denied: '/test'
2020-09-14 08:40:59 +02:00
Ville Skyttä aad6a24f28 Fix vizio async mock fixtures on Python 3.8.0 and .1 (#39926) 2020-09-14 08:35:30 +02:00
J. Nick Koston 2ff3c74fab Fix intermittently failing dyson test (#40051) 2020-09-13 21:37:52 -05:00
Chris Talkington 056e712667 Add device class to canary sensors (#40050)
* add device class to canary sensors

* Update test_sensor.py

* Update sensor.py

* Update sensor.py
2020-09-13 21:29:59 -05:00
Chris TalkingtonandJ. Nick Koston 9511103e26 Add unique_id to canary alarm_control_panel (#40041)
* add unique_id to canary alarm_control_panel

* Update test_alarm_control_panel.py

* Update alarm_control_panel.py

* Apply suggestions from code review

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

Co-authored-by: J. Nick Koston <nick@koston.org>
2020-09-13 18:52:40 -05:00
J. Nick Koston 7b016063ca Refactor zeroconf setup to be async (#39955)
* Refactor zeroconf setup to be async

Most of the setup was calling back to async because
we were setting up listeners.  Since we only need
to jump into the executor to create the zeroconf
instance, its much faster to setup in async.

In testing this cut the setup time in half
or better.

* partial revert to after_deps
2020-09-13 18:06:19 -05:00
Chris Talkington 00acb180d6 Add canary alarm_control_panel tests (#40029)
* add canary alarm_control_panel tests

* Update .coveragerc

* Create test_alarm_control_panel.py

* Update __init__.py

* Update __init__.py

* Update test_alarm_control_panel.py

* Update test_alarm_control_panel.py

* Update test_alarm_control_panel.py

* Update test_alarm_control_panel.py

* Update __init__.py

* Update __init__.py

* Update test_alarm_control_panel.py

* Update test_alarm_control_panel.py

* Update test_alarm_control_panel.py

* Update test_alarm_control_panel.py

* Update test_alarm_control_panel.py

* Update test_alarm_control_panel.py

* Update test_alarm_control_panel.py

* Update test_alarm_control_panel.py

* Update test_alarm_control_panel.py

* Update test_alarm_control_panel.py
2020-09-13 16:36:26 -05:00
J. Nick Koston 46f9c0fb8a Update phrasing and pin validation for homekit_controller (#40006) 2020-09-13 15:26:04 -05:00
Franck Nijhof cd26384634 Fix entity extraction from Template conditions (#40034) 2020-09-13 22:05:45 +02:00
AJ Schmidt c32f698671 Add Config Flow to AlarmDecoder (#37998) 2020-09-13 12:29:25 -05:00
Chris Talkington 17efa1bda5 Improve canary tests (#39956) 2020-09-13 11:32:41 -05:00
Robert Svensson ceeea52915 Improve handling of mireds being far out of spec (#40018) 2020-09-13 16:31:39 +02:00
J. Nick Koston 84578f515d Suppress homekit bridge discovery by homekit controller (#39990) 2020-09-13 09:12:10 -05:00
Bouwe WesterdijkandTom Scholten eac9c3c4f2 Ensure Plugwise unique_id is correctly set (#40014)
* Ensure unique_id is correctly set

* Removed unnec. line

Co-authored-by: Tom Scholten <git@scholten.nu>
2020-09-13 11:02:49 +02:00
Quentame bab4ad4f17 Add timeout config option to Synology DSM (#40000) 2020-09-12 20:36:39 -05:00
J. Nick Koston aaa8083d49 Change template loop detection strategy to allow self-referencing updates when there are multiple templates (#39943) 2020-09-12 14:20:21 +02:00
Felipe Martins Diel a6d3ee90f0 Improve tests for Broadlink config flow (#39894) 2020-09-11 20:00:28 -05:00
Felipe Martins Diel 9f08955fef Improve tests for Broadlink devices (#39898) 2020-09-11 19:57:07 -05:00
Jakob Schlyter 9b49ca3820 Add template filter timedelta_seconds to create a timedelta from seconds (#39608) 2020-09-11 15:07:31 -05:00
Jc2kandJ. Nick Koston 988a467afd Device automation triggers for stateless HomeKit accessories (#39090)
Co-authored-by: J. Nick Koston <nick@koston.org>
2020-09-11 13:34:07 -05:00
J. Nick Koston 741487a1fc Return the listeners with the template result for the websocket api (#39925) 2020-09-11 13:18:40 -05:00
Bas NijholtandPaulus Schoutsen c2a9a39ee0 Don't trigger on attribute when the attribute doesn't change (#39910)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2020-09-11 14:02:17 +02:00
Thomas LovénandPaulus Schoutsen f59e727f16 Set variable values in scripts (#39915)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2020-09-11 13:16:25 +02:00
Martin HjelmareandPaulus Schoutsen e96fed20c8 Add children media class (#39902)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2020-09-11 13:08:13 +02:00
J. Nick Koston e208aac834 Add async_track_state_removed_domain to allow tracking when a state is removed from a domain (#39859)
when a state is removed from a domain
2020-09-11 13:03:31 +02:00
Franck Nijhof 101b5b3b35 Accept known hosts for get_url for OAuth (#39936) 2020-09-11 13:00:00 +02:00
Paulus Schoutsen 5117a16841 Extract variable rendering (#39934) 2020-09-11 12:24:16 +02:00
J. Nick KostonandPaulus Schoutsen 9389a7c9be Limit zeroconf discovery to name/macaddress when provided (#39877)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-09-11 12:19:21 +02:00
J. Nick Koston bf1ad0a757 Prevent missing integration from failing HomeKit startup (#39918) 2020-09-10 23:19:11 +02:00
Erik Montnemery 4d6e694d14 Fix discovery update of MQTT state templates (#39901) 2020-09-10 20:52:23 +02:00
J. Nick Koston fd8a4182d9 Detect self-referencing loops in template entities and log a warning (#39897) 2020-09-10 20:50:11 +02:00
J. Nick Koston fb31b04c08 Increase template test coverage. (#39908) 2020-09-10 20:43:45 +02:00
Paulus Schoutsen aa9dff572e Add default variables to script helper (#39895) 2020-09-10 20:41:42 +02:00
0cce35b23e Add exception for NoURLAvailableError in OAuth2FlowHandler (#39845)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2020-09-10 14:52:49 +02:00
RogerSelwyn 162c39258e Add Carbon Monoxide binary sensor to Homekit Controller (#39889) 2020-09-10 12:25:14 +01:00
Franck Nijhof 14f7f5ba45 Remove stale debug from WLED tests (#39882) 2020-09-10 13:16:33 +02:00
Paulus SchoutsenandFranck Nijhof bb661ad083 Fix event trigger (#39884)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2020-09-10 11:25:56 +02:00
Franck NijhofandDaniel Hjelseth Høyer b70df4ab18 Disable Met.no hourly weather by default (#39867)
Co-authored-by: Daniel Hjelseth Høyer <mail@dahoiv.net>
2020-09-10 07:58:40 +02:00
Aaron Bach 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
Chris 1f000e2c3e Allow setting of hvac_mode when setting temperature in ozw (#39853) 2020-09-09 17:08:43 +02:00
74219663d6 Fix nzbget sensors (#39833)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2020-09-09 14:56:40 +02:00
Erik Montnemery 9aba1985c7 Fix MQTT light value template (#39820) 2020-09-08 23:11:42 +02:00
J. Nick Koston 4bbd69955b Restore missing device_class to template binary_sensor (#39805) 2020-09-08 17:12:23 +02:00
J. Nick Koston 0507ec9d8b Fix cover template entities honoring titlecase True/False (#39803) 2020-09-08 17:08:31 +02:00
Martin Hjelmare 586d7eaba6 Add media class browse media attribute (#39770) 2020-09-08 16:42:01 +02:00
Franck Nijhof 8e4710a2a9 Remove deprecated Hue configuration (#39800) 2020-09-08 15:52:04 +02:00
Paulus Schoutsen c6cba5ebc8 Remove HTML support from frontend (#39799) 2020-09-08 15:42:50 +02:00
J. Nick Koston a495946eeb Add the ability to reload bayesian platforms from yaml (#39771) 2020-09-08 09:41:17 +02:00
Tom bb9ea7ce6e Add tests for Plugwise integration (#36371) 2020-09-08 08:37:44 +02:00
Aidan Timson 6f43285a28 Force token expires_in to float (#39489) 2020-09-07 21:26:58 +02:00