Commit Graph

6615 Commits (d96a1744f0a50659aedc1947a8653677f8e006dc)

Author SHA1 Message Date
Felipe Martins Diel d96a1744f0
Improve RemoteEntity class (#40605) 2020-10-18 08:59:36 -05:00
Erik Montnemery 515a6479a4
Bump hatasmota to 0.0.18 (#42000)
* Bump hatasmota to 0.0.17

* Bump hatasmota to 0.0.18
2020-10-18 00:00:28 +02:00
Robert Svensson c6c617ed31
Improve device registry for host and deCONZ service (#41786) 2020-10-17 11:44:23 -05:00
Brett e71d851973
Add Sensor Platform to Advantage Air (#41870)
* WIP Add Sensor platform

* Code quality improvements

* Readability improvements

* Fix RSSI in fixture

* Sensor platform tests

* Created parent sensor class

* Fix DOMAIN namespace

* Code Coverage fix for impossible case

* Use parent class

* Add to fixture for code coverage

* Description Update

* Use consistent name for ADVANTAGE_AIR_DOMAIN

Co-authored-by: Robert Svensson <Kane610@users.noreply.github.com>

* Set ADVANTAGE_AIR_DOMAIN where required

Co-authored-by: Robert Svensson <Kane610@users.noreply.github.com>
2020-10-17 11:29:36 -05:00
Robert Svensson 7eb532ddd0
Improve imports in deCONZ tests (#41976)
* Improve imports in deconz tests

* Add spacing
2020-10-17 11:20:06 -05:00
Ronaldo Lima 121613f5e6
Use common string in GeoNet NZ Volcano (#41981)
* add GeoNet NZ Volcano to home-assistant#40578

* change key from already_configured_location to already_configured on GeoNet NZ Volkano
2020-10-17 15:07:44 +02:00
Paulus Schoutsen 39ba0fc7ee
Remove BOM integration because it uses webscraping (#41941)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-10-17 13:56:11 +02:00
Gautham Varma K ee1b6d3195
Use common strings in denonavr integration (#41746) 2020-10-17 13:34:51 +02:00
Anders Melchiorsen 30b454ddb7
Fix Sonos shuffle/repeat state with Spotify Connect (#41939) 2020-10-17 09:40:43 +02:00
Philip Allgaier dde6305549
Cleanup unused loggers (components N-Z + tests) (#41982) 2020-10-16 21:24:08 -05:00
J. Nick Koston ad6ce5fa83
Convert rest sensors to async using httpx (#41973) 2020-10-16 19:21:13 -05:00
Ronaldo Lima 87deb2344c
Use common strings in Azure DevOps config flow (#41974) 2020-10-17 01:27:44 +02:00
Aaron Bach 74a1b75919
Deprecate YAML config for RainMachine (0.119 removal) (#41971) 2020-10-16 16:35:13 -05:00
Jaroslav Hanslík 3e82cc1b4f
Add arming state to template alarm control panel (#41964) 2020-10-16 23:01:06 +02:00
Brett ca9ac48938
Add Binary Sensor Platform to Advantage Air (#41871)
* Binary Sensor Platform

* Parent Binary Sensor Class

* Fix DOMAIN namespace

* Use parent class
2020-10-16 12:12:24 -05:00
Rob Bierbooms 92f89213a3
Fix InfluxDB v2 API with write precision None (#41937) 2020-10-16 16:44:50 +02:00
Robert Svensson 85ccff28cd
Revert partial changes to deCONZ integration from earlier PR (#41943) 2020-10-16 14:38:12 +02:00
Punita Ojha 23b3db08f3
Rewrite smtp Unittest Tests To Pytest Style (#41720)
* Rewrite smtp unittest tests to pytest style
test functions.

.coverage.rc  --> Remove homeassistant/component/smtp/notify.py from
omit section.
test_notify.py --> Convert test case to pytest style.
test.jpg, test.pdf --> Add test files.

Issue id:- #40894

* Made Fix Based On Code Review
To Pull Request -  #41720.

.coveragerc --> Add file in omit section as coverage is 75%(i.e. <95%)
test_notify.py --> Capitalize constant in file, Made parametrized data
compatible to avoid if conditions.

Code Review Submission on Pull Request #41720.

* Made Fix Based On Code Review
To Pull Request #41720.

test_notify.py --> Add different test for simple text message to avoid if conditions check in code.

* Move Notify Media Files To
 Folder tests/testing_config/notify.

 test_notify.py --> Add Relevant Path For .jpg and .pdf file.
 test.jpg, test.pdf --> Move to relevant location.

 Pull request #41720
2020-10-16 13:55:12 +02:00
scheric db802ff2b4
Use common strings in Mill config flow (#41836) 2020-10-16 13:44:41 +02:00
Chris Talkington 243a4e5df6
Remove deprecated YAML config from sonarr (#41904) 2020-10-16 13:43:35 +02:00
Edward Knight b39d82c154
Rewrite APNS tests to use pytest (#41684)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2020-10-16 13:43:02 +02:00
CurrentThread 75f27d6318
Rewrite mold_indicator unittest tests to pytest style test functions (#41598) 2020-10-16 13:37:15 +02:00
CurrentThread 250fbd857b
Rewrite file unittest tests to pytest style test functions (#41616) 2020-10-16 13:30:03 +02:00
sycx2 91042e3e46
Improve template test lock (#41195)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-10-16 13:25:57 +02:00
Johan Hammar 30c20f362e
Rewrite folder unittest tests to pytest style test functions (#41672) 2020-10-16 13:19:38 +02:00
scheric 0f2dfeb33f
Use common strings in ovo energy config flow (#41940) 2020-10-16 13:17:41 +02:00
Ariana Hlavaty c9ba5bfebd
Rewrite proximity tests to be pytest functions (#41711) 2020-10-16 13:13:34 +02:00
thaohtp aabf26bbc8
Rewrite bayesian unittest tests to pytest style test functions. (#41740) 2020-10-16 13:10:48 +02:00
J. Nick Koston 6f113e981b
Update litejet and zwave tests to use async_add_executor_job (#41927)
* Update litejet and zwave tests to use async_add_executor_job

* await
2020-10-16 13:08:04 +02:00
Ariana Hlavaty 0a192947ed
Rewrite shell_command unittest tests to pytest style test function (#41274) 2020-10-16 13:04:12 +02:00
Captone Habiyaremye 5e96d21414
Add device actions to water_heater (#41417)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-10-16 12:51:12 +02:00
CurrentThread 904ce66a72
Rewrite tod unittest tests to pytest style test functions (#41603) 2020-10-16 12:10:38 +02:00
CurrentThread a28f347b2b
Rewrite fail2ban unittest tests to pytest style test functions (#41606) 2020-10-16 12:04:53 +02:00
James Warne 2146dd1268
Rewrite wsdot unittest tests to pytest style test functions (#41638) 2020-10-16 12:00:42 +02:00
Tom Parker-Shemilt 2b151209b2
Don't try and store exceptions when the key is missing (#41803) 2020-10-16 10:01:58 +02:00
Erik Montnemery 9e9f841f35
Add Tasmota device trigger (#41590)
* Add Tasmota device trigger

* Correct import

* Remove useless try-except

* Remove commented out code

* Align with hatasmota 0.0.14

* Update according to review comments
2020-10-16 08:16:07 +02:00
Brett 731d617c5e
Code Quality improvements for Advantage Air integration (#41861)
* Readability improvements

* Code quality and more tests

* Created a parent entity

* Apply parent entity to cover platform

* Update _zone property

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

* Remove device_state_attributes

* Correct attribute tests

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-10-15 23:30:29 -05:00
Ariana Hlavaty e28e453c08
Rewrite scene unittest tests to pytest style test function (#41172) 2020-10-15 23:35:30 +02:00
Ville Skyttä a9f342ef74
Convert UpCloud to config flow, improve error handling (#37941) 2020-10-15 23:26:01 +02:00
Raman Gupta 0e20bba40a
Add persistent notification for reauth config flows (#41811)
* add persistent notification for reauth config flow

* remove log

* Update homeassistant/config_entries.py

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

* Update homeassistant/config_entries.py

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

* fix logic for determining when to dismiss notification

* add comment

* improve tests to ensure notifications only get dismissed when all in progress config flows of a given type are complete

* Update homeassistant/config_entries.py

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

* handle context is None when accessing source

* add guard to show_advanced_options

* Apply suggestions from code review

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
2020-10-15 15:46:27 -05:00
Aaron Bach 6114006b8b
Deprecate YAML config for SimpliSafe (0.119 removal) (#41896)
* Deprecate YAML config for SimpliSafe (0.119 removal)

* Remove import step from config flow
2020-10-15 14:28:09 -06:00
Erik Montnemery 766a0032c9
Bump hatasmota to 0.0.16 (#41902) 2020-10-15 21:14:42 +02:00
epenet ba789105ee
Add PRESSURE_CBAR to onewire constants (#41826) 2020-10-15 19:57:15 +02:00
J. Nick Koston 3ffa050905
Support HomeKit accessory mode (#41679)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-10-15 11:59:50 -05:00
Tom 368bc0c34b
Fix Plugwise hvac action and mode (#41550) 2020-10-15 16:59:02 +02:00
J. Nick Koston c5ae801bcb
Allow HomeKit to be configured in include mode from the UI (#41662) 2020-10-15 15:33:01 +02:00
Gabe Cook ffb4a9112b
Ruckus Unleashed Requested Changes (#41824) 2020-10-15 12:49:43 +02:00
Brett a2574a4ed5
Add Cover Platform to Advantage Air (#41757)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-10-15 12:45:05 +02:00
Joakim Sørensen 1f07a4eba0
Forward client headers for proxied stream responses (#41663) 2020-10-15 11:01:37 +02:00
Aaron Bach 099de37ee5
Fix re-authentication in AirVisual (#41801) 2020-10-15 09:30:39 +02:00