Commit Graph

30274 Commits (4798f37c6e05a40d0fa50cbe37f8aee149ab7707)

Author SHA1 Message Date
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
TopdRob 2f54bf29ba
Use reference strings in HomematicIP Cloud #40578 (#41243)
Co-authored-by: scheric <38077357+scheric@users.noreply.github.com>
2020-10-05 15:30:39 +02: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 2763ace2bc
Use reference strings in Tradfri (#41237) 2020-10-05 14:35:59 +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
Spartan-II-117 c02d9050b7
Use common Strings for Z-Wave config flow (#41161)
* Use common Strings for Z-Wave config flow

* Update strings.json

* Update config_flow.py
2020-10-05 14:26:06 +02:00
J. Nick Koston 15ade1232e
Setup geo_location to only track the geo_location domain (#41254)
The trigger was watching for all states
2020-10-05 14:25:41 +02:00
TopdRob c3eb56c592
Use common strings for Lutron Caseta config flow (#41241) 2020-10-05 14:23:34 +02:00
Diefferson Koderer Môro def9c98c9b
Use common strings for GDACS config flow (#41178)
* Use common strings for GDACS config flow

* Fix ci

* Update test_config_flow.py
2020-10-05 14:21:00 +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
Dave T 5f695e789b
Axis remove orphan string (#41166) 2020-10-05 13:27:12 +02:00
Paulus Schoutsen fe2c16dc29
Allow any value when triggering on state attribute (#41261) 2020-10-05 12:53:12 +02:00
springstan 038c05d0ee
Return attribute dict directly without temporary variable (#41206) 2020-10-05 12:51:48 +02:00
SNoof85 cf5c99d2a9
Use reference strings in Tuya (#41236) 2020-10-05 12:49:09 +02:00
SNoof85 d6fff02b11
Use reference strings in pvpc_hourly_pricing (#41214) 2020-10-05 12:22:29 +02:00
zetvio 979346f1ce
Use references in blebox config flow (#41244) 2020-10-05 11:48:44 +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
Ville Skyttä 56f0a68c49
Add and fix some Huawei LTE type hints (#41196) 2020-10-05 11:21:48 +02:00
Raman Gupta baef8b033a
Bump apprise version to avoid sync in async issues (#41253) 2020-10-05 10:24:18 +02:00
SNoof85 f145a8c8d1
Use reference strings in Myq (#41209) 2020-10-04 19:16:23 -05:00
SNoof85 116dd7ddf4
Use reference strings in Nuheat (#41213) 2020-10-04 19:15:14 -05:00
HomeAssistant Azure 8d1d585b40 [ci skip] Translation update 2020-10-05 00:04:23 +00:00
springstan 6102d05306
Remove unnecessary should poll from light classes (#41229) 2020-10-04 23:28:25 +02:00
springstan b1ff69d9a3
Remove unnecessary should poll from cover classes (#41231) 2020-10-04 23:26:33 +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
Nikolai 27c3ce16c3
Fix spelling in telegram_bot services (#41235) 2020-10-04 22:52:02 +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
springstan e75557c1f5
Remove unnecessary should poll from binary sensor classes (#41221) 2020-10-04 22:11:46 +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
springstan f47d58d9c2
Remove unnecessary should poll from sensor classes (#41219)
* Remove unnecessary should poll from sensor classes

* Remove two more occurrences
2020-10-04 21:35:59 +02:00
springstan e51be33e18
Remove unnecessary should poll from switch classes (#41218) 2020-10-04 21:31:02 +02:00
springstan f17089e46e
Remove unnecessary should poll from camera classes (#41228) 2020-10-04 21:26:59 +02:00
springstan 228e167b03
Remove unnecessary should poll from media player classes (#41220) 2020-10-04 21:26:09 +02:00
SNoof85 b8ed9fb4c0
Use reference strings in Nexia (#41210) 2020-10-04 15:38:52 +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