Commit Graph

6096 Commits (a2e1efca336163e74b7bb0ad27df7b039a012236)

Author SHA1 Message Date
Paulus Schoutsen 9f4480a634
Add system health streaming updates (#42831) 2020-11-10 22:45:59 +01:00
Paulus Schoutsen b1c78554f2
Fix mfi test (#43060) 2020-11-10 22:09:38 +01:00
Erik Montnemery 4e49bd0596
Correct handling of existing MQTT subscriptions (#43056) 2020-11-10 21:55:26 +01:00
Paulus Schoutsen 3af1771616
Include device_id in ZHA event (#43037) 2020-11-10 12:43:15 +01:00
Elena Rogleva c029d29f11
Rewrite the pilight/test_sensor.py tests to use async pytest functions (#42418) 2020-11-10 11:11:56 +01:00
Felipe Martins Diel 48e954e038
Change instructions for unlocking Broadlink devices (#42023) 2020-11-10 10:42:59 +01:00
Peter Epley b099726854
Add function to remove holidays from workday sensor (#41988) 2020-11-10 10:26:55 +01:00
Aaron Bach 244bfb2096
Deprecate YAML config for Notion (0.119 removal) (#43026) 2020-11-09 23:47:38 -06:00
Diego Elio Pettenò 6b21df9053
Expose Dyson PureCool filter life remaining percentage (#42765) 2020-11-09 23:01:13 +01:00
J. Nick Koston add50cb33a
Add services to log and dump objects to the profiler to help track down memory leaks (#42951)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-11-09 10:54:18 -10:00
Erik Montnemery 5694e4190c
Extend WS API result when enabling an entity (#42667)
* Extend WS API result when enabling an entity

* Fix tests

* Fix tests

* Move updated registry entry to sub dict

* Address review comments

* Increase test coverage
2020-11-09 19:47:45 +01:00
Paulus Schoutsen aec191b558
Support datetime sensor in time trigger (#42899) 2020-11-09 14:50:54 +01:00
Aaron Bach 3707b72a37
Deprecate YAML config for AirVisual (0.119 removal) (#42581) 2020-11-09 13:41:04 +01:00
Martin Hjelmare 6c5ef0970a
Add ozw config flow add-on management (#42421)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2020-11-09 13:30:19 +01:00
Erik Montnemery b45fa29077
Force color or white mode exclusivity for MQTT lights (#42887) 2020-11-09 12:51:01 +01:00
Guido Schmitz 804579cd54
Update devolo-home-control-api to 0.16.0 (#42944) 2020-11-09 12:17:35 +01:00
Matthew Donoughe bc4bbaf6ef
Add device trigger support for device trackers (#42324)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-11-09 12:04:16 +01:00
Allen Porter 64f06b2b00
Update nest SDM climate simplifying support for eco mode (#42955) 2020-11-09 11:35:38 +01:00
Paulus Schoutsen e477e94ddd
Fix flaky epson CI (#42999) 2020-11-09 10:45:17 +01:00
springstan 30b94892c4
Use strings instead of f-strings for constants (#40619) 2020-11-09 10:09:53 +01:00
Andrew Marks 42cdbc7e1d
Correct logging and add test case for sharkiq (#41863)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-11-09 08:33:09 +01:00
Xiaonan Shen f499187835
Fix yeelight binary sensor unique ID (#42562) 2020-11-09 08:32:21 +01:00
On Freund 5a7e4b4dae
Add zone_entity_id to Risco events (#39678)
* Add zone_entity_id to Risco events

* Add comment

* Fix dependency on order
2020-11-08 12:14:43 -06:00
epenet 7c397a02b7
Add onewire switches (#42962)
* Add support for switches

* Fix stale comment
2020-11-08 12:06:41 -06:00
Tom 877bfcb308
Add support for Stretch product to Plugwise integration (#40108)
* Initial switch-group/stretch with failing wk_lisa_battery test

* Adding switch tests, but TypeErrors, needs more investigation

* Fixes and tests aligned

* Review updates

* Use const

* Comments

* Add stretch hostname for testing part

* Remove unused consts

* Revert guardings in line with -beta

* Catchup with dev (mostly with ourselves from #41201)

* Update docstring

* Remove debug logging

* Fix for #42725 (incorrect entity namingi)

* Fix naming for gas interval

* Add missing CONF_USERNAME and use of it

* Change "dummy" to "class"

* Don't use "class"

* Fix CONF_USERNAME default, dummy and other consts

Co-authored-by: Bouwe Westerdijk <11290930+bouwew@users.noreply.github.com>
2020-11-08 11:09:43 -06:00
jan iversen 55cdec8c4e
Add test for register configuration for modbus switch (#42604)
* check for false config in modbus tests.

add call to pytest.fail() if device cannot be defined.

* correct bit error in register read.

Only LSB is to be considered for checking ON/OFF

* Add register tests for modbus switch.

Copy the coil tests to work for register tests.

* allow test coverage to control switch.py

With both register and coil test the coverage is a log higher than 50%

* Correct minor bug in handling of register in modbus switch

* Add state_on/state_off test for modbus switch

* restore modbus switch exclusion from coverage

switch file coverage is only at 72%, ideally we want either 80%+ coverage on the file or 90%+ on the component itself which is only about 83% currently with this file included. this is so we keep the overall project coverage in 90%+.

Co-authored-by: Chris Talkington <chris@talkingtontech.com>
2020-11-08 10:42:45 -06:00
Erik Montnemery 51b4bc547c
Bump hatasmota from 0.0.27 (#42802)
* Adjust tests

* Add test for deprecated discovery message

* Update status sensors

* Bump hatasmota to 0.0.27

* Update tests
2020-11-08 17:11:25 +01:00
epenet 2b2d7558de
Add binary_sensor platform to onewire integration (#42832)
* Add binary_sensor platform to onewire integration

* Keep the same name

* Rework tests

* Rework tests
2020-11-07 20:42:20 -06:00
Pawel df38c59dc8
Add config flow to epson and fix timeouts (#39697) 2020-11-07 18:15:29 +01:00
Paulus Schoutsen 15da7b3ca6
Cloud: Recover when internet is not available yet (#42877) 2020-11-06 12:12:18 +01:00
Allen Porter a5da98680a
Add nest climate support for SDM API (#42702)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-11-06 09:57:02 +01:00
Jeff Irion cfc8e96b15
Handle overriding of default apps for Android TV (#41893)
* Handle overriding of default apps for Android TV

* Fix comment
2020-11-05 16:41:22 +01:00
epenet 38495057a5
Cleanup onewire tests (#42864)
* Cleanup onewire tests

* Cleanup onewire tests
2020-11-05 10:37:35 -05:00
Anders Melchiorsen 650c57db5b
Fix async_track_utc_time_change firing too early (#42176) 2020-11-05 16:34:56 +01:00
Diederik van den Burger 60234ecf40
Add hdmi input attribute to AndroidTV (#42571)
* bumps androidtv to 0.0.53

* add hdmi_input attribute to androidtv

* update tests for hdmi_input attribute

* chore: update docstrings
2020-11-05 14:36:46 +01:00
epenet c7cdad2b5a
Default some entities to disabled (#42797) 2020-11-04 10:08:50 +01:00
Erik Montnemery 56ee99372d
Force color or white mode exclusivity for Tasmota lights (#42772) 2020-11-04 10:03:32 +01:00
J. Nick Koston 9e0043fb17
Fix rest sensors with resource templates (#42818) 2020-11-04 08:52:47 +01:00
Niccolo Zapponi 5ddf99e496
Add support for OpenWeatherMap One Call API (#39839) 2020-11-03 08:37:30 -10:00
Paulus Schoutsen 7719e878f9
Migrate system health to use integration_platform (#42785) 2020-11-03 14:28:55 +01:00
Allen Porter 89a5c9fcac
Add image support to nest SDM api (#42556) 2020-11-03 09:31:43 +01:00
Jason Hunter 5a4c1dbcc4
Add DPI Restriction switch to UniFi integration (#42499)
* initial implementation for controlling DPI restrictions

* address PR review comments and add DataUpdateCoordinator

* fix existing tests against new lib version

* add tests for DPI switches

* bump aiounifi

* listen to events instead of polling

* fix tests

* remove useless test

* bump aiounifi

* rename device to UniFi Controller per PR feedback
2020-11-03 08:36:37 +01:00
Paulus Schoutsen ebe3cbc058
Drop usage of asynctests (#42756) 2020-11-02 19:57:24 +01:00
Shay Levy f45075eeb5
Use own CoAP lib and support for multicast updates (#42718)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2020-11-02 16:46:34 +01:00
Paulus Schoutsen 0fb587727c
Add initial blueprint support (#42469)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Franck Nijhof <git@frenck.dev>
2020-11-02 15:00:13 +01:00
Michael 8d9a844e84
Add verify_ssl option for connection setup to synology_dsm (#42539) 2020-11-02 14:23:16 +01:00
Raman Gupta 098dead16d
Fix Vizio host string for zeroconf discovery (#42738) 2020-11-02 13:08:36 +01:00
Alexei Chetroi 8868028dcd
Bump up ZHA dependencies (#42679)
* Bump up ZHA dependencies

* Fix tests because of zigpy request signature change
2020-11-01 11:05:55 -05:00
Lindsay Ward 181811b7b8
Fix typo exceeded, change to exceed, in HomeKit (#42705) 2020-11-01 03:51:56 -10:00
taiyeoguns 9fc92ab04e
Remove classes in nx584 tests (#42628) 2020-11-01 13:27:33 +01:00
springstan c7fbbbe935
Allow saving zero precision option in Opentherm_gw (#42593)
* Allow saving zero precision option in Opentherm_gw

* Add default 0 back for precision option

* Adjust config flow test for zero precision
2020-10-31 16:19:17 +01:00
Adrian Suwała d67d8e76dd
Remove redundant mock_storage fixture from mqtt_statestream tests (#42652) 2020-10-31 15:28:06 +01:00
Erik Montnemery 62b5279d86
Add WS command to remove a Tasmota device (#42266) 2020-10-30 09:56:41 +01:00
Adrian Suwała 6011756e90
Rewrite mfi unittest tests to pytest (#42510) 2020-10-30 09:13:33 +01:00
J. Nick Koston 2bbd2a6e70
Reduce complexity of storage writes (#42576)
* Reduce complexity of storage writes

* add test

* stop hass

* workaround bad test
2020-10-29 22:35:51 -05:00
Erik Montnemery 153f05afde
Bump hatasmota to 0.0.25 (#42605) 2020-10-30 00:13:49 +01:00
Paulus Schoutsen 7027b01a29
Fix broken time trigger test (#42606) 2020-10-29 22:34:06 +01:00
Chris Talkington 708423e0f8
Remove YAML config for roku (#41960) 2020-10-29 09:51:48 +01:00
Chris Talkington 0ba1298f1b
Remove YAML config for directv (#41961) 2020-10-29 09:51:22 +01:00
Michael a2f2a42e66
Fix adding Virtual DSM system in synology_dsm (#42523) 2020-10-29 09:22:36 +01:00
Jason Hunter 2a795c0397
Add guppy3 memory profile to Profiler integration (#42435)
* add guppy memory profile to profiler integration

* add output path to notification

* create new service for memory profile

* address review comments
2020-10-28 21:05:16 -04:00
Aaron Bach 3fb091c4ea
Deprecate YAML config for Flu Near You (0.119 removal) (#42535) 2020-10-28 19:54:51 -05:00
Aaron Bach 31518937c0
Cleanup RainMachine (#42544) 2020-10-29 00:52:15 +01:00
Aaron Bach e61e8fafee
Add options flow to RainMachine (#42241)
* Add options flow to RainMachine

* Linting
2020-10-28 15:52:42 -06:00
Adam Cooper 6e43d489ca
Implement minor Colorfix alterations (#42521)
* Added logic to ensure one of ATTR_URL or ATTR_PATH is provided using cv, updated tests to reflect this

* Added missing explicit None returns
2020-10-28 20:36:10 +01:00
Angelo Gagliano d42bdcfc2a
Move async_add_entities back to event loop for tplink component (#42454) 2020-10-28 09:51:53 +01:00
Erik Montnemery 8800b83283
Fix race in Tasmota discovery (#42492) 2020-10-27 23:24:54 +01:00
Paulus Schoutsen d4efa938dd
Improve mqtt test (#42490) 2020-10-27 23:22:59 +01:00
Erik Montnemery f0b676607d
Bump hatasmota to 0.0.24 (#42472) 2020-10-27 23:01:13 +01:00
Adam Cooper 4bf8850131
Add color_extractor service (#42129)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-10-27 22:22:09 +01:00
Allen Porter 8caa177ba1
Add Nest cam support for the SDM API (#42325)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-10-27 15:20:01 +01:00
Xiaonan Shen f23fcfcd9b
Fix yeelight connection issue (#40251)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-10-27 14:47:11 +01:00
Angelo Gagliano 34283ac283
Add retry for unavailable static tplink devices after HA starts (#42247) 2020-10-27 10:02:16 +01:00
João Gabriel b45ac5159d
Add device info default values to Panasonic Viera (#42441) 2020-10-27 09:03:07 +01:00
epenet f3a15eab6e
Discover onewire devices at startup (#42410) 2020-10-26 23:36:51 -05:00
Franck Nijhof 0e98bc5ea2
Skip template result parsing in several places (#42408)
* Skip template result parsing in several places

* Adjust alert integration

* Adjust Alexa integration

* Adjust apns integration

* Adjust arest integration

* Adjust dialogflow integration

* Adjust generic camera integration

* Adjust imap email content  integration

* Adjust InfluxDB integration

* Adjust intent integration

* Adjust logbook integration

* Adjust HP ILO integration

* Adjust manual alarm control panel integration

* Adjust manual mqtt alarm control panel integration

* Adjust minio integration

* Adjust mqtt integration

* Adjust notify integration

* Adjust persistent notification integration

* Adjust rest integration

* Adjust rss feed template integration

* Adjust slack integration

* Adjust Xiaomi integration

* Adjust TCP integration

* Adjust Telegram Bot integration

* Bump CI cache version

* Revert "Bump CI cache version"

This reverts commit 875efe58cf.

* Adjust demo tests
2020-10-26 19:29:10 +01:00
Paulus Schoutsen 6380ebd1eb
Fix MQTT publish from a script with templates (#42398) 2020-10-26 16:46:26 +01:00
epenet 0de52c173c
Implement PlatformNotReady on onewire integration (#42395) 2020-10-26 16:33:13 +01:00
J. Nick Koston 935c2df7cb
Add a test for template entities that reuse the template (#42404) 2020-10-26 16:08:57 +01:00
Franck Nijhof 45aba9bdf2
Allow skip parsing template result (#42401) 2020-10-26 16:01:09 +01:00
Elena Rogleva 41f917fede
Rewrite pilight/test_init.py tests to pytest style test functions (#42366) 2020-10-26 15:26:08 +01:00
Erik Montnemery 029963dfc2
Bump hatasmota to 0.0.23 (#42394) 2020-10-26 14:58:36 +01:00
Paulus Schoutsen e552c9ba96
Store original result on template results (#42391)
* Store original result on template results

* Fix shell command test
2020-10-26 11:30:58 +01:00
Glenn Waters 6645cb2637
Cleanup log style and tests for ElkM1 (#42353) 2020-10-26 10:36:28 +01:00
taiyeoguns 8f74a0c2e6
Convert logbook tests to pytest (#42289) 2020-10-26 09:18:02 +01:00
Olen 0cf9a1621a
Create __init__.py in AlarmDecoder tests (#42388)
__init__.py was missing
2020-10-26 09:17:15 +01:00
Emily Mills 00df7539cf
Use string-lights icon for zerproc (#42379) 2020-10-26 09:04:58 +01:00
springstan cbf6086c30
Use common strings in luftdaten config flow (#42376) 2020-10-25 23:40:12 +01:00
wouterbaake e6400fc11b
Use common strings in opentherm_gw config flow (#42211)
* Use common strings in opentherm_gw config flow

* Combine TimeourError and SerialException handling

* Fixed test_form_connection_error

* And then fix the flake8 error...

* Change "timeout" to "cannot_connect" msg
2020-10-25 22:01:05 +01:00
Paulus Schoutsen de12ac354a
Expose more Websocket API constants (#42263) 2020-10-25 21:10:13 +01:00
epenet c157a582b8
Add device_info to onewire sensors (#42309)
* Add device info

* Cleanup log
2020-10-25 18:05:02 +01:00
SukramJ 9a970cfe3d
Remove split devices from HMIPC (#42348) 2020-10-25 11:03:41 -05:00
J. Nick Koston 221bb5ad52
Upgrade to aiohttp 3.7.1 (#42305) 2020-10-25 14:44:39 +01:00
J. Nick Koston 6822190772
Fix unmocked https in the test suite (#42316) 2020-10-25 07:16:23 -05:00
Alex Popoutsis 64b1ccd8f6
Add WLED preset service (#42217)
Co-authored-by: djtimca <60706061+djtimca@users.noreply.github.com>
2020-10-25 12:44:26 +01:00
Glenn Waters cc77621477
Clean up ElkM1 lib (#42319) 2020-10-24 23:46:22 -05:00
Teemu R bdb71c9159
Only log xiaomi_miio update exceptions once (#41226)
* xiaomi_miio: only log update exceptions once

Replaces #37695

* add som more missed exception logger cases + do not change the control flow as pointed out by @cgtobi

* Use patch&MagickMock from tests.async_mock

* Fix linting for alarm_control_panel

* update the test to verify that the warning on update is only logged when the device was previously available
2020-10-25 01:53:36 +02:00
Allen Porter 5e9de88f4b
Fix nest to stop doing asyncio in a property (#42312)
This upgrades to the latest vesion of python-google-nest-sdm that
had bug fixes to stop doing asyncio in a property.
2020-10-24 23:33:52 +02:00
epenet 5db1474099
Add device_class information to onewire sensors (#42308) 2020-10-24 14:45:01 -05:00
Robert Svensson e06c8009e1
Add area id to entity registry (#42221)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-10-24 21:25:28 +02:00
epenet 2787a52ef7
Add onewire test for more devices (#42037)
* Add tests for device families 12 and 26

* Update patch import to tests.async_mock
2020-10-24 13:56:41 -05:00
Allen Porter 0c852b5f81
Update nest integration with fixes from initial PR (#42250) 2020-10-24 20:48:28 +02:00
Paulus Schoutsen 1c36bf5e19
Fix block till done in create entry config flow tests (#42290) 2020-10-24 16:20:56 +02:00
Erik Montnemery bfb603fe78
Fix reconfiguring of Tasmota lights (#42288) 2020-10-24 14:31:08 +02:00
Erik Montnemery 15f46392d2
Fix Tasmota CT light (#42287) 2020-10-24 14:29:26 +02:00
Rob Bierbooms 79fac17c28
Add unique_id and device_info to DSMR entities (#42279)
* Add unique ids and device info

* Fix tests

* Add tests

* Apply suggestions from code review

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

* Fix black

Co-authored-by: Chris Talkington <chris@talkingtontech.com>
2020-10-24 06:22:23 -05:00
SukramJ 6efb782871
Add wired devices to Homematic IP Cloud (#41232)
* Add wired devices to HomematicIP Cloud

* Add test to check device registry

* Add comments

* Update comment
2020-10-23 21:14:54 -05:00
epenet 6ef53a2c5d
Add config flow for One wire (#39321)
* Add support for config_flow
Add support for switches
Add support for binary sensors

* Add config flow strings

* Update .coveragerc

* black-formatting

* fixes for isort and flake

* fixes for pylint

* fixes for isort

* fixes for isort

* fixes for config_flow

* Add devices to Device Registry

* Updated comments

* fixes for flake8

* Updated comments

* Updated comments

* Implement async_unload_entry

* remove binary_sensor and switch implementation (will move to new PR)

* Update .coveragerc

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

* Update .coveragerc

* Review config flow to store the configuration type

* Add config_flow tests

* Move CONF_NAMES to constants

* Fix isort

* Tweak to onewire logger

* Tweak to onewire logger for sensor

* Reset _LOGGER variable

* Normalise header

* Normalise header

* Update to use references in config flow translations

* Improve test coverage

* fixes for isort

* Update async_unload_entry

* Update common strings

* Update imports

* Move connect attempt to executor

* Update common strings

* Remove OWFS from config_flow

* Prevent duplicate config entries

* Fix isort

* Fix flake8

* Fix tests following removal of OWFS implementation

* Fix flake8

* Adjust config from yaml to config-flow, and add ability to specify sysbus directory

* Ajust unique_id for config entries

* Fix test_config_flow

* Fix invalid merge

* Convert yaml to config_entry

* Update sysbus tests

* Tweaks to yaml import process, and add OWFS warning

* Enable migration of OWFS platform config to config_entry

* update the existing corresponding config entry on OWFS conversion

* Remove CONFIG_SCHEMA

* Move data_schema to constants

* Remove log message

* Remove duplicate warning

* Update already_configured to use already_configured_device constant

* Schedule get_entities on the executor

* Update duplicate entry check for OWServer

* Review TryCatch

* Schedule os.path.isdir on the executor

* rename owhost/owport

* Update checks for empty

* Fix incorrect patch

* Move config_flow validation methods to new OneWireHub

* Fix typo and pre-commit

* Cleanup try/else

* patch async_setup/async_setup_entry

* cleanup implicit exit point

* Fix invalid patch

* cleanup implicit exit point

* cleanup implicit exit point

Co-authored-by: Chris Talkington <chris@talkingtontech.com>
2020-10-23 20:57:16 -05:00
J. Nick Koston 4bf9ce6fca
Add support for homekit garage obstruction sensors (#42243) 2020-10-23 12:18:02 -05:00
Erik Montnemery 88231aa541
Fix Tasmota relay acting as on/off light (#42259) 2020-10-23 17:40:43 +02:00
Paulus Schoutsen 5dac3883b0
Stub light profiles (#42232) 2020-10-23 16:28:21 +02:00
Erik Montnemery b626df1316
Improve cast integration tests (#42229)
* Improve cast tests

* Address review comments

* Further cleanup of tests
2020-10-23 16:16:55 +02:00
Tim Werner 3f623ad453
Rewrite group unittest to pytest style (#42159) 2020-10-23 12:05:07 +02:00
Aaron Bach 536f1186b0
Remove remnants of configurable RainMachine scan interval (#42239)
* Remove remnants of configurable RainMachine scan interval

* Clean up tests

* Cleanup
2020-10-22 21:32:04 -05:00
J. Nick Koston 4a3b40a3ef
Ensure websocket event serializer cache is effective if subscription iden differs (#42226)
Since someone websocket subscriptions will use an iden of 2 for
state_changed event (most comment), and some will use another
number for all events, the cache would not be used because the
iden number was different.  We now cache only the event and
use a fast replace to insert the iden number into the serailized
response.
2020-10-23 01:28:22 +02:00
Erik Montnemery de35d58fd4
Support reloading Tasmota config entries (#42097) 2020-10-23 01:22:51 +02:00
Tim Werner fcc895f294
Rewrite mochad unittest to pytest style (#42164) 2020-10-22 14:58:54 +02:00
taiyeoguns 8bb7febbc5
Convert nx584 tests to pytest (#42094)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-10-22 10:36:31 +02:00
CurrentThread 9b145a78d9
Remove not used legacy remote test helpers (#42144) 2020-10-22 10:02:04 +02:00
Julian Engelhardt 5230ff6640
Rest test style (#42032) 2020-10-22 10:00:48 +02:00
Robert Svensson e54f4aa9ed
Improve Axis tests (#42183) 2020-10-22 09:29:53 +02:00
Ronan Murray dab5e5ebc9
Rewrite london_air tests in pytest style (#41165) 2020-10-21 23:49:28 +02:00
Diogo Gomes 1f850f6374
Enable co-existence of two IPMA weather entities for the same location (#40354)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-10-21 23:41:06 +02:00
Kevin Cathcart 754ba18af0
Add persistent_notification service to the notify platform (#40638)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-10-21 17:12:36 +02:00
Paulus Schoutsen 5626a379de
Guard bad supported features for Google (#42163) 2020-10-21 16:37:42 +02:00
Chris Talkington d8577a1550
Add config flow for cloudflare (#41167)
* add config flow for cloudflare

* Create const.py

* work on flow.

* remove const.

* lint.

* Apply suggestions from code review

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

* Update config_flows.py

* Update homeassistant/components/cloudflare/strings.json

* Apply suggestions from code review

* Apply suggestions from code review

* Apply suggestions from code review

* Update strings.json

* Apply suggestions from code review

* Update __init__.py

* Update __init__.py

Co-authored-by: J. Nick Koston <nick@koston.org>
2020-10-21 09:09:00 -05:00
Erik Montnemery e203896638
Align MQTT light's default color temperature (#41842) 2020-10-21 15:46:29 +02:00
On Freund a07c0d1605
Fallback to mac in Shelly config flow title (#40783) 2020-10-21 15:05:06 +02:00
CurrentThread c1ebad8c97
Clean up filesize unittest test file in test tear down (#42143) 2020-10-21 13:47:30 +02:00
CurrentThread bb1b210047
Use async_load_platform in test_discover_notify unittest (#42142) 2020-10-21 13:47:10 +02:00
Kevin Cathcart 0674ae6205
Fix pico tts errors (#41619)
Enabled the use of mutagen in unit tests.
Added a test for tagging a minimal .wav file.
2020-10-21 11:58:07 +02:00
Paulus Schoutsen 45345ddc05
Improve handling of ignored entries (#42148) 2020-10-21 10:49:09 +02:00
Rob Bierbooms 177bda01e8
Rewrite zwave init tests to pytest style test function (phase 2) (#41431) 2020-10-21 10:19:47 +02:00
Allen Porter 52b66e88c7
Update Nest integration to support Google Nest Device Access (new API) (#41689)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-10-21 10:17:49 +02:00
dmonego 1cacca6568
Update mqtt_eventstream tests to pytest style functions (#42119) 2020-10-21 04:07:48 +02:00
Brett 582074d1db
Improve Advantage Air integration to Platinum quality (#41996)
* Rename to ADVANTAGE_AIR_DOMAIN

* Remove attributes from binary sensor platform

* Handle other motionConfig values

* Restructure

* Unloading

* Fix unloading

* PARALLEL_UPDATES

* Remove pointless check

* Rollup to sensor

* Rollup to switch platform

* @ctalkington suggestion of added __init__ back

* Fix unload test

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

* Fix ENTRY_STATE_NOT_LOADED

* Update test docstring

* Remove obsolete __init__'s

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

* Remove unused __init__ from cover

* Code Quality 🏆 Platinum

* Re-push manifest.json

Co-authored-by: Chris Talkington <chris@talkingtontech.com>
2020-10-20 13:30:09 -05:00
Tim Werner e5aa5e2c35
rewrite mqtt unittest tests to pytest style (#42122) 2020-10-20 16:35:49 +02:00
Robert Svensson 1303d20064
Adapt Axis integration to async HTTPx calls (#42095) 2020-10-20 09:31:04 +02:00
jjlawren e6e4c9cf59
Allow Cast to play Plex media (#41869)
* Allow Cast to play Plex media

* Add Plex to after_dependencies, add missing constant

* Extract function from Sonos service to allow media lookups

* Move to non-async method

* Check if media_id exists

* Add test to make codecov happy
2020-10-19 16:34:22 -05:00
dmonego c8821d930e
Move sleepiq tests to pytest style functions (#42018) 2020-10-19 23:31:33 +02:00
CurrentThread e129ea4db7
Rewrite demo unittest tests to pytest style test functions (#41845) 2020-10-19 23:29:44 +02:00
CurrentThread 7e3aa6ddce
Rewrite remote unittest tests to pytest style test functions and remove legacy test helpers (#41715) 2020-10-19 23:28:40 +02:00
Alexander Pitkin f5f4570a29
Rewrite alert test to pytest (#41102)
* Rewrite alert test to pytest

* Rewrite alert test to pytest. Add mock_notifier fixture
2020-10-19 23:26:40 +02:00
Erik Montnemery ec7f329807
Add support for Tasmota status sensor (#41782)
* Add sensor attributes, remove useless test.

* Fix tests

* Rework handling of sensor attributes

* Remove unused sensor attributes

* Hide status sensors

* Bump hatasmota to 0.0.19

* Use DEVICE_CLASS_SIGNAL_STRENGTH for WiFi signal sensor

* Improve test coverage

* Fix tests
2020-10-19 22:07:31 +02:00
Robert Svensson de98168211
Axis lib migrates to httpx (#42054)
* Clean up some parameter naming

* Bump lib

* Bump to v39
2020-10-19 20:01:25 +02:00
Paulus Schoutsen 440570244d
Don't swallow all errors when checking for config validator platform (#42058) 2020-10-19 17:09:57 +02:00
Paulus Schoutsen 8d4675713a
Fix event test (#42078) 2020-10-19 16:50:46 +02:00
Ronan Murray 16c402f583
Rewrite nsw_fuel_station tests to pytest style (#41171) 2020-10-19 12:19:39 +02:00
Rob Bierbooms 5e98bdb19c
Rewrite openhardwaremonitor tests to pytest style test functions (#41157) 2020-10-19 12:18:34 +02:00
Sebastian Rodriguez 226a6f7584
Rewrite time_date unittest tests to pytest style test functions (#41149) 2020-10-19 12:14:07 +02:00