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
Paulus Schoutsen
b8417a2ce2
Do not allow coroutines to be passed to HassJob ( #42073 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2020-10-19 23:25:33 +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
CurrentThread
6b409dc811
Rewrite filesize unittest tests to pytest style test functions ( #41421 )
2020-10-19 12:10:53 +02:00
thaohtp
a57d1c1bf0
Rewrite efergy unittest tests to pytest style test functions. ( #41769 )
...
Issue: https://github.com/home-assistant/core/issues/40836
2020-10-19 12:09:39 +02:00
Adam Cooper
fe7c8dd80a
Migrated coinmarketcap tests to utilise pytests instead of unittests ( #42013 )
2020-10-19 12:08:55 +02:00
Julian Engelhardt
97b1fffad4
Geo rss test style ( #42038 )
2020-10-19 11:59:04 +02:00
dvermd
5a533a8c5d
Rewrite datadog tests to pytest ( #42059 )
2020-10-19 11:57:01 +02:00
thaohtp
6f4be7882b
Rewrite logentries unittest tests to pytest style test functions ( #41852 )
...
* Rewrite logentries unittest tests to pytest style test functions.
Issue: https://github.com/home-assistant/core/issues/40862
* Import mock correctly
* Fix mock import
* Fix failure in formatting.
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-10-19 11:30:40 +02:00
J. Nick Koston
31c21126a8
Implement time tracking in templates ( #41147 )
...
Co-authored-by: Anders Melchiorsen <amelchio@nogoto.net>
2020-10-19 11:02:43 +02:00
J. Nick Koston
77b95ae8a1
Reduce domain states rate limit to 1 per second ( #42004 )
2020-10-19 10:18:25 +02:00
J. Nick Koston
3a9b2392f8
Suppress domain and all listeners during template rate limit ( #42005 )
2020-10-19 10:17:51 +02:00
J. Nick Koston
9649525fe6
Increase coverage and optimize history skip_initial_state ( #42014 )
...
Avoids a database query when all states have not
changed in the time window when skip_initial_state
is set.
2020-10-19 09:53:47 +02:00
Paulus Schoutsen
388a5d8c91
Add entity ID to time trigger ( #41933 )
2020-10-19 09:42:00 +02:00
Jason Hunter
5a397312e7
Update ONVIF to Zeep 4.0/httpx ( #42020 )
...
* convert to httpx and zeep 4.0
* fix tests
* add onvif-zeep-async to manifest
* pin zeep to fool CI cache
* address review comments
2020-10-18 23:29:53 -04:00
Paulus Schoutsen
6ab9b7355f
Add tests for singleton decorator ( #42055 )
2020-10-18 22:41:22 +02:00
Eugene Prystupa
6366872119
Add support for Bond fireplaces with integrated lights ( #41255 )
2020-10-18 14:11:24 -05:00
scheric
22b360a10e
Use common strings in ambiclimate config flow ( #41772 )
...
* already_configured_account->already_configured
* add authenticated string
* oauth2_missing_...->missing_configuration
2020-10-18 20:55:32 +02:00
Ronaldo Lima
d6d17aa295
Replace invalid credentials with common string invalid_auth ( #41997 )
...
* add GeoNet NZ Volcano to home-assistant#40578
* move invalid_credentials
* revert geonet nz volkano
* change invalid_credentials to invalid_auth
* change translation keys
2020-10-18 13:55:01 -05:00
J. Nick Koston
8c27a99386
Convert nuheat to use DataUpdateCoordinator ( #42034 )
...
* Convert nuheat to use DataUpdateCoordinator
* coverage
* Update homeassistant/components/nuheat/climate.py
2020-10-18 13:45:47 -05:00
Brett
5fab68725d
Add Switch platform to Advantage Air ( #41995 )
...
* Add Switch platform
* Rename DOMAIN in climate
* Revert "Rename DOMAIN in climate"
This reverts commit 271ac7b8a5
.
* Update unique_id
* Use constants
* Add switch platform to init
* Fix path for change
* Add tests
* Fix indentation of async_add_entities
2020-10-18 13:30:53 -05:00
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
J. Nick Koston
53a1d92f2b
Permit event trackers to accept an empty list of entities or domains ( #41857 )
2020-10-15 09:26:51 +02:00
Paulus Schoutsen
4899d7628a
Fix flaky ONVIF test ( #41848 )
2020-10-15 09:19:08 +02:00
Brig Lamoreaux
58a432685c
Use common srings in xiaomi-miio ( #41864 )
2020-10-15 08:09:20 +02:00
Robert Svensson
cb6d3b590e
Revert device trigger modelid for Trådfri remotes for deCONZ ( #41843 )
2020-10-14 23:39:00 +02:00
Mark Bergsma
5fd2acdbef
Add influxdb config option 'measurement_attr' ( #36020 )
2020-10-14 22:49:57 +02:00
scheric
f5248b5562
Use common strings in withings config flow ( #41770 )
2020-10-14 21:54:23 +02:00
scheric
6d1242ffe7
Use common strings in ovo_energy config flow ( #41838 )
2020-10-14 21:10:59 +02:00
Erik Montnemery
042ce1cb92
Add Tasmota light ( #41485 )
2020-10-14 17:47:13 +02:00
jjlawren
c63c253b7f
Discover Plex clients using GDM ( #39053 )
2020-10-14 15:46:52 +02:00
Clifford Roche
839b9f226e
Add gree climate integration ( #37498 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-10-14 15:15:56 +02:00
Sharif Nassar
9ee97cb213
Convert fan tests to pytest style ( #41631 )
2020-10-14 11:07:26 +02:00
epenet
3cba25a892
Add test coverage for onewire ( #40786 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-10-14 10:19:12 +02:00
Chris Talkington
b9d34603e4
Use canary fixture for options flow test ( #41817 )
2020-10-14 08:17:36 +02:00
J. Nick Koston
3748c3c985
Fix canary test doing IO and failing when the cloud is offline ( #41799 )
2020-10-13 15:57:00 -05:00
Sharif Nassar
c08f984f2b
Update uptime tests to pytest style ( #41077 )
...
* Update uptime tests to pytest style
First attempt
* Test that the sensor is actually configured
* Swap the rest of the tests to pytest
* fixup! Swap the rest of the tests to pytest
2020-10-13 22:18:31 +02:00
Robert Svensson
dc71b7421c
Improve deCONZ climate platform handling unsupported commands ( #41780 )
...
* Improve deCONZ climate platform
* Raise valueerror if missing input
* Fix linting
2020-10-13 22:11:09 +02:00
dvermd
840e4be029
Rewrite configurator tests to pytest ( #41731 )
2020-10-13 21:42:16 +02:00
thaohtp
7298bb32f1
Rewrite homematic unittest tests to pytest style test functions ( #41766 )
...
Issue: https://github.com/home-assistant/core/issues/40856
2020-10-13 19:51:08 +02:00
Robert Svensson
267d97e80e
Improve deCONZ fan platform handling unsupported commands ( #41779 )
...
* Improve handling unsupported commands
* Raise valueerror on unsupported speed
* Fix linting
2020-10-13 19:34:33 +02:00
Franck Nijhof
64d3cdfb41
Add nested light group test ( #41764 )
2020-10-13 08:37:16 -05:00
Jason Hunter
9877e8e25b
Add Xbox Integration ( #41697 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-10-13 15:37:01 +02:00
Aidan Timson
52c93edb53
Add Palette to WLED Effect Service ( #41724 )
2020-10-13 14:12:01 +02:00
tkacikdominik
b6855816ed
Rewrite Facebook unit test to pytest style test function ( #41671 )
...
* refactoring - Rewrite Facebook unit test to pytest style test function
* Modifying email author
* modified code formating
* Run CI
2020-10-13 13:45:46 +02:00
João Gabriel
d1041efedf
Add device info to Panasonic Viera ( #41028 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-10-13 13:14:59 +02:00
Robert Svensson
72289b8171
Add fan support to deCONZ ( #40806 )
...
* Add fan support to deconz
* Fix gateway test
* Fix lint issue
* Apply suggestions from code review
* Fix black
* Improve tests
* Store previously used speed in case turn_on service is called without a speed attribute
* Fix tests
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-10-13 12:57:42 +02:00
Diogo Gomes
c4148eb2c5
Add notify platform to TTS ( #40028 )
2020-10-13 11:52:51 +02:00
Fredrik Erlandsson
8bdc824b6c
Update pypoint to use async http requests ( #41546 )
...
* Remove domain after entities
* Add support for async http-requests
* Fix, handle network issues (update _is_available status)
* Fix missing await for alarm_arm
* Fix alarm status
* Update tests to async
* Bump pypoint version
* Fix doc string
* Apply suggestions from code review, remove pylint disable
* Fix black
2020-10-13 08:48:26 +02:00
Anders Melchiorsen
d00655810f
Add media_player.repeat_set service ( #41435 )
2020-10-12 23:29:28 +02:00
sycx2
fc75927d85
Rewrite tests for Template Binary Sensor ( #41098 )
2020-10-12 17:56:08 +02:00
Paulus Schoutsen
57996e1942
Improve mobile app template handling ( #41703 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2020-10-12 17:26:54 +02:00
Nathan Tilley
feabf99f92
Rewrite Wake on LAN Tests to use pytest style ( #41173 )
...
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-10-12 17:17:31 +02:00
Philip Allgaier
625bbe6238
Cleanup unused loggers (components A-M) ( #41600 )
2020-10-12 16:59:05 +02:00
J. Nick Koston
b897ca7260
Ensure all template errors are caught and the websocket api reports them ( #41719 )
2020-10-12 16:38:24 +02:00
Brett
3e41c682f4
Add Advantage Air Integration ( #40159 )
...
Co-authored-by: Robert Svensson <Kane610@users.noreply.github.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-10-12 13:22:15 +02:00
Erik Montnemery
cd21786536
Bump hatasmota to 0.0.13 ( #41705 )
...
* Bump hatasmota to 0.0.13
* Fix tests
2020-10-12 13:09:17 +02:00
Erik Montnemery
84cb00bb4e
Add Tasmota sensor ( #41483 )
...
* Add Tasmota sensor
* Remove useless try-except
* Bump hatasmota to 0.0.11
* Apply suggestions from code review
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
* Sort dict constants
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-10-12 07:27:06 +02:00
Angelo Gagliano
874e1f6103
Prevent tplink missing devices and unavailable state ( #39762 )
...
* Adds self to codeowners for tplink
* Adds retry to update to prevent missing devices
* Runs through isort and corrects async commit
* Runs through black
* Runs through pre-checks
* Corrects and matches var names
* Re-runs through black
* Corrects var name
* Removes the retry loop and in favor of async add
* Cleanup imports
* Removes no longer valid test
* Removes is_ready and only log retry once
* Corrects switch logging vars
* Adds list of entities to add_entities
* Consumes exception for attempt_update
* Consumes specific exception
* Removes unnecessary update
* Reducing back to 2 seconds
* Removes useless return
* Call get_sysinfo for all at once
* Formated black
* Adds missing docstirng
* Corrects docstring
* Update homeassistant/components/tplink/light.py
Co-authored-by: Anders Melchiorsen <amelchio@nogoto.net>
* Corrects sysinfo call
* Adds default for host vars
* Adds log when device responds again
* Revert host alias default
* Removes unncessary host var
* Removes host var
* Get device details from sysinfo
* Use host and alias for log msg
* Gets hosts from smartbulb
* Changes retry logging to debug
* Attempts coverage add
* Removes unused import
* Updates tests for new retry
* Runs through isort
* Removes unneeded try
* Prevents static entries from failing integration
* Format black
* Forces an update after turn on off
* Remove common test
* Revert update after turn_on off
* Adds patch for sleep_time 0
* Returns False when update fails
Co-authored-by: Anders Melchiorsen <amelchio@nogoto.net>
2020-10-11 21:10:36 +02:00
fnurgel
366006e0aa
Multiple Hue activate scene ( #41353 )
2020-10-11 21:01:49 +02:00
ochlocracy
178b2d8c22
Update display categories in Alexa ( #41626 )
...
* Add new display categories from Alexa Smart Home API
* Update Vacuum entities to use VACUUM_CLEANER category.
* Update Automation entities to use ACTIVITY_TRIGGER category.
* Update tests for Automation entities to use ACTIVITY_TRIGGER category.
2020-10-11 11:09:05 -05:00
scheric
9d6589240f
Use common strings in logi_circle config flow ( #41427 )
...
* already_setup->already_configured
* auth_error->invalid_auth
* rm default
* auth_timeout->oauth2_authorize_url_timeout
* enable auto format black
* add oauth2_missing_configuration
* Use standard helper keys
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-10-11 10:11:45 -05:00
Christian Bilevits
ae20b3a678
Use common strings in ps4 config flow ( #41623 )
2020-10-11 16:57:21 +02:00
scheric
1f4fe62380
Use common strings in twentemilieu config flow ( #41647 )
2020-10-11 14:54:08 +02:00
Christian Bilevits
1c4512bc40
Use common strings in Nest config flow ( #41597 )
2020-10-11 14:47:30 +02:00
Brian Rogers
899431235b
Bump rachiopy to 1.0.3 and update methods to handle changes ( #41398 )
2020-10-10 19:44:49 -05:00
Alexander Pitkin
85b01a9b80
Rewrite mhz19 unittest tests to pytest style tests ( #41441 )
...
* Rewrite mhz19 unittest tests to pytest style tests
* Move mhz19 tests imports
2020-10-10 13:05:08 +02:00
Ville Skyttä
66aa55dddf
Fix deCONZ IKEA TRÅDFRI device name spelling ( #41574 )
2020-10-10 13:04:00 +02:00
Gabe Cook
4b617db669
Add Ruckus Unleashed integration ( #40002 )
...
* Add Ruckus Unleashed integration
* Tweak catches to better rely on CoordinatorEntity error handling, rename LoginError to AuthenticationError
* Make router_update be a callback function
* Make name property return hint match the newer value
* Add entity to tracked set when restoring on boot
* Add a device's MAC to the attributes
2020-10-10 13:01:53 +02:00
Chris
de300ddd56
Clean up some of the ozw tests ( #41578 )
...
* Remove some unnecessary fixtures and combine csv dumps
2020-10-10 09:45:20 +02:00
Raman Gupta
025bdd74a1
Allow users to update their iCloud password when auth fails ( #39138 )
...
* Allow users to update their iCloud password when auth fails after successful setup
* remove trailing comma
* use new reauth source instead of custom one so frontend can do the right thing
* add quentames text suggestion with a slight tweak
* fix test
* use common string for successful reauth and remove creation and dismissal of persistent notification
* Update homeassistant/components/icloud/account.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-10-10 02:02:28 -04:00
epenet
843c4e27f3
Update Onewire SysBus integration to use a 3rd party library ( #40943 )
2020-10-09 17:31:05 +02:00
J. Nick Koston
3bb0e00abe
Update python_script tests to use async_add_executor_job ( #41553 )
2020-10-09 15:58:36 +02:00
J. Nick Koston
49e5b665cf
Convert final async_add_job to async_add_executor_job in logbook tests ( #41552 )
2020-10-09 15:52:06 +02:00
J. Nick Koston
61262222aa
Remove async_add_job from system_log tests ( #41551 )
2020-10-09 15:50:43 +02:00
definitio
0a1d9abe79
Use common strings in esphome config flow ( #41547 )
2020-10-09 14:28:54 +02:00
Dmitry
b106149588
Fix string parameter processing in parse_time_expression ( #41468 ) ( #41469 )
2020-10-09 11:48:49 +02:00
Raman Gupta
d3734aae9d
Allow custom_serializer to recognize cv.string and cv.boolean to make config schema more reusable ( #41532 )
2020-10-09 09:36:54 +02:00
J. Nick Koston
5ebf5996f1
Predetermine listener type for script change listeners ( #41510 )
2020-10-09 08:41:12 +02:00
J. Nick Koston
0b3bea0282
Use async_add_hass_job for debouncer ( #41449 )
2020-10-09 08:40:36 +02:00
J. Nick Koston
e03b3e2310
Restore group support to plant entities ( #41519 )
2020-10-09 08:37:27 +02:00
J. Nick Koston
68e1c70b14
Update history tests to use async_add_executor_job ( #41526 )
2020-10-09 08:36:59 +02:00
jan iversen
4d9ff13384
Fix bool registers in modbus integration ( #41506 )
...
When a register is of type bool modbus returns a whole byte, but ONLY the
lowest bit determine true/false.
2020-10-08 23:52:41 +02:00
Fredrik Erlandsson
f42eca3fcf
Add common strings in daikin config flow ( #41419 )
2020-10-08 21:25:54 +02:00
scheric
c2d0c90cd4
Use common strings in tellduslive config flow ( #41408 )
...
Co-authored-by: springstan <46536646+springstan@users.noreply.github.com>
2020-10-08 18:14:21 +02:00
scheric
5345e9fb5c
Use common strings in fritzbox config flow ( #41407 )
...
Co-authored-by: springstan <46536646+springstan@users.noreply.github.com>
2020-10-08 18:12:04 +02:00
jan iversen
9f3701bd32
Change modbus tests to use pytest.mark.parametrize ( #41486 )
2020-10-08 15:47:59 +02:00
scheric
a71049112e
Use common strings in Atag config flow ( #41351 )
2020-10-08 15:27:28 +02:00
jrester
734972f876
Update tesla_powerwall to 0.3.3 ( #41482 )
2020-10-08 08:26:44 -05:00
Erik Montnemery
35287828bc
Poll state when Tasmota device becomes available ( #41401 )
2020-10-08 11:17:23 +02:00
J. Nick Koston
4ab02cb9bc
Ensure recorder commit can retry after encountering invalid data ( #41426 )
2020-10-08 09:15:25 +02:00
On Freund
b5e57ed4fd
Support matching multiple user ids in event trigger ( #41036 )
2020-10-08 09:10:42 +02:00
Erik Montnemery
392d5c673a
Cache matching MQTT subscriptions ( #41433 )
2020-10-08 08:52:23 +02:00
J. Nick Koston
896f64d02b
Fix group tests when run in parallel ( #41446 )
2020-10-08 00:01:33 -05:00
J. Nick Koston
700e639ec6
Fix flapping pilight test ( #41447 )
2020-10-07 23:58:17 -05:00
scheric
3d9d90c4c8
Use common string names in ipp config flow ( #41409 )
...
* connection_error->cannot_connect
* connection_error->cannot_connect in config flow
2020-10-07 22:42:01 +02:00
Tom
b8f291d58e
Prepare Plugwise integration for USB products ( #41201 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-10-07 22:25:42 +02:00
Erik Montnemery
343e5d64b8
Add MQTT integration discovery ( #41332 )
...
* Add MQTT integration discovery
* Add script/hassfest/mqtt.py
* Unsubscribe if config entry exists
* Add homeassistant/generated/mqtt.py
* Fix bad loop
* Improve tests
* Improve tests
* Apply suggestions from code review
Co-authored-by: Fabian Affolter <mail@fabian-affolter.ch>
* Prevent initiating multiple config flows
Co-authored-by: Fabian Affolter <mail@fabian-affolter.ch>
2020-10-07 18:30:51 +02:00
Erik Montnemery
3f263d5cbe
Remove deprecated host & platform configuration for cast ( #41402 )
2020-10-07 18:01:34 +02:00
J. Nick Koston
9e1461da62
Determine how to run listeners at setup time instead of execution time ( #41304 )
2020-10-07 16:51:50 +02:00
J. Nick Koston
8d5c124deb
Improve performance of generating non-cryptographically secure uuids ( #41314 )
2020-10-07 16:37:01 +02:00
Martin Hjelmare
e006e0ddb3
Revert zoneminder config flow ( #41395 )
2020-10-07 16:28:49 +02:00
scheric
434c269f25
Add common strings in Agent dvr config flow ( #41279 )
2020-10-07 15:39:10 +02:00
J. Nick Koston
113d738fa2
Reduce orm overhead by grouping object expiration ( #41394 )
2020-10-07 15:35:48 +02:00
Dave T
d3bc4efa89
Use common strings in Awair ( #41313 )
...
* awair use common strings
* Use common strings: 'auth' to invalid_access_token
* Use reauth successful ref
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-10-07 15:17:10 +02:00
Erik Montnemery
306ee30574
Enable MQTT discovery by default ( #41361 )
2020-10-07 14:51:06 +02:00
SNoof85
b7c2e117be
Use reference strings in Alarmdecoder ( #41392 )
2020-10-07 14:46:17 +02:00
Erik Montnemery
6e84f91762
Add Tasmota binary sensor ( #41380 )
2020-10-07 14:41:30 +02:00
SNoof85
7c133e4630
Use reference strings in Smarthab ( #41391 )
2020-10-07 14:39:30 +02:00
SNoof85
04b04027c3
Use reference strings in Withings ( #41345 )
2020-10-07 11:22:11 +02:00
Alexander Pitkin
5b0282e56d
Rewrite panel_iframe unittest tests to pytest style tests ( #41368 )
2020-10-07 00:40:28 +02:00
Franck Nijhof
ee914366a8
Add native Python types support to templates ( #41227 )
...
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2020-10-07 00:05:52 +02:00
Robert Svensson
cbb4324c84
Refactor deCONZ tests ( #41362 )
...
* Use hass.config_entries.async_unload
* Return config_entry from setup_deconz_integration
2020-10-06 23:25:57 +02:00
Erik Montnemery
42fb0e9545
Bump hatasmota to 0.0.10, minor refactor of discovery ( #41331 )
...
* Bump hatasmota to 0.0.10, minor refactor of discovery
* Update tests
* Add missing docstrings
2020-10-06 22:32:36 +02:00
Shulyaka
9b947e08bf
Add ZHA Analog Input cluster for XBee ( #41311 )
...
* Add ZHA XBee Analog Input cluster
* Fix manufacturer to Digi
2020-10-06 16:01:51 -04:00
Ariana Hlavaty
1e9e40bf71
Rewrite recorder unittest tests to pytest style test function ( #41264 )
2020-10-06 21:24:13 +02:00
SNoof85
b8287d6db6
Use reference strings in Vesync ( #41341 )
...
* Update strings.json
* Update config_flow.py
* Update test_config_flow.py
2020-10-06 20:00:07 +02:00
SNoof85
ba81c0c043
Use reference strings in Upb ( #41340 )
...
* Update strings.json
* Update config_flow.py
* Update test_config_flow.py
2020-10-06 19:57:38 +02:00
scheric
6ab9d0bc31
add common strings ( #41350 )
2020-10-06 18:50:32 +02:00
Dave T
33e69fe4bf
Update axis to use common strings ( #41164 )
...
* Update axis to use common strings
* Update common str device_unavailable to cannot_connect
Co-authored-by: Robert Svensson <Kane610@users.noreply.github.com>
2020-10-06 16:54:18 +02:00
SNoof85
8b2df5bf99
Use reference strings in Smappee ( #41337 )
...
* Update strings.json
* Update strings.json
* Update config_flow.py
* Update test_config_flow.py
2020-10-06 16:51:36 +02:00
SNoof85
0460166c7c
Use reference strings in Synology_DSM ( #41333 )
...
* Update strings.json
* Update config_flow.py
* Update test_config_flow.py
2020-10-06 15:35:36 +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
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
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
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
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
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
sycx2
956b735be6
Improve yessssms test notify ( #41283 )
2020-10-06 10:11:36 +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
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
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
Bram Kragten
510e90803e
Exclude media_dirs from YAML config check ( #41299 )
2020-10-05 22:09:47 +02: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
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
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
SNoof85
8bae9b2124
Use reference strings in Tesla ( #41270 )
...
* Update strings.json
* Update config_flow.py
* Update test_config_flow.py
2020-10-05 16:41:16 +02:00
J. Nick Koston
4798f37c6e
Convert States to dicts via as_dict only once ( #41208 )
...
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-10-05 09:18:57 -05:00
SNoof85
b7ff0a5a49
Use reference strings in rainmachine ( #41216 )
2020-10-05 15:29:27 +02:00
J. Nick Koston
f50976a0b3
Switch to asyncio.wait for slow update warning implementation ( #41184 )
2020-10-05 15:28:15 +02:00
Diefferson Koderer Môro
dde465da48
Use common strings for Onvif config flow ( #41170 )
...
* Use common strings for Onvif config flow
* Fix tests
* Update homeassistant/components/onvif/strings.json
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-10-05 15:27:48 +02:00
SNoof85
c7027e2828
Use reference strings in Notion ( #41211 )
2020-10-05 15:13:37 +02:00
J. Nick Koston
20a136e2a1
Avoid event data serialization during recorder that we throw away ( #41217 )
...
We currently serialize the event data for state change events
and then replace it because we save the state in the states table.
Since the old state and new state are both contains in the event
the cost of serializing the data has a noticable impact when there
are many state changed events.
2020-10-05 15:08:47 +02:00
Diefferson Koderer Môro
44580b1c07
Use common strings for Flu Near You config flow ( #41174 )
2020-10-05 15:05:57 +02:00
J. Nick Koston
494d4a262a
Add Profiler integration ( #41175 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-10-05 07:57:07 -05:00
sycx2
e813d3ebf9
Improve template test sensor ( #41199 )
2020-10-05 14:52:31 +02:00
SNoof85
f679acd3fa
Use reference strings in Tesla ( #41238 )
2020-10-05 14:32:09 +02:00
Rob Bierbooms
5745e64cab
Rewrite zwave node entity tests to pytest style test function ( #41239 )
2020-10-05 14:29:15 +02:00
Franck Nijhof
d7f4cfbb65
Improve demo media player platform tests ( #41096 )
2020-10-05 14:04:02 +02:00
Paulus Schoutsen
8ae3f575dd
Add extended validation for script repeat/choose ( #41265 )
2020-10-05 14:03:48 +02:00
scheric
0a3db42d61
Use common strings in Ecobee config flow ( #41257 )
...
* Update common Strings
* one_instance_only -> single_instance_allowed
2020-10-05 13:53:11 +02:00
Paulus Schoutsen
fe2c16dc29
Allow any value when triggering on state attribute ( #41261 )
2020-10-05 12:53:12 +02:00
SNoof85
cf5c99d2a9
Use reference strings in Tuya ( #41236 )
2020-10-05 12:49:09 +02:00
zetvio
78b4c3981f
Use reference strings in Samsung TV config flow ( #41248 )
...
* Use reference strings in samsungtv config flow
* Adjust samsungtv config flow tests
2020-10-05 11:45:35 +02:00
Jeff H
a1f70e11ae
Fix slack message icon override ( #41212 )
...
* Fix slack message icon override
Allows overriding the icon for individual slack
messages using either an emoji or a URL.
* Run python3 -m script.gen_requirements_all
* Add period to first line
* Add support for python 3.7 testing
AsyncMock is only available from python 3.8+. Prior to this,
CoroutineMock is used which doesn't mock the method so it
needs to be done manually.
* Fix tests for python3.7 compatibility
The Python3.7 mock call object doesn't have the kwargs helper property.
* Update default emoji test docstring
2020-10-04 14:17:24 -07:00
Björn Olsson Jarl
e64b8774ec
Rewrite transport_nsw sensor tests to pytest tests ( #41169 )
...
* Improve transport_nsw sensor tests.
* patch fix.
2020-10-04 23:10:00 +02:00
J. Nick Koston
51da605b9f
Remove manual rate_limit control directive from templates ( #41225 )
...
Increase default rate limit for all states and entire
domain states to one minute
Ensure specifically referenced entities are excluded from
the rate limit
2020-10-04 22:40:04 +02:00
Oren
dd26ab6b4e
Rewrite threshold unittest tests to pytest style test functions ( #41141 )
...
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-10-04 21:38:21 +02:00
Paulus Schoutsen
e2921475e2
Fix flaky huawei test ( #41204 )
2020-10-04 15:24:07 +02:00
Rob Bierbooms
e97792adf0
Refactor dsmr tests ( #39724 )
2020-10-04 14:27:22 +02:00
Ronan Murray
fd065e7aea
Rewite Radarr tests as in pytest style for #40879 ( #41145 )
2020-10-04 14:08:08 +02:00
Ariana Hlavaty
27dd4ca9b3
Rewrite ring unittest test to pytest ( #41151 )
...
For: #40886
2020-10-04 14:05:49 +02:00
Claudio Catterina
6765d395f9
Rewrite aurora tests to pytest style ( #41144 )
2020-10-04 13:58:16 +02:00
Eliot Wong
9ff8f03322
Rewrite dte_energy_bridge unittest tests to pytest style test functions ( #41116 )
2020-10-04 13:50:03 +02:00
Franck Nijhof
346be6fc3f
Improve demo fan platform tests ( #41123 )
2020-10-04 13:49:13 +02:00
Eliot Wong
f7696fdb9f
Rewrite simulated unittest tests to pytest style test functions ( #41115 )
2020-10-04 13:48:47 +02:00
scheric
c3ef05a37e
Use common strings in Icloud config flow ( #41188 )
2020-10-04 13:32:53 +02:00
Abílio Costa
4aacc87425
Indentify IKEA and Phillips motion sensors correctly ( #41111 )
2020-10-03 19:52:21 -04:00
Guido Schmitz
daf3a29ae5
Use references in config flow of devolo_home_control ( #40949 )
2020-10-03 21:33:33 +02:00
J. Nick Koston
78dfaa72a2
Ensure lights added after group is created have the correct state ( #41034 )
2020-10-03 21:29:41 +02:00
Spartan-II-117
ed171a885b
Use common Strings for Acmeda Config Flow ( #41092 )
2020-10-03 21:29:30 +02:00
Franck Nijhof
38d132addd
Fix referenced entity extraction when service call entity contains a template ( #41107 )
2020-10-03 20:55:59 +02:00
springstan
f919646519
Use already configured key in harmony and mikrotik ( #41142 )
2020-10-03 18:17:24 +02:00
Daniel Hjelseth Høyer
4a1173c3de
Update met config string ( #41048 )
...
* update config string met
* typo
* config strings
2020-10-03 15:18:05 +02:00
groot406
20bacb6918
Use reference strings for Zoneminder config flow ( #41103 )
2020-10-03 15:02:30 +02:00
Spartan-II-117
3208670b61
Use common strings for Mikrotik config flow ( #41110 )
2020-10-03 14:39:18 +02:00
Jenny
8b30b6b312
Use reference strings for openweathermap ( #41055 )
2020-10-03 14:11:03 +02:00
Spartan-II-117
4c00ff98ea
Use common Strings for Ambiclimate config flow ( #41100 )
2020-10-03 13:43:34 +02:00
Julian Engelhardt
473afc4837
Rewrite SQL tests to pytest style ( #41016 )
...
* Remove unittests and common mock from SQL component tests
* Switch to async versions of setup_component and block_till_done
2020-10-03 03:42:50 +02:00
Melvin
414633a129
Use references in Neato translation strings ( #41009 )
...
* Replace unexpected_error with unknown key in Neato
* Replace string with reference
* Revert the specific language json files back to unexpected_error
* Use reference for already_configured
* Change invalid_credentials to invalid_auth key
* Use reference for invalid_auth
* Use invalid_auth in the neato test
* Replace abort.invalid_credentials with invalid_auth
2020-10-03 02:42:07 +02:00
Chris Talkington
3a266fa116
Rewrite season sensor tests to pytest style ( #40918 )
...
* Update test_sensor.py
* Update test_sensor.py
* Update test_sensor.py
* Update test_sensor.py
* Update test_sensor.py
* Update test_sensor.py
* Update test_sensor.py
* Update test_sensor.py
* fix tests.
* Update sensor.py
* Update test_sensor.py
* fix tests.
* Update sensor.py
* Update test_sensor.py
* Update test_sensor.py
* Update test_sensor.py
2020-10-03 02:24:29 +02:00
springstan
a2c3c33b22
Use core GitHub URL in all files ( #41089 )
2020-10-03 00:04:11 +02:00
SNoof85
005898a0d9
Use reference strings in Huawei LTE ( #41011 )
...
* Update strings.json
* Update config_flow.py
* Update test_config_flow.py
* Update strings.json
* Update strings.json
* Update config_flow.py
* Update test_config_flow.py
2020-10-02 22:43:57 +02:00
Maciej Bieniek
d3a0743fea
Use reference strings in Abode ( #41004 )
...
* Use translation references
* Suggested change
* Remove unused string
* Rename invalid_credentials key
* Fix invalid_auth in manifest.json file
2020-10-02 21:59:55 +02:00
SNoof85
f654834d34
Use reference strings in Totalconnect ( #41047 )
...
* Update strings.json
* Update config_flow.py
* Update test_config_flow.py
2020-10-02 21:45:49 +02:00
SNoof85
4ab479d48d
Use reference strings in Bsblan ( #41049 )
...
* Update strings.json
* Update config_flow.py
* Update test_config_flow.py
* Update strings.json
2020-10-02 21:43:13 +02:00
SNoof85
65611320d4
Use reference strings in Coolmaster ( #41066 )
...
* Update strings.json
* Update config_flow.py
* Update test_config_flow.py
2020-10-02 21:17:32 +02:00
SNoof85
6a821d6a64
Use reference strings in elgato ( #41063 )
...
* Update strings.json
* Update config_flow.py
* Update test_config_flow.py
2020-10-02 20:55:54 +02:00
SNoof85
d282694efe
Use reference strings in Dexcom ( #41072 )
...
* Update strings.json
* Update config_flow.py
* Update test_config_flow.py
2020-10-02 20:48:12 +02:00
Maciej Bieniek
bba0bb1bad
Fix the name of the translation key for Brother integration ( #41054 )
2020-10-02 15:06:28 +02:00
SNoof85
68aafd4d23
Use reference strings in Wled ( #40969 )
2020-10-02 12:08:22 +02:00
Robert Svensson
552856203b
Clean deCONZ tests to depend less on integration code ( #41015 )
2020-10-02 11:20:33 +02:00
J. Nick Koston
b1ba1a7134
Verify template sensors that reference other template sensors can reload ( #41031 )
2020-10-02 08:34:33 +02:00
Chris Talkington
afc388c55a
Improve patching for nzbget sensor tests ( #41032 )
2020-10-02 08:32:22 +02:00
Davey Chu
aba3cdc7b3
Use references in guardian strings.json ( #40987 )
2020-10-01 19:16:15 -06:00
J. Nick Koston
deedd41d62
Prevent template loop detection from triggering when all templates are self referencing ( #41013 )
2020-10-01 22:11:11 +02:00
Jason Rebelo
cad2304968
Rewrite remember_the_milk tests to pytest style tests ( #41002 )
...
* ✅ rewrite remember_the_milk tests to pytest tests
* ✅ rewrite reddit tests to pytest tests
* Revert "✅ rewrite reddit tests to pytest tests"
This reverts commit 7eae35f69a
.
Forgot to switch to a new branch 🙈
2020-10-01 21:55:04 +02:00
Davey Chu
4b225a87c5
Use references in airvisual strings.json ( #41005 )
2020-10-01 13:49:16 -06:00
J. Nick Koston
b45215f1d2
Implement template rate_limit directive ( #40667 )
2020-10-01 21:39:44 +02:00
springstan
c7ebfdb403
Use single_instance_allowed for webhook config flows ( #40965 )
2020-10-01 20:44:13 +02:00
jan iversen
639c864a76
Add test coverage for modbus switch (coil part) ( #40696 )
...
* Prepare test code for complex devices.
push entity_id to conftest, to make it common for all devices.
Add device to base_setup.
* Add test coverage for modbus switch (coil part).
* Update .coveragerc
* Update .coveragerc
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
2020-10-01 11:00:26 -05:00
tkdrob
6627ffff39
Clean up goalzero ( #40817 )
...
* cleanup goalzero code
* more cleanup
* mroe cleanup
* log defined exception to error
* return None if not configured
* return False if not configured
2020-10-01 16:15:24 +02:00
Simone Chemelli
7554c8d6c5
Add missing unit for signal strength ( #40436 )
...
* Added missing unit for signal strength
* Added one more unit
* Replaced string with variable
* Fixed wrong import
* Fix import
* Replaced string with variable
* Fixed wrong import
* Apply suggestions from code review
* Black
* Again a fix :-(
* iSort
* iSort after merge
Co-authored-by: springstan <46536646+springstan@users.noreply.github.com>
2020-10-01 16:14:29 +02:00
Paulus Schoutsen
fb3de7e3e6
Test reloading webhook trigger ( #40950 )
2020-10-01 13:06:22 +02:00
springstan
1b864aeccc
Use common strings in adguard config flow ( #40942 )
2020-10-01 12:56:55 +02:00
SNoof85
3195ce5d56
Use of reference strings for Airly config flow ( #40946 )
2020-10-01 12:28:32 +02:00
On Freund
04f87eedf5
Add context to event trigger ( #40932 )
2020-10-01 11:59:35 +02:00
SNoof85
0a700f7272
Common strings in Freebox config flow ( #40938 )
2020-10-01 11:31:43 +02:00
Franck Nijhof
22ba6e06fd
Use direct service calls in demo climate tests instead of climate common ( #40934 )
2020-10-01 11:22:30 +02:00
Chris Talkington
d93141c1a9
Use DataUpdateCoordinator for canary ( #40691 )
...
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2020-10-01 10:26:26 +02:00
J. Nick Koston
7285c7806f
Seperate state change tracking from async_track_template_result into async_track_state_change_filtered ( #40803 )
2020-10-01 10:19:20 +02:00
jjlawren
be9ff3bd66
Accept new Plex websocket callback payloads ( #40773 )
2020-10-01 09:57:45 +02:00
Robert Svensson
9116061262
Add lock support to deCONZ ( #40807 )
...
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-10-01 09:50:06 +02:00
Eliot Wong
95d228cace
Rewrite worldclock unittest tests to pytest style test functions ( #40922 )
2020-10-01 09:42:23 +02:00
Robert Svensson
2922d4675f
Abort deCONZ config flow if no radio hardware is connected ( #40811 )
2020-10-01 09:23:12 +02:00
Antetokounpo
df1e910ac7
Update weather tests to pytest style ( #40917 )
2020-10-01 09:14:48 +02:00
Eliot Wong
ad8ab183cb
Rewrite random unittest tests to pytest style test functions ( #40920 )
2020-10-01 09:05:44 +02:00
Rob Bierbooms
c5041b41c8
Implement config and option flow for rfxtrx integration ( #39117 )
...
* Create option flow for Rfxtrx integration (#37982 )
* Implement config flow for rfxtrx integration (#39299 )
* Add config flow
* Add strings
* Add first series of tests
* Add tests
* Adjust tests according review comments
* Adjust strings
* Add executor for testing connection
* Change ports to dict
* Fix pylint issue
* Adjust tests
* Migrate config entry for rfxtrx integration (#39528 )
* Add rfxtrx device connection validation when importing (#39582 )
* Implement import connection validation
* Fix binary sensor tests
* Move rfxtrx data
* Fix cover tests
* Fix test init
* Fix light tests
* Fix sensor tests
* Fix switch tests
* Refactor rfxtrx test data
* Fix strings
* Fix check
* Rework device string in test code
* Add option to delete multiple rfxtrx devices (#39625 )
* Opt to remove multiple devices
* Fix devices key
* Add tests (phase 1)
* Add tests (phase 2)
* Tweak remove devices test
* Implement device migration function in rfxtrx option flow (#39694 )
* Prompt option to replace device
* Revert unwanted changes
* Add replace device function
* WIP replace entities
* Remove device/entities and update config entry
* Fix styling
* Add info
* Add test
* Fix strings
* Refactor building migration map
* Allow migration for all device types
* Add test to migrate control device
* Fixup some names
* Fixup entry names in test code
* Bump pyRFXtrx to 0.26 and deprecate debug config key (#40679 )
* Create option flow for Rfxtrx integration (#37982 )
* Implement config flow for rfxtrx integration (#39299 )
* Add config flow
* Add strings
* Add first series of tests
* Add tests
* Adjust tests according review comments
* Adjust strings
* Add executor for testing connection
* Change ports to dict
* Fix pylint issue
* Adjust tests
* Migrate config entry for rfxtrx integration (#39528 )
* Add rfxtrx device connection validation when importing (#39582 )
* Implement import connection validation
* Fix binary sensor tests
* Move rfxtrx data
* Fix cover tests
* Fix test init
* Fix light tests
* Fix sensor tests
* Fix switch tests
* Refactor rfxtrx test data
* Fix strings
* Fix check
* Rework device string in test code
* Add option to delete multiple rfxtrx devices (#39625 )
* Opt to remove multiple devices
* Fix devices key
* Add tests (phase 1)
* Add tests (phase 2)
* Tweak remove devices test
* Implement device migration function in rfxtrx option flow (#39694 )
* Prompt option to replace device
* Revert unwanted changes
* Add replace device function
* WIP replace entities
* Remove device/entities and update config entry
* Fix styling
* Add info
* Add test
* Fix strings
* Refactor building migration map
* Allow migration for all device types
* Add test to migrate control device
* Fixup some names
* Fixup entry names in test code
* Bump version number
* Remove debug key from connect
* Remove debug option from config flow
* Remove debug from tests
* Fix event test
* Add cv.deprecated
* Fix test
* Fix config schema
* Add timeout on connection
* Rework config schema
* Fix schema...again
* Prevent creation of duplicate device in rfxtrx option flow (#40656 )
2020-10-01 08:55:57 +02:00
Chris
c693d8af14
Discover additional ozw thermostats lacking mode support ( #40799 )
...
* Discover more thermostats without mode support
* Add tests
2020-09-30 21:12:44 +02:00
Robert Svensson
9d56d3bb31
Add deCONZ service to clean up orphaned device and entity entries ( #40629 )
...
* Add service that can clean up by deCONZ orphaned entries from device and entity registry
* Fix existing tests
* Add new test
* Add some inline comment to the service
2020-09-30 20:11:41 +02:00
J. Nick Koston
2076fc59c4
Remove message and domain from logbook state_changed events ( #40070 )
...
These are now handled by the frontend as we move closer
to making the logbook localized.
2020-09-30 11:29:51 -05:00
J. Nick Koston
42ad36e9f8
Switch group to use None for the state unknown case ( #40792 )
2020-09-30 17:25:50 +02:00
MatthewFlamm
ab3909c24f
Disable hourly sensor by default in NWS ( #40566 )
2020-09-30 16:53:33 +02:00
J. Nick Koston
9ccebdb8d5
Refactor group to extend domains that can be grouped ( #40607 )
...
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-09-30 09:13:53 -05:00
Maikel Punie
30effb5c8a
Use common strings for velbus config flow ( #40660 )
2020-09-30 13:53:03 +02:00
Franck Nijhof
27350f41c9
Improve command_line switch tests ( #40749 )
2020-09-30 13:29:43 +02:00
Mike O'Driscoll
fc0344399b
Remove TekSavvy Component, no longer available ( #40762 )
...
The TekSavvy API has been removed.
Per [this forum post](https://community.teksavvy.com/discussion/comment/120 ) on TekSavvy's
support page.
2020-09-30 13:14:41 +02:00
J. Nick Koston
d9ba32dc3f
Setup recorder model relationships to avoid calling flush ( #40467 )
2020-09-30 13:11:43 +02:00
J. Nick Koston
aada6a1d88
Fix logbook with empty filter and remove unused code ( #40565 )
2020-09-30 13:10:11 +02:00
Franck Nijhof
4cce724473
Use direct service calls in flux tests instead of switch common ( #40704 )
2020-09-30 11:07:51 +02:00
Bram Kragten
c6f3352cf8
Use custom app to play camera stream using Google Assistant ( #40750 )
2020-09-30 10:33:56 +02:00
Samantha
a8b68dc4f9
Add Neighbors & Endpoint Names to zha/devices reply ( #40748 )
...
* Add Neighbors & Endpoint Names to zha/devices reply.
* Remove unused const
* Add tests & correct const name.
* Change tests to use corresponding enum device_type
2020-09-29 15:25:05 -04:00