Commit Graph

9936 Commits (cf7148c3f82f4380e80916095146c3b1c0801e78)

Author SHA1 Message Date
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