Commit Graph

11085 Commits (7909cff957168101d3d7bddc9097a3bee9148283)

Author SHA1 Message Date
Allen Porter 0c9be604c2
Add diagnostics for rtsp_to_webrtc (#65138) 2022-01-28 09:07:41 -08:00
epenet d0d55db936
Add diagnostics support to onewire (#65131)
* Add diagnostics support to onewire

* Add tests

Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-28 19:00:47 +02:00
Nenad Bogojevic 1a878b4024
Use new withings oauth2 refresh token endpoint (#65134) 2022-01-28 08:48:16 -08:00
Robert Svensson da355438aa
Reconnect client service tried to connect even if device didn't exist (#65082) 2022-01-28 08:33:31 -08:00
Shay Levy efbbef5922
Fix Shelly detached switches automation triggers (#65059) 2022-01-28 08:30:44 -08:00
Paulus Schoutsen cf6b3fc810
Add support for proxy-selected intent (#65094) 2022-01-28 08:16:28 -08:00
Klaas Schoute 090a8a9439
Add diagnostics support to P1 Monitor (#65060)
* Add diagnostics to P1 Monitor

* Add test for diagnostics
2022-01-28 17:08:29 +02:00
Erik Montnemery dccc4eba76
Remove artifacts from black formatting (#65113)
* Remove artifacts from black formatting

* Tweak
2022-01-28 17:00:01 +02:00
Joakim Sørensen 0a2f57e4f8
Move netatmo dataclass registrations (#65052) 2022-01-28 10:51:32 +01:00
Marvin Wichmann 62584b4813
Add tests for KNX diagnostic and expose (#64938)
* Add test for KNX diagnostic

* Add test for KNX expose

* Apply review suggestions
2022-01-27 23:03:20 +01:00
Jc2k f49cfe866a
Support unpairing homekit accessories from homekit_controller (#65065) 2022-01-27 16:02:30 -06:00
epenet d706a7bbde
Update Renault to 0.1.7 (#65076)
* Update Renault to 0.1.7

* Adjust tests accordingly

Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-27 20:19:28 +01:00
Erik Montnemery 30fd902764
Correct zone state (#65040)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2022-01-27 10:01:09 -08:00
Jc2k a65694457a
Allow homekit_controller to set Ecobee's mode (#65032) 2022-01-27 11:02:38 -06:00
Patrik Lindgren 70321ed795
Add battery sensor for Tradfri blinds (#65067) 2022-01-27 17:47:47 +01:00
Chris Talkington e0d970c739
Update rokuecp to 0.12.0 (#65030) 2022-01-27 10:43:23 -06:00
Jc2k 603d0fb068
Allow homekit_controller to customise Ecobee home/sleep/away thresholds (#65036) 2022-01-27 10:41:53 -06:00
Jc2k 9799965c62
Better names for energy related homekit_controller sensors (#65055) 2022-01-27 10:08:26 -06:00
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
Erik Montnemery 94288886c3
Abort webhook flow when not connected to home assistant cloud (#64963) 2022-01-26 10:57:45 -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
Paulus Schoutsen 24546dfdf9
Catch all exceptions on import component/platform (#64930) 2022-01-25 20:39:32 -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
epenet 367521e369
Adjust pylint plugin to enforce device_tracker type hints (#64903)
* Adjust pylint plugin to enforce device_tracker type hints

* Use a constant for the type hint matchers

* Add tests

* Add x_of_y match

* Adjust bluetooth_tracker

* Adjust mysensors

* Adjust tile

Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-25 18:21:59 +01: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
Erik Montnemery 2caad1a474
Add support for converting to and from mmHg (#64844) 2022-01-24 22:57:56 +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