Commit Graph

33231 Commits (1444afbe5a0c2d023f4995ae366938e338233ee7)

Author SHA1 Message Date
tkdrob 1444afbe5a
Use core constants for vasttrafik (#46539) 2021-02-14 21:47:08 +01:00
J. Nick Koston c9df42b69a
Add support for pre-filtering events to the event bus (#46371) 2021-02-14 09:42:55 -10:00
Anders Melchiorsen f8f86fbe48
Do not trigger when template is true at startup (#46423) 2021-02-14 19:54:11 +01:00
jan iversen 855bd653b4
Update modbus test harness (#44892)
* Update test harness to allow discovery_info testing.

This is a needed update, before the whole config is converted
to the new structure, because it allows test of both the old
and new configuration style.

The following changes have been made:
- Combine test functions into a single base_test.
- Prepare for new mock by combining the 2 common test functions into one.
- Change mock to be only modbusHub
- Do not replace whole modbus class, but only the class that
  connects to pymodbus (modbusHub). This allows test of modbus
  configurations and not only component configurations, and is needed
  when testing discovery activated platform.
- Add test of climate.
  Warning this is merely test of discovery,
  the real cover tests still needs to be added.
- Add test of cover.
  Warning this is merely test of discovery,
  the real cover tests still needs to be added.

* Update comment for old config

* Do not use hass.data, but instead patch pymodbus library.

* Add test of configuration (old/new way as available).

* Move assert to test function.

Make assert more understandable by removing it from the helper.

add base_config_test (check just calls base_test) to make it clear if
test is wanted or just controlling the config.

* use setup_component to load Modbus since it is an integration.

* Optimized flow in test helper.
2021-02-14 17:40:30 +01:00
javicalle 9777608861
Add myself to RFLink codeowners (#46511) 2021-02-14 16:24:00 +01:00
Tom Parker-Shemilt 27d16af36b
Don't allow recursive secrets loading (#41812)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-02-14 14:23:31 +01:00
tkdrob a5a45f29e2
Cleanup unused loggers (#46510) 2021-02-14 13:46:58 +01:00
Allen Porter 10e88cd23d
Improve nest defense against broken event loop on shutdown (#46494) 2021-02-14 13:36:05 +01:00
kpine dfa973f9ef
Add barrier covers to zwave_js integration (#46379) 2021-02-14 13:24:29 +01:00
Andrey Kupreychik accba85e35
Add keenetic_ndms2 config flow (#38353) 2021-02-14 13:09:19 +01:00
tkdrob 2c3a2bd35e
Clean up template (#46509) 2021-02-14 12:16:30 +01:00
Khole 811e1cc3e6
Add hive hub 360 sensors (#46320) 2021-02-14 11:39:31 +01:00
tkdrob 3ea02e646d
Use core constants for trend (#46521) 2021-02-14 11:30:40 +01:00
tkdrob 294d3c6529
Use core constants for thethingsnetwork (#46520) 2021-02-14 11:28:55 +01:00
tkdrob 854504cccc
Use core constants for switcher_kis (#46507) 2021-02-14 10:21:53 +01:00
tkdrob c76758f775
Use core constants for temper (#46508) 2021-02-14 10:21:02 +01:00
MatthewFlamm 7a401d3d5d
Fix missing condition in nws (#46513) 2021-02-13 17:35:57 -10:00
J. Nick Koston 1845f69729
Update tuya for new fan entity model (#45870) 2021-02-13 16:23:19 -10:00
HomeAssistant Azure 17a4678906 [ci skip] Translation update 2021-02-14 00:06:28 +00:00
tkdrob dfe173d619
Use core constants for rmvtransport (#46502) 2021-02-13 18:22:28 -05:00
tkdrob 5db4d78dc7
Use core constants for rpi_rf (#46500) 2021-02-13 18:21:42 -05:00
tkdrob 84488b9c28
Use core constants for sma (#46501) 2021-02-13 18:21:15 -05:00
Franck Nijhof 7148071be8
Improve Elgato code quality (#46505) 2021-02-13 23:50:25 +01:00
Álvaro Fernández Rojas eecf07d7df
Add AEMET OpenData integration (#45074)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-02-13 21:53:28 +01:00
J. Nick Koston 2f40f44670
Update HAP-python to 3.3.0 for homekit (#46497)
Changes: https://github.com/ikalchev/HAP-python/compare/v3.2.0...v3.3.0
2021-02-13 20:30:55 +01:00
ollo69 f38b06ed6d
Add Asuswrt Config Flow and Scanner Entities (#46468)
* Add Asuswrt config flow (#43948)

* Add AsusWrt Scanner Entity (#44759)

* Add Scanner Entity

- device tracker entity changed from "DeviceScanner" to "ScannerEntity"
- sensors recoded to use "router" class
- config entry review to allow multiple entity (for future use)

* Force checks

* Removed new option and change sensors

* Update test_sensor.py

* Requested changes

* Removed router unique-id

* Update last_activity attr only when available

* Add Options for AsusWRT Scanner Entity (#44808)

* Add Asuswrt config flow (#43948)

* Add AsusWrt Scanner Entity (#44759)

* Add Scanner Entity

- device tracker entity changed from "DeviceScanner" to "ScannerEntity"
- sensors recoded to use "router" class
- config entry review to allow multiple entity (for future use)

* Force checks

* Removed new option and change sensors

* Update test_sensor.py

* Requested changes

* Removed router unique-id

* Update last_activity attr only when available

* Add Options for Scanner Entity

* Fix isort

* Removed "Track New" option

* Add Options for Scanner Entity

* Fix isort

* Removed "Track New" option

* Add test for all the options in the config flow
2021-02-13 19:17:06 +01:00
Shay Levy 6f261a09b0
Remove deprecated xfinity integration (#46484) 2021-02-13 14:07:55 +01:00
Shay Levy 52c5bc0a99
Remove deprecated Synology integration (#46482) 2021-02-13 13:23:40 +01:00
Franck Nijhof bc1daf1802
None optional hass typing in FlowHandler (#46462)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-02-13 13:21:37 +01:00
Rob Bierbooms 1244fb4152
Bump dsmr_parser to 0.28, configure keep_alive_interval (#46464) 2021-02-13 13:19:38 +01:00
tkdrob 13b881acfc
Use core constants for simplepush (#46465) 2021-02-13 13:07:11 +01:00
tkdrob 621c8e700b
Use core constants for starline (#46471) 2021-02-13 12:33:13 +01:00
Maciej Bieniek b8584cab5d
Remove unnecessary gethostbyname() from Shelly integration (#46483) 2021-02-13 12:27:54 +01:00
tkdrob 820a260252
Use core constants for homeassistant triggers (#46472) 2021-02-13 12:07:42 +01:00
tkdrob 2ecac6550f
Use core constants for dynalite (#46044) 2021-02-13 12:06:20 +01:00
On Freund 1a8cdba9af
Gracefully handle missing A/V info in Onkyo integration (#46228)
* Gracefully handle missing A/V info

* Do not attempt to query A/V info if unsupported

* Rename _parse_onkyo_tuple
2021-02-13 12:03:49 +01:00
HomeAssistant Azure 8bacfcec50 [ci skip] Translation update 2021-02-13 00:03:13 +00:00
tkdrob ae45d7dade
Use core constants for rflink (#46440) 2021-02-12 23:32:56 +01:00
tkdrob da4cb6d294
Use core constants for somfy (#46466) 2021-02-12 23:25:15 +01:00
J. Nick Koston bc8a52038b
Fix homekit migration not being awaited (#46460) 2021-02-12 08:45:19 -10:00
Franck Nijhof dd8d4471ec
Postponed evaluation of annotations for integrations (#46455) 2021-02-12 18:54:00 +01:00
Maciej Bieniek 061d9c5293
Bump brother library to version 0.2.1 (#46421) 2021-02-12 18:11:35 +01:00
Franck Nijhof 362a1cd9bd
Upgrade sentry-sdk to 0.20.1 (#46456) 2021-02-12 17:59:08 +01:00
Erik Montnemery f1714dd541
Make some Area and EntityRegistry member functions callbacks (#46433) 2021-02-12 17:00:35 +01:00
jan iversen 8418489345
Allow Modbus "old" config or discovery_info as configuration (#46445) 2021-02-12 16:33:18 +01:00
tkdrob f929aa222f
Use core constants for roomba (#46441) 2021-02-12 16:09:36 +01:00
Christophe Painchaud c3b460920e
Enable TCP KEEPALIVE to RFLink for dead connection detection (#46438)
RFLink compoment when used over TCP protocol suffers a major issue : it doesn't
know when connection is timeout or lost because there is no keepalive mechanism
so it can stay disconnected forever.
I wrote a small patch for the underlying 'python-rflink' library which will enable
TCP KEEPPAlive. On HASSIO side it will just add an optional argument in yml file
which will propagate to python-rflink caller.
2021-02-12 15:58:59 +01:00
David Dix a8beae3c51
Add apple tv remote delay command (#46301)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-02-12 14:58:01 +01:00
Robert Kingston 479ff92acb
Fix cmus remote disconnections (#40284)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-02-12 13:31:36 +01:00
Marcel van der Veldt b7dd9bf58f
Enhance platform discovery for zwave_js (#46355) 2021-02-12 13:29:11 +01:00