Commit Graph

10157 Commits (334a8ab13f706268221c611102be564063b15a2e)

Author SHA1 Message Date
alim4r ca469750ac
Prometheus tests simulate entities (#64916) 2022-01-27 15:56:12 +01:00
Patrik Lindgren 9d404b749a
Implement coordinator class for Tradfri integration (#64166)
* Initial commit coordinator

* More coordinator implementation

* More coordinator implementation

* Allow integration reload

* Move API calls to try/catch block

* Move back fixture

* Remove coordinator test file

* Ensure unchanged file

* Ensure unchanged conftest.py file

* Remove coordinator key check

* Apply suggestions from code review

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

* Import RequestError

* Move async_setup_platforms to end of setup_entry

* Remove centralised handling of device data and device controllers

* Remove platform_type argument

* Remove exception

* Remove the correct exception

* Refactor coordinator error handling

* Apply suggestions from code review

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

* Remove platform type from base class

* Remove timeout context manager

* Refactor exception callback

* Simplify starting device observation

* Update test

* Move observe start into update method

* Remove await self.coordinator.async_request_refresh()

* Refactor cover.py

* Uncomment const.py

* Add back extra_state_attributes

* Update homeassistant/components/tradfri/coordinator.py

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

* Refactor switch platform

* Expose switch state

* Refactor sensor platform

* Put back accidentally deleted code

* Add set_hub_available

* Apply suggestions from code review

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

* Fix tests for fan platform

* Update homeassistant/components/tradfri/base_class.py

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

* Update homeassistant/components/tradfri/base_class.py

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

* Fix non-working tests

* Refresh sensor state

* Remove commented line

* Add group coordinator

* Add groups during setup

* Refactor light platform

* Fix tests

* Move outside of try...except

* Remove error handler

* Remove unneeded methods

* Update sensor

* Update .coveragerc

* Move signal

* Add signals for groups

* Fix signal

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-01-27 11:12:52 +01:00
Jan Bouwhuis 0cabf3e577
Fix MQTT climate action null warnings (#64658) 2022-01-27 08:41:27 +01:00
Jesse Hills cb2f5b5ed5
Add diagnostics download to ESPHome (#65008) 2022-01-26 14:35:41 -08:00
Erik Montnemery 67838518ab
Abort owntracks config flow when not connected to home assistant cloud (#64968) 2022-01-26 11:07:34 -08:00
Erik Montnemery 664be84121
Abort plaato flows when not connected to home assistant cloud (#64969) 2022-01-26 11:07:26 -08:00
jjlawren e17f1ea577
Support Plex in Sonos media browser (#64951)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-01-26 10:40:47 -08:00
Erik Montnemery 07563f4fd2
Disable google_assistant local SDK if SSL is enabled (#64983) 2022-01-26 18:55:30 +01:00
Erik Montnemery 9ff49e9c3a
Change zone's state to be number of person entities in the zone (#64910)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-01-26 09:00:43 -08:00
Simone Chemelli 3f12ce06af
Add detailed status for UptimeRobot (#64879)
Co-authored-by: Joakim Sørensen <hi@ludeeus.dev>
2022-01-26 16:48:15 +01:00
Joakim Sørensen eb5c6076af
Check for empty release array (#64973) 2022-01-26 16:31:21 +01:00
Christopher Bailey e203efa8b1
Fix custom message for UniFi Protect doorbell select (#64971) 2022-01-26 05:14:40 -10:00
Aaron Bach e9a71231c2
Add diagnostics to WattTime (#64887) 2022-01-26 15:48:38 +01:00
Erik Montnemery f92e8ab931
Drop owntracks import flow (#64967) 2022-01-26 15:47:37 +01:00
tokenize47 2f30fdb9b8
Add solax config flow (#56620) 2022-01-26 10:58:06 +01:00
Simone Chemelli 4f8831f8f6
Cleanup tests for AWS (#64943) 2022-01-26 10:34:33 +01:00
Paulus Schoutsen 9cbdd36082
Expose if HTTP is configured for SSL (#64940) 2022-01-26 09:34:48 +01:00
Aaron Bach 149cd8e319
Add diagnostics to Ridwell (#64863) 2022-01-25 20:23:45 -10:00
Aaron Bach 2471ddaec6
Add diagnostics to Tile (#64875) 2022-01-25 20:20:11 -10:00
Marvin Wichmann 072f7d5611
Add support for TCP tunneling connections to KNX (#64928) 2022-01-26 06:36:07 +01:00
jjlawren cdad1a9f27
Use local Sonos API for Plex music playback (#63357) 2022-01-25 21:10:11 -08:00
Mick Vleeshouwer 5bd96a35f9
Add reauth flow to Overkiz integration (#64622) 2022-01-25 13:00:58 -10:00
jjlawren 34d0f2ffd7
Add "Recommended" and radio station support to Plex media browser (#64057) 2022-01-25 13:02:23 -08:00
Franck Nijhof 2e1ac711fb
Add Elgato hw version to device info (#64922) 2022-01-25 20:29:18 +01:00
J. Nick Koston e28b5aee77
Add dhcp discovery to senseme (#64894) 2022-01-25 19:07:17 +01:00
Etienne G dfb7ab5c30
Add zeroconf to overkiz integration (#64907)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-01-25 07:50:40 -10:00
Franck Nijhof 02d81374f8
Add full test coverage to Whois (#64899) 2022-01-25 18:33:53 +01:00
Christopher Bailey 7bc2419054
Add lock support for unifiprotect Doorlock (#64882)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-01-25 07:31:17 -10:00
Erik Montnemery 037621b796
Update _TrackStateChangeFiltered entity listener with new entities (#64909) 2022-01-25 18:19:12 +01:00
Robert Svensson 55d3de3411
Add binary sensor for smoke alarm test state (#64873) 2022-01-25 17:46:31 +01:00
alim4r 3e0e9e54bf
Fix duplicate metrics in prometheus (#61355)
* Fix duplicate metrics in prometheus

* Fix duplicate prometheus metrics for entities with multiple labelsets
- Move friendly_name detection to state_changed event
- Add additional test case

* Add review suggestions for prometheus friendly name update

* Remove commented out code in prometheus

* Update prometheus tests for deleted metrics

* Add review suggestions for prometheus
- Remove unnecessary firendly_name check in handle_entity_registry_updated
- Add assert in test
2022-01-25 08:05:52 -08:00
Tom Brien 51a04585e7
Add diagnostics for Coinbase (#64900)
Co-authored-by: Joakim Sørensen <hi@ludeeus.dev>
2022-01-25 15:58:35 +01:00
Joakim Sørensen 1093a2b808
Add diagnostics to UptimeRobot (#64905) 2022-01-25 14:49:27 +01:00
Per Öberg 81000db713
Add support for DS2760 1-Wire TypeK Thermocouple (#63222)
* Add support for DS2760 1-Wire TypeK Thermocouple

* Add test mockup sensor for DS2760 to tests

* Add support for changing of thermocouple type through override_key

* Fix broken test for DS2760 Thermocouple

* Remove unnecessary test-attribute for DS2760 Thermocouple

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2022-01-25 13:53:37 +01:00
Erik Montnemery 7b8bbc37df
Include entity_id in Alexa state report error log (#64898) 2022-01-25 11:11:06 +01:00
Simone Chemelli d9e6ce00e0
Fix extra data for AWS sns service (#64771)
* Fix extra data for ANS sns service

* Add test

* apply review comments
2022-01-25 10:46:04 +01:00
jjlawren ec88897d04
Add event statistics to Sonos diagnostics (#64845) 2022-01-24 22:52:40 -10:00
Aaron Bach 19b7454161
Clean up WattTime config flow tests (#64885) 2022-01-25 08:58:20 +01:00
Franck Nijhof ed924325e3
Add init tests for Whois (#64862) 2022-01-25 08:53:34 +01:00
Robert Svensson 046f0a706f
Add outlets to UniFi switch platform (#64859)
* Add outlets to UniFi switch platform

* Outlet shouldn't have entity category set
2022-01-25 07:49:02 +01:00
Aaron Bach f5e51ad5f6
Remove unused fixture in RainMachine config flow test (#64881) 2022-01-24 18:39:18 -07:00
Christopher Bailey 6cb9f0df2a
Add basic Doorlock support for UniFi protect (#64877) 2022-01-24 14:22:52 -10:00
Aaron Bach 4f7dd821a5
Clean up Ridwell config flow tests (#64858) 2022-01-24 23:12:18 +01:00
Aaron Bach c3ecf426d0
Clean up Tile config flow tests (#64866) 2022-01-24 23:06:44 +01:00
J. Nick Koston 0ca38c0928
Avoid creating bond stop action button when there are no other buttons (#64869) 2022-01-24 23:03:52 +01:00
Jc2k 24ee4256b9
Add additional energy sensors to Eve Energy (#64826) 2022-01-24 07:46:45 -10:00
J. Nick Koston d1d33f0dc5
Fix bond buttons where an argument is required (#64781) 2022-01-24 07:41:23 -10:00
Mick Vleeshouwer 654bd7dd1f
Improve tests for Overkiz config flow (#64624) 2022-01-24 18:23:16 +01:00
Chris Talkington 3e29fe5a67
Allow roku to browse and play local media (#64799) 2022-01-24 08:34:09 -08:00
Aaron Bach 3a978fc244
Clean up post-merge review comments (#64842)
* Clean up post-merge diagnostics PRs

* Trigger Build

* Linting
2022-01-24 08:46:22 -07:00
Erik Montnemery 5622e45980
Render icon and picture templates at setup (#64838) 2022-01-24 16:40:50 +01:00
Aaron Bach 620991fef8
Add diagnostics to ReCollect Waste (#64814) 2022-01-24 08:18:22 -07:00
Aaron Bach 224d0d80b2
Add diagnostics to Flu Near You (#64597) 2022-01-24 08:16:26 -07:00
Aaron Bach b54722952c
Add diagnostics to Notion (#64713) 2022-01-24 08:15:45 -07:00
Aaron Bach 5b8f6d1b9a
Clean up ReCollect Waste config flow tests (#64813)
* Clean up ReCollect Waste config flow tests

* Use fixture
2022-01-24 15:51:30 +01:00
Erik Montnemery 321f54494e
Teach TemplateEntity entity name (#62175)
* Teach TemplateEntity entity name

* Remove default name from number and select config schemas

* Re-add default name to number and select config schemas

* Set name to None if name template fails to render

* Update template button
2022-01-24 15:44:05 +01:00
Ryan Steckler b541e91885
Fix units not being pulled from source sensor (#63639) 2022-01-24 15:15:34 +01:00
Robert Svensson a15bdbbc4a
UniFi events aren't reliable for device tracker usage, use last_seen instead (#64147) 2022-01-24 15:11:33 +01:00
Eric Severance 5f2fd1b0e6
Add a reboot button for ONVIF devices (#61522) 2022-01-24 15:07:06 +01:00
Robert Svensson 597fca9072
Make UniFi bandwidth sensors be about current transfer rather than total transfer (#64701) 2022-01-24 13:50:54 +01:00
Shay Levy 6ed60d2b32
Clean up webostv tests (#64833) 2022-01-24 13:36:07 +01:00
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