Commit Graph

32958 Commits (31709b92ac980a491359c931a12bf4b414b49d76)

Author SHA1 Message Date
Joakim Sørensen 11ad1589fa
Use .json.txt for diagnostics download filetype (#65236) 2022-01-30 13:09:36 -08:00
Ville Skyttä 872bc456a9
Clean up no longer needed Python 3.8 support code (#65231)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-01-30 15:07:07 -06:00
Shay Levy 9825111c8d
Fix webostv live TV source missing when configuring sources (#65243) 2022-01-30 22:05:30 +01:00
josephnad 75b37bee3d
Add homekit_controller support for ecobee vendor extensions (#60914)
Co-authored-by: josephnad <>
2022-01-30 15:02:47 -06:00
Dave T 0acfc7bbab
Align config flow type hints to scaffold (#65157) 2022-01-30 20:26:28 +01:00
LJU dbbd239b80
Fix typo’s ISS (#65228)
Fix typo’s
2022-01-30 18:54:19 +01:00
J. Nick Koston 1d5a052df1
Fix debugpy blocking the event loop at startup (#65252) 2022-01-30 18:08:37 +01:00
GitHub Action 77ef86faee [ci skip] Translation update 2022-01-30 00:14:21 +00:00
Shay Levy caa5578134
Fix webostv configure sources when selected source is missing (#65195)
* Fix webostv configure sources when selected source is missing

* Add comment for filtering duplicates
2022-01-30 00:15:49 +01:00
Robert Svensson 30440cd1ba
Add logic to avoid creating the same scene multiple times (#65207) 2022-01-30 01:11:28 +02:00
Patrik Lindgren 3ca1b2fc6e
Add air quality sensor for Tradfri air purifier (#65070)
* Add air quality sensor for Tradfri fan platform

* Refactor, use entity description

* Fix typo

* CHange init docstring

* Let lambda handle special case

* Remove unique id

* Apply suggestions from code review

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

* Refactor to constants, add mixin

* Rename lambda

* Update homeassistant/components/tradfri/sensor.py

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

* Update homeassistant/components/tradfri/sensor.py

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

* Update homeassistant/components/tradfri/sensor.py

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

* Replace lambda with function

* Refactor device init

* Remove fixture scope

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-01-29 23:55:05 +01:00
Aaron Bach cc6b0cc843
Ensure diagnostics redaction can handle lists of lists (#65170)
* Ensure diagnostics redaction can handle lists of lists

* Code review

* Update homeassistant/components/diagnostics/util.py

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

* Code review

* Typing

* Revert "Typing"

This reverts commit 8a57f772ca.

* New typing attempt

* Revert "New typing attempt"

This reverts commit e26e4aae69.

* Fix typing

* Fix typing again

* Add tests

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2022-01-29 13:30:15 -07:00
Erik Montnemery d770a54881
Minor refactoring of cast media_player (#65125) 2022-01-29 16:13:59 +01:00
Robert Hillis 4a042e7d73
Bump pyefergy to 22.1.1 (#65156)
* Bump pyefergy to 22.1.0

* uno mas

* uno mas

* uno mas
2022-01-29 16:01:00 +02:00
Robert Svensson c25431750e
Bump dependency to v31 which makes has_relay more robust (#65180) 2022-01-29 15:34:14 +02:00
Marvin Wichmann 98aa69fdaf
Fix KNX Expose for strings longer than 14 bytes (#63026)
* Fix KNX Expose for too long strings

* Fix tests

* Catch exception and avoid error during config entry setup for exposures

* Properly catch exceptions in knx expose

* Fix pylint

* Fix CI

* Add test for conversion error
2022-01-29 14:32:12 +01:00
starkillerOG 8bd7519ea5
Aqara restore door sensor state on start (#65128)
* restore door sensor state on start

* fix import

* fix issues

* also fix Natgas, WaterLeak and Smoke sensors

* remove unnesesary async_schedule_update_ha_state
2022-01-29 14:01:46 +01:00
Simon Hansen 049fc8a945
Add config flow to ISS integration (#64987)
* Initial commit

* Wrong flowhandler name

* Add config flow tests

* Tests for config flow

* ...

* Add test for no coordinates

* ...

* Update homeassistant/components/iss/config_flow.py

Co-authored-by: Shay Levy <levyshay1@gmail.com>

* Update homeassistant/components/iss/config_flow.py

* Update homeassistant/components/iss/binary_sensor.py

Co-authored-by: Shay Levy <levyshay1@gmail.com>

* Add myself as codeowner

Co-authored-by: Shay Levy <levyshay1@gmail.com>
2022-01-29 11:41:26 +02:00
Simone Chemelli 3cde472e43
Fix status for Fritz device tracker (#65152) 2022-01-28 21:14:51 -08:00
J. Nick Koston e85e91bdb0
Fix uncaught exception during isy994 dhcp discovery with ignored entry (#65165) 2022-01-28 21:14:30 -08:00
J. Nick Koston 0e6c554b70
Add additional blink OUIs to DHCP discovery (#65162) 2022-01-28 21:14:08 -08:00
J. Nick Koston 4d0dbeb2b5
Add additional roomba OUIs to DHCP discovery (#65161) 2022-01-28 21:13:54 -08:00
J. Nick Koston f585777e56
Add dhcp discovery to oncue (#65160) 2022-01-28 21:13:41 -08:00
J. Nick Koston de36e96481
Add OUI for KL430 tplink light strip to discovery (#65159) 2022-01-28 21:13:28 -08:00
Franck Nijhof 16db8e0802
Fix setting speed of Tuya fan (#65155) 2022-01-28 21:05:53 -08:00
J. Nick Koston 0755310258
Add loggers to zeroconf (#65168)
- The original PR excluded all zeroconf deps, and I forget to add it back
2022-01-28 20:21:05 -08:00
GitHub Action 5e62ff95b9 [ci skip] Translation update 2022-01-29 00:13:03 +00:00
Simone Chemelli 36427fe76c
Fix excepton for SamsungTV getting device info (#65151) 2022-01-28 23:57:12 +02:00
J. Nick Koston 5b755b74fb
Add loggers to integration manifest.json (#65083) 2022-01-28 13:37:53 -08:00
Allen Porter 956ceb6c68
Update nest diagnostics (#65141) 2022-01-28 21:50:38 +01:00
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
Simone Chemelli f369cef32f
Handle FritzInternalError exception for Fritz (#65124) 2022-01-28 08:32:46 -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
Allen Porter 444a681729
Bump google-nest-sdm to 1.6.0 (diagnostics) (#65135) 2022-01-28 18:09:08 +02: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
starkillerOG 0b02870489
Goodwe - fix value errors (#65121) 2022-01-28 16:54:19 +02:00
Hans Oischinger a9cc35d6b6
Handle vicare I/O in executor (#65105)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-01-28 12:06:05 +01:00
Erik Montnemery c470733feb
Fix cast support for browsing local media source (#65115) 2022-01-28 11:38:09 +01:00
Thibaut 65fb6f26f1
Check explicitly for None value in Overkiz integration (#65045) 2022-01-28 10:58:42 +01:00
Joakim Sørensen 0a2f57e4f8
Move netatmo dataclass registrations (#65052) 2022-01-28 10:51:32 +01:00
J. Nick Koston de7f1e793a
Downgrade homekit linked humidity sensor error to debug (#65098)
Fixes #65015
2022-01-28 10:38:13 +02:00
Shay Levy 631c4bf10f
Fix Shelly 1/1PM external temperature sensor unavailable (#65096) 2022-01-27 22:33:12 -08:00
GitHub Action e591393f01 [ci skip] Translation update 2022-01-28 00:14:53 +00: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
G Johansson e92078cf50
Fix Yale optionsflow (#65072) 2022-01-27 21:01:30 +01:00
dougiteixeira 696b930b1c
Complementing the Tuya Curtain (cl) category (#65023)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2022-01-27 20:41:13 +01:00
Paulus Schoutsen 8cf1109775
Bump frontend to 20220127.0 (#65075) 2022-01-27 11:22:53 -08: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
jjlawren 5a4eeaed56
Guard browsing Spotify if setup failed (#65074)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2022-01-27 11:10:19 -08:00
Hans Oischinger f8f8262963
Update PyVicare to 2.16.1 (#65073) 2022-01-27 19:41:50 +01:00
Simon Hansen c5787a5422
Fix typo in entity name for launchlibrary (#65048) 2022-01-27 10:02:10 -08:00
Erik Montnemery 30fd902764
Correct zone state (#65040)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2022-01-27 10:01:09 -08:00
Erik Montnemery 176eae701a
Unset Alexa authorized flag in additional case (#65044) 2022-01-27 09:59:58 -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
Martin Hjelmare 3d461e9e1f
Fix notify leaving zone blueprint (#65056) 2022-01-27 17:37:40 +01:00
Jc2k 9799965c62
Better names for energy related homekit_controller sensors (#65055) 2022-01-27 10:08:26 -06:00
Marc Mueller 3a45168b97
Improve proximity typing (#65053)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-01-27 17:05:08 +01:00
Marc Mueller c3967dec10
Fix vera typing (#65051) 2022-01-27 17:00:30 +01:00
Duco Sebel 4f3ce27560
Add `flow_title` for HomeWizard Energy (#65047) 2022-01-27 14:30:31 +01:00
Arjan van Balken f4ed28ab09
Update Arris TG2492LG dependency to 1.2.1 (#64999) 2022-01-27 11:48:37 +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
Paulus Schoutsen 3daaed1056
Catch connection reset error (#65027) 2022-01-27 11:02:27 +01:00
Shay Levy fa62e7e142
Fix Shelly battery powered devices unavailable (#65031) 2022-01-27 11:00:38 +01:00
Joakim Sørensen b086c8d898
Set ping data to None instead of False (#65013) 2022-01-27 10:03:45 +01:00
Jan Bouwhuis 0cabf3e577
Fix MQTT climate action null warnings (#64658) 2022-01-27 08:41:27 +01:00
J. Nick Koston 2325cacb04
Bump flux_led to fix push updates on newer devices (#65011) 2022-01-26 20:50:20 -08:00
Brandon Rothweiler dc1db463fc
Bump pymazda to 0.3.2 (#65025) 2022-01-26 21:40:53 -06:00
GitHub Action dd4e5bb9c5 [ci skip] Translation update 2022-01-27 00:14:02 +00:00
Jesse Hills cb2f5b5ed5
Add diagnostics download to ESPHome (#65008) 2022-01-26 14:35:41 -08:00
Franck Nijhof 4925cf5aff
Handle Tuya sendings strings instead of numeric values (#65009) 2022-01-26 14:05:01 -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 5071b3b959
Abort rachio config entry setup when not connected to cloud (#64975) 2022-01-26 11:07:10 -08:00
Erik Montnemery d4497e4b68
Make toon fall back to webhooks if cloud is not available (#64981) 2022-01-26 11:06:47 -08:00
Paulus Schoutsen 8b3e923f4b
Fix Plex media class in Cast media browser (#64995) 2022-01-26 11:00:31 -08:00
Erik Montnemery 94288886c3
Abort webhook flow when not connected to home assistant cloud (#64963) 2022-01-26 10:57:45 -08:00
Paulus Schoutsen 2c0c01498f
Fix media classes (#64993) 2022-01-26 10:51:25 -08:00
jjlawren 1e34cc62ba
Support Plex in Cast media browser (#64994) 2022-01-26 10:51:08 -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
Bram Kragten e5b0031103
Update frontend to 20220126.0 (#64990) 2022-01-26 10:30:36 -08:00
Paulus Schoutsen b2de177104
Fix circles in person integration (#64991) 2022-01-26 10:25:13 -08:00
Erik Montnemery 07563f4fd2
Disable google_assistant local SDK if SSL is enabled (#64983) 2022-01-26 18:55:30 +01:00
Shay Levy 189418a4dd
Fix Shelly HT invalid value on sensor error (#64982) 2022-01-26 19:33:37 +02:00
Joakim Sørensen f23277a187
Only log exception in GitHub when something unexpected raised (#64974) 2022-01-26 18:11:40 +01:00
Paulus Schoutsen d14fbf40c8
Store new spotify client in hass.data (#64984) 2022-01-26 09:00:59 -08: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
Mick Vleeshouwer ccf018a5fc
Fix battery sensor in Overkiz integration (#64980) 2022-01-26 10:31:17 -06:00
Mick Vleeshouwer 930db54a27
Bump pyoverkiz to 1.3.1 (to fix bugs) (#64979) 2022-01-26 10:30:55 -06: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
Jeef 2b101dd5c2
Add IntelliFire sensors (#64600)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2022-01-26 16:16:25 +01:00
Christopher Bailey e203efa8b1
Fix custom message for UniFi Protect doorbell select (#64971) 2022-01-26 05:14:40 -10:00