Commit Graph

10096 Commits (f8a84f01017e206a828c24207aa88773a6680084)

Author SHA1 Message Date
J. Nick Koston 7112c5b52a
Use zeroconf for scanning in apple_tv (#64528) 2022-01-24 13:07:22 +01:00
Simone Chemelli 7884de3a31
Fix import for new AWS aiobotocore lib (#64769)
* Fix import for new AWS aiobotocore lib

* Fix patch for tests
2022-01-24 13:02:51 +01:00
Brandon Rothweiler b03ae66254
Add diagnostics to Mazda integration (#64606) 2022-01-24 12:41:58 +01:00
Michael 6874b49a39
Perform re-login after Fritzbox has rebooted (#64709) 2022-01-24 12:25:29 +01:00
Joakim Sørensen e272ab7a29
Use Etag in GitHub coordinator updates (#64449)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2022-01-24 12:08:22 +01:00
Aaron Bach f2a3f758af
Add diagnostics to RainMachine (#64788) 2022-01-24 11:10:42 +01:00
Joakim Sørensen 92fbf0ee09
Remove source and channel attributes from local version (#64827) 2022-01-24 11:07:16 +01:00
epenet aa9ccc7dfb
Add coordinator data to Renault diagnostics (#64783)
* Add coordinator data to renault diagnostics

* Adjust tests

* Adjust tests

* Add GPS coordinates to redacted information
2022-01-24 11:15:57 +02:00
Jc2k 5ac50a56b4
Make sensor name consistent with other homekit_controller entity names (#64821) 2022-01-23 22:42:55 -10:00
Shay Levy eb48748038
Add webostv 100% tests coverage for init (#64801) 2022-01-24 09:27:24 +02:00
J. Nick Koston 3b6bc6654f
Fix unexpected color mode switch in flux_led when brightness is near 0 (#64812)
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
2022-01-23 20:53:17 -10:00
Erik Montnemery 55ff1e9c1d
Revert "Allow setting entity options with config/entity_registry/update" (#64693) 2022-01-23 21:07:12 -08:00
Jc2k 32099ea38a
Easier identification of devices with homekit_controller (#64804) 2022-01-23 16:49:40 -10:00
Allen Porter ebaaa13759
Update nest climate and sensor test fixtures (#64800)
Update nest climate tests to use shared fixtures for component setup. Add an additional
fixture for creating devices shared between the climate and sensor tests.
2022-01-23 16:06:04 -08:00
Josh Soref 867392778e
spelling: components/coinbase (#64239)
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>
2022-01-23 15:40:04 -08:00
Franck Nijhof 22656f6082
Add diagnostics support to CPU Speed (#64745)
* Add diagnostics support to CPU Speed

* Fix copy pasta error
2022-01-24 01:36:51 +02:00
Franck Nijhof d8b6291806
Add diagnostics support to RDW (#64787) 2022-01-24 01:36:32 +02:00
Jc2k 4a0a4624ff
Allow homekit_controller to handle device registry entries for devices with poor serial numbers (#64749) 2022-01-23 13:00:05 -10:00
Chris Talkington e3900f0c0a
Add diagnostics support to roku (#64729) 2022-01-23 12:38:07 -10:00
J. Nick Koston 74c16b977d
Add support for preset modes to bond fans (#64786) 2022-01-23 12:33:31 -10:00
Robert Svensson 425911e850
Use whole config entry in deCONZ diagnostics (#64795) 2022-01-23 23:14:02 +01:00
Robert Svensson 7e20e555dd
Redact usernames in UniFi diagnostics (#64794) 2022-01-23 23:11:06 +01:00
Aaron Bach 02fe7fe897
Revert "Don't import from integration `.const` (#64608)" (#64793) 2022-01-23 23:10:48 +01:00
Jc2k fbe2b81cd4
Add diagnostics support for homekit_controller (#64773)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-01-23 11:56:09 -10:00
Robert Svensson 1b46575f29
Add diagnostics support to Axis integration (#64637)
* Add diagnostics support to Axis integration

* Remove system info

* Redact sensitive information

* Store whole config entry

* Redact username

* Apply suggestions from code review

Co-authored-by: Michael <35783820+mib1185@users.noreply.github.com>
2022-01-23 22:52:08 +01:00
Jc2k 061ee1b875
Add HUB_TEST_ACCESSORY_ID const for homekit_controller tests (#64750) 2022-01-23 11:51:55 -10:00
Brandon Rothweiler e564f4193f
Use friendly name instead of hostname in Tailscale integration (#64682) 2022-01-23 21:55:54 +01:00
Michael eda5cfc12d
Add option to select quality of camera snapshots taken from Synology DSM connected cameras (#58306) 2022-01-23 10:23:04 -10:00
Aaron Bach d2eda91588
Clean up RainMachine tests (#64785)
* Clean up RainMachine tests

* Remove old stuff
2022-01-23 13:17:07 -07:00
Andre Lengwenus d5ec2fe842
Add tests for LCN light platform (#64741) 2022-01-23 07:45:22 -10:00
Shay Levy 94a89d520b
Fix webostv sources import from YAML (#64768) 2022-01-23 18:23:29 +01:00
Allen Porter e74fe0e390
Enable Low Latency HLS (LL-HLS) by default to lower stream latency (#64643) 2022-01-23 15:38:29 +01:00
rforro 4e376181f5
Expose entity device temperature from cluster in ZHA (#64189)
* expose device temperature sensor in frontend

* fixes after runnig test

* specified device temp channel

* add dev temp int test device aqara water

* black fix
2022-01-23 09:37:01 -05:00
Robert Svensson 20072140c6
Add diagnostics support to UniFi Network integration (#64640)
* Add diagnostics support to UniFi Network integration

* Remove system info

* Add test data before trying to redact sensitive information

* Redact sensitive information from config_entry.data

* Redact a lot of different parts of the device descriptions
Redact mac addresses in such a way its possible to still view topology
2022-01-23 13:44:43 +01:00
Jan Bouwhuis efe5b0ca81
Add command template for MQTT button (#63838)
* Add command template for MQTT button

* Move CONF_COMMAND_TEMPLATE
2022-01-23 12:48:41 +01:00
Franck Nijhof 176f03d4ac
Allow toggles (switches) state to be None (#64621) 2022-01-23 11:31:01 +01:00
Robert Svensson 01fbc4257b
Redact possibly sensitive information in deCONZ diagnostics data (#64754) 2022-01-23 11:24:46 +01:00
Aaron Bach ccef4a7f9a
Clean up AirVisual config flow tests (#64714) 2022-01-23 10:19:52 +01:00
Aaron Bach c3ccc76eb1
Clean up Notion config tests (#64669) 2022-01-23 10:18:54 +01:00
Michael a56bfe012f
Enhancements for diagnostics platform (#64670) 2022-01-23 10:15:23 +01:00
Maciej Bieniek 2ed30ac361
Add diagnostics to NAM (#64743)
* Add diagnostics

* Fix tests
2022-01-23 00:17:32 -08:00
Franck Nijhof 6c54267f57
Add diagnostics support to Elgato (#64652) 2022-01-23 09:02:14 +01:00
Franck Nijhof 1bf58b37e9
Add diagnostics support to Sensor.Community (#64636) 2022-01-23 09:02:02 +01:00
Franck Nijhof 0af369d8f9
Add diagnostics support to Tailscale (#64649) 2022-01-23 09:01:44 +01:00
Allen Porter a5fb60fd3a
Update nest media player device thumbnails (#64738) 2022-01-22 23:46:00 -08:00
Robert Svensson 84b483673e
Remove system info from deCONZ diagnostics (#64704) 2022-01-23 07:43:07 +01:00
J. Nick Koston d5211c12b0
Fix flux_led reloading too quickly after an operating mode change (#64591) 2022-01-22 20:56:38 -08:00
Allen Porter cdf7742c3e
Refactor nest test_init_sdm tests to use fixtures with varied config types (#64736) 2022-01-22 20:56:03 -08:00
J. Nick Koston 15532c38d7
Add button platform to bond to replace custom services (#64725) 2022-01-22 20:52:00 -08:00
Aaron Bach 8e5a74d9e9
Add diagnostics to OpenUV (#64716) 2022-01-22 16:38:38 -08:00
Michael 1d2b9d2c63
Add diagnostics platform to Shelly (#64660)
* add config entry diagnostics

* add test

* make pylint happy

* add some device settings

* adjust tests

* add hass system info

* make sw_version be a property of wrapper classes

* remove hass sys info, since is added centraly

* check if device is initialized

* device_info is always available

* add device status data
2022-01-23 02:18:09 +02:00
Shay Levy 12780a3173
Add webostv 100% tests coverage for media player (#64723) 2022-01-22 14:06:48 -10:00
Aaron Bach 8badb1085c
Clean up OpenUV config flow tests (#64715)
* Clean up OpenUV config flow tests

* Code review
2022-01-22 16:52:25 -07:00
jjlawren a7982adc73
Discard duplicate sonos events (#64722)
* Throttle duplicate Sonos events

* Fix test by breaking reference
2022-01-23 00:40:08 +01:00
Andre Lengwenus 19e3c08c56
Add tests for LCN switch platform (#52590) 2022-01-22 10:41:25 -10:00
Chris Talkington 9639968a96
Refactor roku tests (#64498) 2022-01-22 10:31:34 -10:00
Franck Nijhof b4c5bcf44d
Add diagnostics support to PVOutput (#64625) 2022-01-22 13:47:07 +01:00
Kevin Van den Abeele 1b571db19d
Feature/voc olinc smart adapter vp3 power measurement (#64571) 2022-01-21 10:20:32 -10:00
Paulus Schoutsen c72c39e9a1
Some tweaks for media source (#64641) 2022-01-21 11:26:06 -08:00
Michael e0e6853968
Add diagnostics platform to AVM Fritz!Smarthome (#64657)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2022-01-21 11:25:19 -08:00
Paulus Schoutsen a827d91e3a
Add CO2signal diagnostics (#64646) 2022-01-21 20:20:59 +01:00
Paulus Schoutsen 3c250ecf43
Fix flaky upnp test (#64656) 2022-01-21 11:20:43 -08:00
Christopher Bailey 8fb4e0934e
Fix UniFi Protect test warning (#64650) 2022-01-21 09:00:35 -10:00
Paulus Schoutsen 3899600771
Add rainforest diagnostics (#64647) 2022-01-21 19:59:11 +01:00
Franck Nijhof e982df5199
Add DataUpdateCoordinator to Elgato (#64642) 2022-01-21 10:38:02 -08:00
Paulus Schoutsen 63f8e437ed
Add Home Assistant Content user (#64337) 2022-01-21 10:06:39 -08:00
Erik Montnemery b3cda6b681
Attempt to fix flaky nam test (#64613) 2022-01-21 09:44:05 -08:00
Erik Montnemery 3575009330
Store remote domain in Cloud preferences (#64532) 2022-01-21 09:42:34 -08:00
Erik Montnemery 07e10c645b
Attempt to fix flaky upnp test (#64617)
* Attempt to fix flaky upnp test

* Remove unused constant

* Correct test changes

* Correct test changes
2022-01-21 17:27:07 +01:00
Maciej Bieniek 9e2a8a5b09
Add diagnostics to Brother integration (#64478)
* Add diagnostics

* Suggested changes

* Fix tests
2022-01-21 17:23:42 +01:00
Franck Nijhof 4f4fca0d14
Add diagnostics support to TwenteMilieu (#64627) 2022-01-21 16:39:21 +01:00
Duco Sebel 53e9a2451e
Add switch platform to HomeWizard Energy (#64084)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2022-01-21 10:44:56 +01:00
Tobias Sauerwein aecb342fda
Update Netatmo diagnostics (#64610) 2022-01-21 10:26:18 +01:00
Franck Nijhof 1c94431efe
Handle WLED devices with CCT channels (#64581) 2022-01-21 09:19:50 +01:00
Aaron Bach d634a08361
Don't import from integration `.const` (#64608) 2022-01-20 23:25:08 -08:00
Aaron Bach 6bbe38578c
Add diagnostics to Elexa Guardian (#64599) 2022-01-21 00:12:36 -07:00
Aaron Bach d170faeffc
Add diagnostics to IQVIA (#64602) 2022-01-20 22:09:36 -08:00
Nick Whyte 3dd7ec6856
Add Aussie Broadband integration (#53552) 2022-01-20 19:34:25 -10:00
Aaron Bach 1f00ded33a
Clean up IQVIA config flow tests (#64601) 2022-01-20 21:45:32 -07:00
Aaron Bach aef8d9ee4d
Clean up Guardian config flow tests (#64598)
* Clean up Guardian config flow tests

* Docstring
2022-01-20 20:32:07 -07:00
Aaron Bach ff535053a9
Use return_value in Flu Near You config flow tests (#64596) 2022-01-20 19:37:05 -07:00
Aaron Bach b2811cff51
Clean up Flu Near You tests (#64575)
* Clean up Flu Near You tests

* Docstring

* More fixtures

* Revert "More fixtures"

This reverts commit 30f079b626.
2022-01-20 19:25:49 -07:00
jjlawren e7f0962979
Improve Sonos diagnostics (#64586) 2022-01-20 13:14:08 -10:00
Robert Svensson 11de453848
Add diagnostics to deCONZ integration (#64585) 2022-01-20 14:47:42 -08:00
Shay Levy 3d99e23399
Fix switcher_kis test sleep time patching (#64582) 2022-01-20 12:20:49 -10:00
Paulus Schoutsen 520ba0a82e
Introduce new redact helper (#64579) 2022-01-20 23:02:47 +01:00
Michael Chisholm c9e495607e
Ignore further ssdp:alive message if connection fails in dlna_dmr (#59891) 2022-01-20 11:23:23 -10:00
Paulus Schoutsen 7f2f135e13
Convert last media player tests to async (#64572) 2022-01-20 13:05:33 -08:00
Raman Gupta a420e9443c
Add version info to zwave js device diagnostics (#64573) 2022-01-20 12:55:47 -08:00
G Johansson 543064d7b7
Implement config flow dnsip (#62843) 2022-01-20 10:45:58 -10:00
epenet 9c11b0aa89
Add diagnostics to Renault integration (#64531)
* Add diagnostics to Renault

* Add diagnostic tests

* Add device diagnostics

* Include vehicle information in main diag

Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-20 21:32:28 +01:00
Shay Levy 62c55e6698
Fix atag slow tests (#64567)
* Fix atag slow tests

* Fix sleep fixture
2022-01-20 22:23:08 +02:00
Raman Gupta f622bf4ff2
Fix bug for zwave_js diagnostics (#64568) 2022-01-20 12:38:34 -05:00
Paulus Schoutsen 6803219133
Convert remaining image processing tests to async (#64506) 2022-01-20 18:00:58 +01:00
Paulus Schoutsen ddf548cd27
Convert remaining TTS tests to async (#64505)
* Convert remaining TTS tests to async

* Add block till done after setting up component
2022-01-20 17:58:19 +01:00
Daniel Hjelseth Høyer 549afff307
Tibber diagnostics (#64472)
Co-authored-by: Philip Allgaier <mail@spacegaier.de>
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
Co-authored-by: Franck Nijhof <git@frenck.dev>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-01-20 15:03:14 +01:00
Guido Schmitz 144371d843
Add siren platform to devolo Home Control (#53400)
* Rework mocking

* Add siren platform

* Rebase with dev

* React on change of default tone

* Fix linting error
2022-01-20 08:10:06 -05:00
Jan Bouwhuis 31a9d64572
Improve code coverage MQTT integration (#64546) 2022-01-20 13:51:19 +01:00
Franck Nijhof 8b8f750c41
Address after merge review comments on IntelliFire (#64553)
* Remove unneeded coordinator update method parameter

* Remove unused error

* Remove unused translation strings

* Remove leftover debug print from tests

* Improve tests

* Cleanup unused entry ID

* Typing completions
2022-01-20 13:48:24 +01:00
Joakim Sørensen 04c5e51cbd
Remove the deprecated discovery_info endpoint (#64534) 2022-01-20 13:46:48 +01:00
Robert Svensson 3258f66097
Expose deCONZ configuration url from discovered entry (#64519) 2022-01-20 13:46:22 +01:00
Shay Levy 92e0dc577e
Fix braviatv tests doing IO (#64549) 2022-01-20 12:28:52 +01:00
Raman Gupta 11d0dcf7ac
Add zwave_js device diagnostics (#64504)
* Add zwave_js device diagnostics

* Add diagnostics as a dependency in manifest

* Add failure scenario test

* fix device diagnostics helper and remove dependency

* tweak
2022-01-20 11:49:24 +01:00
Franck Nijhof 20a277c0ab
Replace whois library in Whois integration (#63227) 2022-01-20 11:21:58 +01:00
Allen Porter 86dbe068e7
Abort rtsp_to_webrtc config flow on error during add-on discovery (#64500) 2022-01-20 10:14:13 +01:00
Jeef f854fdb8fd
Add Intellifire Gas Fireplace integration (#63637)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
Co-authored-by: Mick Vleeshouwer <mick@imick.nl>
2022-01-20 10:01:04 +01:00
Robert Svensson 1551da33ac
Expose Axis device configuration url from discovered entry (#64517) 2022-01-20 09:47:02 +01:00
Allen Porter 09920f5303
Fix rtsp-to-webrtc bug in calling client library (#64502) 2022-01-20 09:44:04 +01:00
Robert Svensson 86d32b3440
Expose UniFi controller configuration url from discovered entry (#64514) 2022-01-20 09:34:54 +01:00
Allen Porter e56e25180b
Strip whitespace in nest cloud project id (#64503) 2022-01-20 09:13:49 +01:00
J. Nick Koston d53124910f
Add entity category support to HomeKit (#64492) 2022-01-19 21:48:50 -10:00
Paulus Schoutsen a3281f9bda
Drop slash from media source directories (#64499) 2022-01-19 22:36:47 -08:00
Raman Gupta 8b3fe0a2d9
Add support for device diagnostics (#64344)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-01-19 20:48:32 -08:00
Aaron Bach c9d7917491
Fix incorrect docstring in AirVisual test (#64496) 2022-01-19 17:36:10 -10:00
Aaron Bach a77dc55ca9
Add diagnostics to Ambient PWS (#64489) 2022-01-19 20:13:49 -07:00
Aaron Bach 31fe6d9592
Clean up Ambient PWS tests (#64486) 2022-01-19 17:03:53 -07:00
Tobias Sauerwein 801011863b
Add diagnostics to Netatmo integration (#64392) 2022-01-19 15:52:20 -08:00
Aaron Bach 05b8da11a3
Add diagnostics for the AirVisual integration (#64479)
* Add diagnostics for AirVisual config entries

* Tests

* More

* Tests

* Code review

* Fix tests
2022-01-19 15:28:18 -07:00
Franck Nijhof 944f2c9745
Add redacted constant in diagnostics (#64473) 2022-01-19 22:51:03 +01:00
Aaron Bach 4d72e41a3e
Perform some more AirVisual test cleanup (#64470)
* Perform some more AirVisual test cleanup

* Smarter startup patch

* Simplify
2022-01-19 14:32:52 -07:00
Josh Soref 53f8225f90
spelling: components/abode (#64263)
Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>
2022-01-19 21:06:26 +01:00
Joakim Sørensen 554e51017e
Adjust tests for removing github devices (#64448) 2022-01-19 20:30:57 +01:00
Aaron Bach 573e17472b
Clean up AirVisual tests (#64402)
* Simplify AirVisual tests

* First fixture

* More

* Fixture

* More
2022-01-19 11:52:24 -07:00
Alan Byrne a474c1e342
Signal messenger attachments as bytes support (#62311)
Co-authored-by: Alex <33379584+alexyao2015@users.noreply.github.com>
Co-authored-by: Ian Byrne <ian.byrne@burnsie.com.au>
2022-01-19 18:49:27 +01:00
Jeff Irion 1e9a0c0609
Fix the Android TV volume mute service (#64403)
* Fix the Android TV volume mute service

* Update homeassistant/components/androidtv/media_player.py

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

* assert mute_volume.called

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-01-19 18:55:46 +02:00
Regev Brody 6176bb954c
fix: 17track package summary status is not updated when there are no more packages in that summary (#64421)
* 17track package status is not updated when there are no packages

* 17track package status is not updated when there are no packages

* 17track package status is not updated when there are no packages
2022-01-19 17:35:20 +02:00
Renat Nurgaliyev d11f2b5151
Add HVAC modes of climate entities to Prometheus exporter (#62144) 2022-01-19 14:49:29 +01:00
Joakim Sørensen b46b32bafa
Add diagnostics to GitHub integration (#64385) 2022-01-19 13:41:02 +01:00
Florent Thoumie 7520a3fd01
Get rid of name collision in iaqualink tests (#63642) 2022-01-19 13:25:12 +01:00
Shay Levy e6c7c01e6c
Add webostv 100% tests coverage for notify (#64412)
* Add webostv 100% tests coverage for notify

* Apply review comments

* Fix assert
2022-01-19 13:13:55 +02:00
Joakim Sørensen b82a57d861
Clean up Launch Library consts (#64420) 2022-01-19 09:52:22 +01:00
Allen Porter f1435b1385
Add diagnostic information for nest (#64405)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
Co-authored-by: Franck Nijhof <git@frenck.dev>
2022-01-19 09:30:48 +01:00
Eric Severance 35cf6d7a7b
Use wemo enums in fan entity (#64397) 2022-01-18 22:13:25 -10:00
Raman Gupta fd465df016
Bump zwave-js-server-python to 0.34.0 (#64407) 2022-01-18 22:33:50 -08:00
Paulus Schoutsen a07c4bc468
Use async_create_task for microsoft_face tests (#64409) 2022-01-18 22:17:37 -08:00
J. Nick Koston 36e2617796
Ensure homekit options flow remembers excluded entities during edit (#64401) 2022-01-18 19:17:43 -10:00
Chris Talkington 1421797c50
Add camera play stream support to roku (#64153) 2022-01-18 22:43:22 -06:00
Paulus Schoutsen 08083f399e
Convert some tests to async and drop usage get_test_home_assistant (#64394)
* Fix some tests

* Update MS tests

* Convert last logbook tests to async
2022-01-18 19:37:17 -08:00
J. Nick Koston 3c7005d4dc
Use unifi direct connect w/ssl verify for unifiprotect when possible (#64395) 2022-01-18 14:40:55 -10:00
J. Nick Koston 8aec26d105
Cleanup unifiprotect discovery name (#64389) 2022-01-18 12:38:16 -10:00
Franck Nijhof 9e33a3014c
Automatically add entry title as name placeholder in reauth (#64078) 2022-01-18 14:18:16 -08:00
Paulus Schoutsen 7943b0ff5e
Remove http dependency from system log (#64386) 2022-01-18 14:10:14 -08:00
Erik Montnemery a8c14835b9
Add entity options to entity registry (#64350)
* Initial commit for entity options

* Tweak broadlink tests

* Add async_update_entity_options + test
2022-01-18 22:47:46 +01:00
Joakim Sørensen 13fe5d8216
Add device registry cleanup to github (#64380) 2022-01-18 22:37:33 +01:00
Matthias Alphart 29baad8848
Update xknx to 0.19.0 (#64379) 2022-01-18 21:38:13 +01:00
Paulus Schoutsen 4cd222e70a
Add evil genius labs diagnostics (#64339) 2022-01-18 21:02:37 +01:00
Joakim Sørensen 6a0c3843e5
Revamp github integration (#64190)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
Co-authored-by: Franck Nijhof <git@frenck.dev>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-01-18 20:04:01 +01:00
starkillerOG 37caa22a36
Netgear try all ports (#64170)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2022-01-18 11:02:43 -08:00
J. Nick Koston 88261c6c14
Add discovery support to unifiprotect (#64340) 2022-01-18 08:40:29 -10:00
Martin Hjelmare ef1e56dfe1
Fix media player image url password logged (#64293) 2022-01-17 23:02:02 -08:00
Erik Montnemery 9718fd2534
Enable Alexa state reporting by default (#63802) 2022-01-17 23:01:43 -08:00
Raman Gupta c3fc7becb6
Add zwave_js support for diagnostics (#64336) 2022-01-17 22:00:53 -08:00
Paulus Schoutsen 6055cd20c8
Add diagnostics integration (#64330) 2022-01-17 20:42:18 -08:00
G Johansson a334e0c7b9
Exception handling config flow yale_smart_alarm (#63623) 2022-01-17 19:29:55 -08:00
Josh Soref eda806ca12
spelling: components/airly (#64266)
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>
2022-01-17 19:22:11 -08:00
Robert Svensson deed5f327c
Add low battery binary sensor to deCONZ integration (#64168)
* Make tamper sensor a property sensor

* Add low battery binary sensor as a binary property sensor

* Change according to review comment

* Use value_fn lambda

* Fix comparison

* Specific entity_description typing

* Minimize the code block affected by catching AttributeError

* Update homeassistant/components/deconz/binary_sensor.py

Co-authored-by: Franck Nijhof <frenck@frenck.nl>

* Update homeassistant/components/deconz/binary_sensor.py

Co-authored-by: Franck Nijhof <frenck@frenck.nl>

* Avoid try statement

* Reflect review changes in sensor platform as well

* Store known sensor entities once per device

Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2022-01-17 22:35:20 +01:00
Jc2k f0fdd7d650
Finish deduplicating homekit_controller enumeration tests (#64306) 2022-01-17 10:44:59 -10:00
Robert Svensson 7e40707288
Add Air Quality PPB sensor to deCONZ integration (#64164)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2022-01-17 20:25:55 +01:00
Shay Levy a2e1cd2632
Add webostv 100% tests cover for triggers (#64301) 2022-01-17 18:33:46 +01:00
Erik Montnemery e6899416e1
Suppress Alexa state reports when not authorized (#64064) 2022-01-17 09:14:26 -08:00
Josh Soref efddace53a
spelling: components/analytics (#64268)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>
2022-01-17 17:36:59 +01:00
Erik Montnemery ff9bea9fa9
Add changed states device trigger to media_player entity (#64304) 2022-01-17 17:27:56 +01:00
Erik Montnemery 513d6cc467
Change value of device_automation constant (#64296)
* Change value of constant CONF_CHANGED_STATES

* Adjust tests
2022-01-17 16:34:40 +01:00
Josh Soref ab73d7c347
spelling: components/camera (#64242)
Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>
2022-01-17 16:27:39 +01:00
Josh Soref fb8c7c58b6
spelling: components/climacell (#64240)
Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>
2022-01-17 15:39:43 +01:00
Josh Soref c99ddcb80a
spelling: components/fritzbox (#64258)
Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>
2022-01-17 15:31:48 +01:00
Josh Soref 2a7c808d38
spelling: components/ecobee (#64255)
Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>
2022-01-17 15:28:45 +01:00
Josh Soref 3f43df1348
spelling: components/androidtv (#64267)
Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>
2022-01-17 15:28:28 +01:00
Josh Soref 54128b5765
spelling: components/airvisual (#64265)
Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>
2022-01-17 15:27:28 +01:00
Josh Soref b72c393dc7
spelling: components/apns (#64269)
Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>
2022-01-17 15:26:21 +01:00
Josh Soref 7a7b2a839b
spelling: components/balboa (#64270)
Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>
2022-01-17 15:26:06 +01:00
Josh Soref aa57b29615
spelling: components/devolo_home_network (#64243)
Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>
2022-01-17 15:25:48 +01:00
Josh Soref ace5918208
spelling: components/accuweather (#64264)
Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>
2022-01-17 15:19:24 +01:00
Josh Soref 85bafbbc21
spelling: components/brother (#64273)
Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>
2022-01-17 15:15:45 +01:00
Josh Soref 80b367b446
spelling: components/blueprint (#64271)
Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>
2022-01-17 15:10:12 +01:00
Erik Montnemery c109d59862
Fix comments in Alexa (#64289) 2022-01-17 14:22:04 +01:00
Josh Soref 9eb447c16f
spelling: components/bond (#64272)
Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>
2022-01-17 11:58:52 +01:00
Eric Severance 8459a28489
WeMo state changes are seen by all coordinator entities (#64228)
* WeMo push update is seen by all coordinator entities

* Rename _wemo_exception_handler -> _wemo_call_wrapper

* Test turning off the entity

* Test setting light brightness

* Improve brightness test

* It is unnecessary to setup the platform integration

* Use domain names, not platform enum, in service calls
2022-01-17 10:03:24 +01:00
epenet b9d3bb4cfd
Fix tests and add setup type in feedreader (#64280)
* Fix feedreader tests

* Cleanup

* Add setup type hints

Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-17 09:42:00 +01:00
Li-Huai (Allan) Lin 64d0b89ca1
Fix humidifier state error in HomeKit (#61432)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-01-16 19:03:54 -10:00
Chris Talkington 3303ad38fe
Add sensor platform to roku (#64214) 2022-01-16 20:39:18 -06:00
G Johansson 3cfa2bb6fe
Cleanup code config flow smhi (#64197) 2022-01-16 15:32:16 -10:00
Franck Nijhof 423674c0c9
Register MAC connection for Elgato devices (#64201)
* Register MAC connection for Elgato devices

* Add tests, fix name
2022-01-16 22:18:46 +01:00
Shay Levy 32d4f104ff
Enable strict typing in webostv (#64193)
* Enable strict typing in webostv

Enable strict typing in webostv

* Apply review comments
2022-01-16 22:07:29 +01:00
J. Nick Koston 3d7572843e
Add switch platform to nexia (#64205) 2022-01-16 09:38:29 -10:00
Jc2k 99481e2258
Refactor homekit_controller tests to reduce duplication. (#64198) 2022-01-16 18:43:44 +00:00
Raman Gupta 9bb78af79c
Ignore unavailable entities when creating zwave_js device actions list (#64184)
* Fix bug with zwave-js device actions

* outdent

* Add test and fix bug

* fix
2022-01-16 13:22:18 +01:00
Allen Porter 849abaca8b
Bump google-nest-sdm to 1.5.0 and add nest mp4 clip transcoding to animated gif (#64155) 2022-01-15 12:31:02 -08:00
Brandon Rothweiler bc17616720
Add electric vehicle sensors to Mazda integration (#64099) 2022-01-15 09:05:06 -10:00
G Johansson 6750614655
Set unique id for config entry in smhi (#63547) 2022-01-15 09:01:48 -10:00
starkillerOG 759b6fd9b2
Fix changed port on Netgear R7000 (#64012)
* fix changed port on Netgear R7000

* fix styling

* update tests
2022-01-15 18:01:23 +01:00
Patrik Lindgren e87fb6fc09
Add test cases for Tradfri sensor platform (#64165)
* Add tests for Tradfri sensor platform

* Update docstring
2022-01-15 15:53:03 +01:00
Patrik Lindgren c2181aa5fc
Add test cases for Tradfri switch platform (#64156)
* Add tests for the switch platform

* Fix typo

* Typos
2022-01-15 12:27:42 +01:00
Patrik Lindgren 66f1ac025d
Add test cases for Tradfri fan platform (#64135)
* Add test cases for Tradfri fan platform

* Remove line
2022-01-15 11:34:19 +01:00
Shay Levy c0b1d083b8
Use dataclass properties in webostv discovery (#64159) 2022-01-15 11:10:04 +01:00
Chris Talkington 533d0e4444
Add play media URL support to roku (#64021) 2022-01-15 01:49:33 -06:00
Christopher Bailey f4b5b56427
Fix package camera snapshot (#64145) 2022-01-14 13:38:01 -10:00
J. Nick Koston 8f8ea5b102
Add energy and additional sensors to oncue (#64097)
- The genset total energy can now be added to the energy dashboard
2022-01-15 00:36:29 +01:00
J. Nick Koston b273c37d2b
Fix flux_led turn on when brightness is zero on newer devices (#64129) 2022-01-14 15:14:02 -08:00
Shay Levy dee843bf6e
Add LG webOS Smart TV config flow support (#64117)
* Add webOS Smart TV config flow support (#53256)

* Add Webostv config flow

* Fix tests mocks and apply review comments

* Apply review comments

* Change config flow to use ssdp UDN as unique_id

* Fix device info

* More review comments

* Fix _async_check_configured_entry

* Remove turn on script

* Add webOS Smart TV device triggers (#53752)

* Add webOS Smart TV config flow support (#53256)

* Add Webostv config flow

* Fix tests mocks and apply review comments

* Apply review comments

* Change config flow to use ssdp UDN as unique_id

* Fix device info

* More review comments

* Fix _async_check_configured_entry

* Remove turn on script

* Add webOS Smart TV device triggers (#53752)

* Fix webOS Smart TV mypy and pylint errors (#62620)

* Change webOS Smart TV PyPi aiopylgtv package to bscpylgtv (#62633)

* Change webOS Smart TV PyPi aiopylgtv package to bscpylgtv

* Update bscpylgtv to 0.2.8 (revised websockets requirment)

* Change webOS Smart TV PyPi package to aiowebostv (#63759)

* Change webOS Smart TV PyPi package to aiowebostv

* Apply suggestions from code review

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

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

* webOS TV check UUID for user added device (#63817)

* webOS TV check uuid when for user added device

* Apply suggestions from code review

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

* Add test for form abort and host update

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

* Rework webOS Smart TV device trigger to custom trigger platform (#63950)

* Rework webOS Smart TV device trigger to custom trigger platform

* Review comments and add tests

* Fix webOS TV import from YAML (#63996)

* Fix webOS TV import from YAML

* Fix requirements

* Migrate YAML entities unique id to UUID

* Add backoff to migration task delay

* Assert result data and unique_id

* Apply suggestions from code review

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

* Add codeowner

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-01-14 22:48:45 +01:00
Rob Bierbooms efe34c8d13
Cleanups in Twinkly code (#64139)
* Cleanup Twinkly code

* Add codeowner'

* Change const names
2022-01-14 22:07:15 +01:00
Patrik Lindgren 03defdc922
Add test cases for Tradfri cover platform (#64072)
* Add test cases for Tradfri cover

* Simplify test

* Fix typo

* Fix typos

* Update tests/components/tradfri/test_cover.py

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

* Fix

* Remove unused function

* Move common tools to separate file

* Simplify parametrization

* Use int

* Remove loop

* Use context manager

* Simplify

* Update docstring

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-01-14 19:40:14 +01:00
Duco Sebel 19c65abaa6
Fix initial HomeWizard integration issues (#63921)
* Use helper for setup and unload

* Set mutable object in __init__

* Move logic out of try..except

* Print stack trace on error in config flow

* Don't catch broad except in update_coordinator, already handled

* Fix typo

* Combine available with super.available()

* Fix issues with config_flow test

* Test coordiantor indirectly

* Test coordinator by moving time forward

* set utcnow beforehand and increase timedelta

* Roll back f658749

* Rolled back the rollback and fixed timing

* Move setting time after adding to hass
2022-01-14 19:28:24 +01:00
Franck Nijhof b1848cd2f4
Modernize Elgato tests (#64060) 2022-01-14 17:16:59 +01:00
Marc Mueller b17860a7dd
Upgrade boto3 to 1.20.24 + aiobotocore to 2.1.0 (#64045) 2022-01-14 17:10:09 +01:00
epenet 2c0033254b
Import cloud (#64116)
* Add type hints to cloud

* Import cloud

* Adjust smartthings tests

Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-14 16:35:35 +01:00
epenet e492cb5156
Import webhook in netatmo (#64105)
* Import webhook in netatmo

* Adjust tests

Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-14 13:01:14 +01:00
Erik Montnemery 537dfbca18
Rename cloud's AlexaConfig to CloudAlexaConfig (#64065)
* Rename cloud's AlexaConfig to CloudAlexaConfig

* Tweak
2022-01-14 11:09:39 +01:00
Allen Porter 64c5f69c3d
Add thumbnails to nest media player (#62532) 2022-01-13 22:31:33 -08:00
Patrik Lindgren b52a8ba37a
Bump pytradfri to 8.0.1 and fix fan preset mode "Auto" bug (#63920)
* Move util functions

* Fix errors

* Revert changes

* Fix tests

* Use self.async_set_percentage()

* Fix calculation functions and associated tests

* Handle case of 0

* Update tests/components/tradfri/test_util.py

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

* Update tests/components/tradfri/test_util.py

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

* Update tests/components/tradfri/test_util.py

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

* Handle case of 0

* Update homeassistant/components/tradfri/fan.py

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

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-01-14 04:01:24 +01:00
ollo69 a978661545
Address late review of Minor AndroidTV config flow (#64088)
* Minor changes for AndroidTV config flow

* Add mark.parametrize to media_player tests
2022-01-14 02:05:35 +01:00
Raman Gupta 867f8237e9
Remove attributes from vizio state when they don't make sense (#64025)
* Remove attributes from vizio state when they don't make sense

* rename var
2022-01-13 20:59:55 +01:00
Erik Montnemery abce453b5c
Remove Windows workarounds from wake_on_lan (#64070) 2022-01-13 20:42:30 +01:00
Erik Montnemery be628a7c4d
Keep track of Alexa authorization status (#63979) 2022-01-13 09:47:31 -08:00
Rob Bierbooms 49a32c398c
Add support for setting RGB and RGBW values for Twinkly lights (#62337)
* Change library to ttls

* Add rgbw support

* Add client session to config flow

* Fix config flow

* Adjust tests 1

* Fix more tests

* Fix last tests

* Add new tests

* Update test for coverage

* Update test for coverage 2

* Update test for coverage 3

* Change brightness to attribute

* Set RGBW mode only when available

* Add RGB support
2022-01-13 18:44:27 +01:00
Petro31 5f9a351889
Remove warnings from compensation (#63691) 2022-01-13 18:33:02 +01:00
Zac West 2df8ab865f
Allow name-only location updates for mobile_app device_tracker (#62243) 2022-01-13 09:30:36 -08:00
J. Nick Koston 06fd75be7e
Ensure august status is current when integration loads (#64027) 2022-01-13 18:26:47 +01:00
epenet c8043eccc9
Fix yamaha discovery (#64056)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-13 15:32:39 +01:00
Franck Nijhof 754e291e1e
Remove unused serial number config entry data from Elgato (#64035) 2022-01-13 13:17:16 +01:00
Erik Montnemery 6ffe04b788
Remove constant DEFAULT_CONFIG from alexa tests (#64031) 2022-01-13 11:35:16 +01:00
Erik Montnemery b196064540
Import persistent notification (part 5) (#63902) 2022-01-13 08:45:30 +01:00
Robert Svensson bc7624b417
Fix UniFi remove client service if time stamps are not integers (#63998)
* Only calculate total time if first and last seen are ints, else remove client

* Update homeassistant/components/unifi/services.py

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

* Update homeassistant/components/unifi/services.py

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2022-01-13 08:15:40 +01:00
Christopher Bailey 20768172b1
Improve UniFi Protect Smart Sensor support (#64019)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-01-12 17:54:22 -10:00
Chris Talkington 4b11a4365b
Add content deeplinking support to roku (#64010) 2022-01-12 20:07:11 -06:00
J. Nick Koston 7fc1306898
Ensure flux_led is reloaded when the ICtype is changed (#64016) 2022-01-12 15:57:12 -10:00
Robert Svensson 59cea56e17
Fix reconnect rather than reauth when both HA and UniFi controller restarts at the same time (#63994) 2022-01-12 15:08:04 -08:00
J. Nick Koston d3f980d402
Convert siri requests for target heating cooling state auto to a valid mode (#60220) 2022-01-12 15:06:09 -08:00
J. Nick Koston 1c6ca908d1
Add support for changing the white strip type to flux_led (#63943) 2022-01-12 15:03:09 -08:00
J. Nick Koston 5622db10b1
Fix HomeKit reporting/setting colors when white values are present (#63948) 2022-01-12 14:58:25 -08:00
J. Nick Koston 1019156899
Fix homekit options being mutated during config_flow/migration (#64003) 2022-01-12 14:56:24 -08:00
Christopher Bailey f034ea5b4b
Enable package camera by default for UniFi Protect (#63985) 2022-01-12 11:27:41 -10:00
Christopher Bailey 6473069be1
Add Chime Type select for UniFi Protect (#63993) 2022-01-12 08:55:44 -10:00
Franck Nijhof f93d999260
Revert "Weather units: climacell (1.3/4) (#61472)" (#63842)
This reverts commit 48057e1dfb.
2022-01-12 08:58:33 -08:00
Franck Nijhof 28d49e69c1
Expose WLED configuration URL of discovered device (#63983)
* Expose WLED configuration URL of discovered device

* Add test
2022-01-12 08:57:15 -08:00
Robert Svensson e37456fb36
Move DPI Group logic to UniFi switch platform (#58761)
* Library has normalized management of DPI apps and groups, move logic to UniFi integration

* Bump dependency to v29

* Use a generator instead of a list - Pylint

* Minor improvements

* Improve doc strings
2022-01-12 17:11:05 +01:00
epenet b71a22557d
Use Platform enum in load_platform [tests] (#63904)
* Use Platform enum in numato tests

* Use Platform enum in discovery tests

* Adjust load_platform argument

Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-12 15:07:30 +01:00
Marc Mueller d057850971
Update typing - collections.abc (3) (#63947) 2022-01-12 08:04:17 +01:00
Allen Porter 789c0a24dd
Improve nest media player clip/image and event handling for multiple events in a short time range (#63149) 2022-01-11 20:54:49 -08:00
Christopher Bailey ce0b378e05
Removes ThumbnailProxyView (#63940) 2022-01-11 13:45:40 -10:00
Christopher Bailey 05ee5e0251
Simplify UniFi Protect service setup/cleanup (#63908)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-01-11 23:37:47 +01:00
J. Nick Koston 259975c116
Add already_configured coverage to oncue (#63919) 2022-01-11 21:44:44 +01:00
Marc Mueller ef7316d8d9
Update typing (5) [tests] (#63926) 2022-01-11 21:28:13 +01:00
Franck Nijhof 20bdcc7fff
Replace hass.helpers: async_get_clientsession() (#63910) 2022-01-11 17:33:50 +01:00
epenet c6416955c6
Add type hints to setup_scanner (#63825)
* Add type hints to setup_scanner

* Fix aprs tests

* Revert "Add type hints to setup_scanner"

This reverts commit 3e8b295484.

* Revert "Fix aprs tests"

This reverts commit 854b37aee8.

* Add type hints to setup_scanner

* Fix aprs tests

Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-11 17:29:04 +01:00
Erik Montnemery 6eb0447566
Import websocket_api (part 3) (#63907) 2022-01-11 17:26:37 +01:00
Jan Bouwhuis aa73e5bd72
Fix MQTT climate optimistic preset modes (#63463)
* Always publish when preset_mode is set

* Revert "Fixed isort error"

This reverts commit 1a3c5e6460.

* isort
2022-01-11 17:08:26 +01:00
Erik Montnemery a672dc3437
Import persistent notification (part 4) (#63901) 2022-01-11 16:57:40 +01:00
Stefan Agner 0a9927d18e
Avoid locking the database for non-SQLite backends (#63847)
* Avoid locking the database for non-SQLite backends

Currently we only have a lock implementation for SQLite. Just return
success for all other databases as they are not expected to store data
in the config directory and the caller can assume that a backup can
be safely taken.

This fixes `RuntimeError: generator didn't yield` errors when creating
a backup with the current Supervisor dev builds.
2022-01-11 16:17:56 +01:00
Erik Montnemery 13abac101b
Drop legacy support for sensor sum statistics (#63884) 2022-01-11 13:59:08 +01:00