Commit Graph

30325 Commits (61f919b18cc270e2a0fba2efd836920d4737dd83)

Author SHA1 Message Date
Thibaut 61f919b18c
Handle somfy error 404 during setup (#41298) 2020-10-06 15:02:03 +02:00
Edward Knight 8bcd6c1880
Rewrite imap_email_content tests to use pytest (#41200) 2020-10-06 15:01:25 +02:00
Franck Nijhof 357a0e9d7e
Improve switch template tests, remove common test helpers (#41322) 2020-10-06 14:54:39 +02:00
Maciej Bieniek ae54c21945
Use name reference and fix already_configured string for GIOS integration (#41323) 2020-10-06 14:54:02 +02:00
Ronan Murray df4998d7cf
Rewrite uk_transport tests to use pytest style (#41168) 2020-10-06 14:53:17 +02:00
Erik Montnemery 06e9489fc7
Add Tasmota integration (#39624)
* Add Tasmota integration

* Refactor

* Add tests, small improvements

* isort

* Attempt to fix tests failing with Python 3.8

* Revert "Attempt to fix tests failing with Python 3.8"

This reverts commit 11454f8a00136f068ea27204183fa3e62f3cd263.

* Fix tests failing with Python 3.8

* Cleanup tests

* Address review comments

* Address review comments

* Address review comments

* Use MAC address for device identification

* Bump hatasmota

* Bump hatasmota

* Apply suggestions from code review

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

* Fix indentation

* Remove preparation for device remove WS API

* Address review comments

* Remove useless try-except

* Tweak

* Improve tests

* Tweak

* Address review comments

* Correct test

* Update manifest.json

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-10-06 14:51:58 +02:00
SNoof85 3cf6535011
Use reference strings in Tile (#41328) 2020-10-06 14:44:14 +02:00
cgtobi dcf0f9d3f3
Fix Netatmo wind angle (#41324) 2020-10-06 14:43:30 +02:00
cgtobi d7890f35be
Fix Netatmo rain sensor naming (#41326) 2020-10-06 14:42:50 +02:00
Ariana Hlavaty 8adc5ee452
Rewrite pushbullet unittest tests to pytest style test function (#41266) 2020-10-06 14:34:39 +02:00
Raman Gupta 06306f5dfe
Add OZW WS API support for locks (#41186)
* add WS API support for locks and simplify lock service calls

* move return outside of try blocK

* fix rebase conflicts
2020-10-06 14:20:48 +02:00
Pigotka e1578e5389
Use of reference strings in Almond config flow (#41284) 2020-10-06 14:12:12 +02:00
TopdRob 888c92aa5e
Use common strings for Panasonic Viera (#41268)
* Update strings.json

* Update config_flow.py

* Update homeassistant/components/panasonic_viera/strings.json

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

* Update homeassistant/components/panasonic_viera/strings.json

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

* Update config_flow.py

* Update test_config_flow.py

* Update test_config_flow.py

* Fix failed tests

* revert line 530

* Fix remaining error key

* Remove not needed import

* Update const.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-10-06 14:07:38 +02:00
Charles Garwood 356ebc1128
Add cancel_command service for OpenZWave (#41285)
* Add cancel_command service for OpenZWave

* Raise ValueError if instance is None
2020-10-06 14:05:52 +02:00
Felipe Martins Diel 34416fcad3
Log device info in Broadlink error messages (#41307) 2020-10-06 08:02:14 -04:00
Steven Looman c812812631
Don't set upnp config_entry.unique_id from setup entry (#40988)
* Don't set config_entry.unique_id from setup entry. Fixes #40168

* Ensure entry has a unique_id

* Add test test_flow_import_incomplete

* Add test test_flow_import_duplicate

* Re-add testing import_info

* Simplify import flow

* Remove not needed line

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-10-06 13:57:36 +02:00
Rob Bierbooms b2b5f2ffcb
Rewrite zwave init tests to pytest style test function (phase 1) (#41301) 2020-10-06 11:50:03 +02:00
SNoof85 c5653ec57b
Use reference strings in konnected (#41290)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-10-06 11:49:46 +02:00
SNoof85 883c9b5e18
Add reauth_successful to base strings (#41316) 2020-10-06 11:29:53 +02:00
Ville Skyttä 0444f3de14
Move isort, pylint, and pytest configs to pyproject.toml (#40335) 2020-10-06 11:26:48 +02:00
Pigotka ed9a40874d
Use of reference strings in Transmission config flow (#41215) 2020-10-06 11:25:56 +02:00
Julian Engelhardt 14273e9e48
Rewrite statsd unittest tests to pytest style test functions (#41223) 2020-10-06 11:24:16 +02:00
springstan 014fe48096
Add pin to base strings for config flows (#41202) 2020-10-06 11:00:36 +02:00
SNoof85 c4401754be
Use reference strings in iqvia (#41289) 2020-10-06 10:27:16 +02:00
SNoof85 3e2b95949f
Use reference strings in Metoffice (#41295) 2020-10-06 10:26:49 +02:00
Björn Olsson Jarl 3abf30cf42
Rewrite sigfox unittest tests to pytest (#41302) 2020-10-06 10:16:41 +02:00
Paulus Schoutsen e303064f75
Don't use asynctest directly (#41306) 2020-10-06 10:15:50 +02:00
SNoof85 949ab621c0
Use reference strings in ambient_station (#41276) 2020-10-06 10:15:11 +02:00
sycx2 956b735be6
Improve yessssms test notify (#41283) 2020-10-06 10:11:36 +02:00
Brett b6b85d3e0c
Fix reported temperatures in Maxcube (#41259) 2020-10-06 10:06:54 +02:00
J. Nick Koston 2fabd4edb8
Prevent collecting states already referenced by domain or all (#41308)
The template engine would collect all the states in
a domain or all states while iterating even though
they were already included in all or the domain

This lead to the rate limit not being applied to
templates that iterated all states that also
accessed a collectable property because the engine
incorrectly believed they were specifically
referenced.
2020-10-06 07:25:05 +02:00
Joakim Plate 999eeb39b9
Indicate to user that remote was turned off when call was attempted (#40715)
* Indicate to user that remote was turned off when call was attempted

* Catch exception in test

* Switch to warning log

* Apply suggestions from code review

Add suggested change to loggin
2020-10-06 06:12:39 +02:00
SNoof85 acb0307beb
Use reference strings in Hunter Douglas PowerView (#41291) 2020-10-05 21:57:34 -05:00
Jason Rebelo 4d3802ff95
Rewrite reddit tests to pytest style tests (#41006)
*  rewrite reddit tests to pytest tests

*  add missing blocking
2020-10-05 20:33:31 -04:00
HomeAssistant Azure bcfa4ac959 [ci skip] Translation update 2020-10-06 00:08:09 +00:00
Ariana Hlavaty 329e56fac0
Rewrite min_max unittest tests to pytest style test function (#41296)
* Rewrite min_max unittest tests to pytest style test function

For: #40866

* Use uppercase letters for constants

* Remove not needed line

* Fix missing rename to uppercase

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-10-05 22:57:58 +02:00
Andrew Sayre 8e6a616846
Update pysmartthings (#41294) 2020-10-05 22:12:38 +02:00
Bram Kragten 510e90803e
Exclude media_dirs from YAML config check (#41299) 2020-10-05 22:09:47 +02:00
scheric f2b73c05d6
add strings (#41297) 2020-10-05 14:56:47 -05:00
scheric 95c831648b
add common strings (#41300) 2020-10-05 14:56:06 -05:00
SNoof85 7a12a16fc5
Use reference strings in iaqualink (#41292)
* Update strings.json

* Update config_flow.py

* Update test_config_flow.py
2020-10-05 14:55:12 -05:00
SNoof85 72cbdbbe36
Update strings.json (#41293) 2020-10-05 14:54:43 -05:00
Raman Gupta 6db4075a23
Add OZW node config parameters websocket commands (#40527)
* add websocket commands to retrieve and set config parameters for a node

* move set_config_parameter into generic function and refactor service and WS API

* add payload to return to make service call behave the same way it did before

* create response class

* update error message to pass tests

* move things a bit to reduce LOC

* add tests

* handle logging errors better and make new response class more generic to prepare for lock user code work

* remove unused function parameter

* invert check

* add additional error checking

* refactor a bit to remove repeat code

* revert log msg change

* one more refactor to create generic get_config_parameters function

* change if logic for consistency

* fix test

* add support to provide bool value in set_config_parameter service call

* standardize parameter names on service call

* add test coverage

* fix tests and message sending

* remove unnecessary logging import

* fix one test to get missing coverage

* update per martin and kpines reviews

* remove false assertion

* string line length

* add support for Decimal config param, remove node instance ID as input, and move helper functions to node.py

* cast Decimal appropriately

* revert change to support Decimal for config params since they are not supported as a config param type

* revert to using error arguments to make next PR for WS lock commands easier

* switch to class method and add guard for list Value not being a number

* update logic to use new openzwavemqtt util methods

* add support for bitsets

* use parent exception class

* bump openzwavemqtt version, remove node.py from .coveragerc and put file references in the right place

* add comment

* improve config validation

* remove bitset support from config validation

* re-add bitset support with some additional tests

* move send_result out of try block
2020-10-05 21:47:28 +02:00
Erik Montnemery c777647233
Drop legacy_patchable_time from MQTT tests (#41287) 2020-10-05 21:39:44 +02:00
djtimca 985e4e1bd9
Bump pyvesync to version 1.2.1 (#41269)
* Bumped vesync dependency to updated 1.2 library to fix issue 40111.

* Returned to existing pyvesync library with bumped version.
2020-10-05 20:26:01 +02:00
Erik Montnemery 13dad34019
Reorder MQTT binary sensor tests (#41277) 2020-10-05 19:42:28 +02:00
Pigotka 7eaa304fc3
Use of reference strings in Heos config flow (#41282) 2020-10-05 12:22:02 -05:00
Pigotka ac795ddcd0
Use of reference strings in Goalzero config flow (#41275) 2020-10-05 18:07:11 +02:00
SNoof85 87b1d1b57f
Use reference strings in Rainmachine (#41272) 2020-10-05 17:40:35 +02:00
Bram Kragten bc2305561f
Updated frontend to 20201001.1 (#41273) 2020-10-05 17:39:13 +02:00