1
0
mirror of https://github.com/home-assistant/core.git synced 2026-07-01 03:36:05 +01:00
Commit Graph

11026 Commits

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