Commit Graph

35709 Commits (d82899ed2fa3bd6f02c20557061cc18de06d8e41)

Author SHA1 Message Date
Josh Shoemaker 4a55d58d6d
Bump aladdin_connect to 0.4 to fix integration for some users due to API changes (#65407) 2022-02-02 09:29:05 +01:00
jjlawren 4794625048
Detect battery-operated Sonos devices going offline (#65382) 2022-02-01 22:11:21 -06:00
jjlawren c80d6810b3
Fix Sonos diagnostics with offline device (#65393)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-02-01 22:10:53 -06:00
J. Nick Koston 3da60355a9
Bump lutron_caseta to 0.13.1 to fix setup when no button devices are present (#65400) 2022-02-01 19:19:24 -06:00
GitHub Action ff2f135f55 [ci skip] Translation update 2022-02-02 00:15:13 +00:00
J. Nick Koston 73189ead1f
Handle brightness being None for senseme (#65372) 2022-02-01 14:51:28 -08:00
Pierre Ståhl e2935b55ae
Fix disconnect bug in Apple TV integration (#65385) 2022-02-01 15:44:06 -06:00
Pierre Ståhl 476a694248
Sort Apple TV app list by name (#65386) 2022-02-01 15:30:28 -06:00
Tobias Sauerwein 3718d7fca8
Add Netatmo error logging when no public stations are available (#65298)
* Log error if public stations don't provide data

Signed-off-by: cgtobi <cgtobi@gmail.com>

* Only log once

Signed-off-by: cgtobi <cgtobi@gmail.com>

* Update homeassistant/components/netatmo/sensor.py

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

Co-authored-by: Shay Levy <levyshay1@gmail.com>
2022-02-01 22:06:03 +02:00
Jc2k 9f5d77e0df
Add missing type hints to homekit_controller (#65368) 2022-02-01 13:30:37 -06:00
Paulus Schoutsen aef6f49eff
Bump frontend to 20220201.0 (#65380) 2022-02-01 09:58:23 -08:00
Michael 1b8252fa2f
Fix wan_access switch for disconnected devices in Fritz!Tools (#65378) 2022-02-01 09:57:34 -08:00
Robert Svensson 69ac59ce73
Redact host address in UniFi diagnostics (#65379) 2022-02-01 09:52:56 -08:00
Bram Kragten c82aa1606a
Allow removing keys from automation (#65374) 2022-02-01 09:45:08 -08:00
schreyack 3c0369ed59
Fix honeywell hold mode (#65327)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-02-01 09:11:09 -08:00
Martin Hjelmare 3697f5611c
Fix tradfri coordinator error handling (#65204) 2022-02-01 09:09:51 -08:00
ZuluWhiskey 65ea54927d
Fix MotionEye config flow (#64360)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-02-01 09:05:50 -08:00
Allen Porter d3374ecd8e
Add type hints for google calendar integration (#65353)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-02-01 17:28:32 +01:00
G Johansson 390d32c71b
Fix options for dnsip (#65369) 2022-02-01 16:47:42 +01:00
fOmey d24fedbe97
Tuya fan natural wind mode (#65343) 2022-02-01 15:50:43 +01:00
Klaas Schoute 75a1f3207c
Use dataclass asdict to convert to dict (#65365) 2022-02-01 14:44:40 +01:00
Jc2k dd5bcafab7
Enable mypy checks for homekit_controller (#65358) 2022-02-01 11:27:35 +00:00
Erik Montnemery ab17f8984b
Improve CastProtocol (#65357)
* Improve CastProtocol

* Tweak
2022-02-01 10:47:12 +01:00
Jc2k 2a193e1016
Refactor platform loading in homekit_controller (#65338) 2022-02-01 07:38:42 +00:00
Paulus Schoutsen b05b4c4b38
Simplify unifi cleanup logic (#65345) 2022-02-01 07:22:12 +01:00
Allen Porter 88ed2f3b3e
Improve google calendar test coverage to 97% (#65223)
* Improve google calendar test coverage to 97%

* Remove commented out code.

* Remove unnecessary (flaky) checks for token file persistence

* Remove mock code assertions

* Add debug logging to google calendar integration

* Increase alarm time to polling code to reduce flakes

* Setup every test in their own configuration directory

* Mock out filesystem calls to avoid disk dependencies

Update scope checking code to use Storage object rather than text file matching

* Update tests to check entity states when integration is loaded

* Mock out google service in multiple locations

* Update homeassistant/components/google/__init__.py

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

* Update homeassistant/components/google/__init__.py

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

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-02-01 03:14:49 +01:00
Paulus Schoutsen 5289935ac1
I zone, you zone, we zoning (#65344) 2022-01-31 17:04:46 -08:00
Martin Hjelmare d0412d65ac
Remove stale tradfri devices (#65218) 2022-01-31 16:43:16 -08:00
GitHub Action 0be8060b69 [ci skip] Translation update 2022-02-01 00:18:49 +00:00
Simone Chemelli 86079375b9
Add diagnostics for SamsungTV (#65342) 2022-01-31 16:10:55 -08:00
Duco Sebel 103fe9e0ba
Add HomeWizard diagnostics (#65297)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2022-01-31 16:08:58 -08:00
J. Nick Koston 3bb8de66d8
Bump zeroconf to 0.38.3 (#65341) 2022-01-31 16:08:42 -08:00
Paulus Schoutsen 47a5411525
Bump aiohue to 4.0.1 (#65340) 2022-01-31 15:58:52 -08:00
Paulus Schoutsen 31709b92ac
Bump version tag on async_timeout warning (#65339) 2022-01-31 15:52:31 -08:00
Michael c9f38355f7
Improve debugging and error handling in Fritz!Tools (#65324) 2022-01-31 15:28:11 -08:00
J. Nick Koston 18ea3fb85a
Prevent unifiprotect from being rediscovered on UDM-PROs (#65335) 2022-01-31 15:27:26 -08:00
J. Nick Koston c7eb676449
Fix guardian being rediscovered via dhcp (#65332) 2022-01-31 15:24:55 -08:00
Paulus Schoutsen bf138c4ffb
Alexa to handle brightness and catch exceptions (#65322) 2022-01-31 15:01:46 -08:00
Jc2k 0f88790303
Refactor homekit_controller to prepare for more typing information (#65329) 2022-01-31 16:48:16 -06:00
Simone Chemelli a9af29cbe0
Add diagnostics support to Fritz (#65334)
* Add diagnostics support to Fritz

* Temporary remove tests

* coveragerc
2022-01-31 23:43:46 +01:00
Simone Chemelli 17c41f4783
Introduce number platform for Shelly (#64207)
* Introduce number platform for Shelly

* coverage

* Rework based on review comment

* Improve logic around channel

* Remove unused value

* rebase

* Removed redundant properties

* Update homeassistant/components/shelly/number.py

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

* Remove channel workaround as currently not needed

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2022-01-31 22:14:59 +01:00
w35l3y 076faaa4a4
Add support to reprompt user (#65256) 2022-01-31 10:23:26 -08:00
Pascal Winters 0cfc7112fa
Bump pyps4-2ndscreen to 1.3.1 (#65320) 2022-01-31 19:23:07 +01:00
jjlawren 48ae3bece8
Send notification to alert of Sonos networking issues (#65084)
* Send notification to alert of Sonos networking issues

* Add links to documentation
2022-01-31 19:21:21 +01:00
Franck Nijhof b7bf302ef8
Ensure PVOutput connection error is logged (#65319) 2022-01-31 18:42:49 +01:00
Franck Nijhof e5b6a58fab
Update tailscale to 0.2.0 (#65318) 2022-01-31 09:17:35 -08:00
Franck Nijhof 441e81c02a
Add diagnostics support to WLED (#65317) 2022-01-31 09:16:33 -08:00
Franck Nijhof ce6048e705
Fix missing expiration data in Whois information (#65313) 2022-01-31 09:15:13 -08:00
Jeff Irion 5891f65c7e
Bump androidtv to 0.0.61 (#65315) 2022-01-31 18:09:17 +01:00
J. Nick Koston fab9c4aa20
Improve reliability of august setup with recent api changes (#65314) 2022-01-31 10:21:47 -06:00
Franck Nijhof ac32af7004
Update wled to 0.13.0 (#65312) 2022-01-31 18:08:21 +02:00
Franck Nijhof a3f5582010
Update adguard to 0.5.1 (#65305) 2022-01-31 16:31:02 +01:00
Jan Bouwhuis 4991f1a693
Use super() in mqtt siren init (#65291) 2022-01-31 13:16:45 +01:00
Mick Vleeshouwer 216ac65475
Bump pyoverkiz to 1.3.2 (#65293) 2022-01-31 13:08:43 +01:00
starkillerOG cc14acb178
Bump pynetgear to 0.9.1 (#65290) 2022-01-31 13:00:10 +01:00
Duco Sebel ade656a333
Fix HomeWizard unclosed clientsession error when closing Home Assistant (#65296) 2022-01-31 12:49:18 +01:00
fOmey 9b5757dff5
Tuya fan percentage fix (#65225) 2022-01-31 12:37:43 +01:00
Erik Montnemery 80da5c52ae
Correct cast media browse filter for audio groups (#65288) 2022-01-31 11:45:48 +01:00
Erik Montnemery b0c36d7729
Add cast platform for extending Google Cast media_player (#65149)
* Add cast platform for extending Google Cast media_player

* Update tests

* Refactor according to review comments

* Add test for playing using a cast platform

* Apply suggestions from code review

Co-authored-by: jjlawren <jjlawren@users.noreply.github.com>

* Pass cast type instead of a filter function when browsing

* Raise on invalid cast platform

* Test media browsing

Co-authored-by: jjlawren <jjlawren@users.noreply.github.com>
2022-01-31 10:50:05 +01:00
Jan Bouwhuis 6fdaec0847
Add MQTT siren platform (#64440)
* Add mqtt siren draft

* fix tests

* Intergrate notify platform

* tests and fixes siren platform

* Add tests notify platform

* config parameters and abbreviations

* remove duplicate key

* undo move topic abbreviation

* Move const CONF_MESSAGE_COMMAND_TEMPLATE

* Remove notify service integration

* Rework

* Update homeassistant/components/mqtt/siren.py

Co-authored-by: Erik Montnemery <erik@montnemery.com>

* Publish JSON by default

* Allow unknown state - rename value_template

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2022-01-31 10:31:57 +01:00
Jan Bouwhuis bfaada34e2
Allow `unknown` state to be set (#65183) 2022-01-31 10:25:08 +01:00
Tobias Sauerwein f6b0f26783
Bump pyatmo to v.6.2.4 (#65285)
* Bump pyatmo to v6.2.3

Signed-off-by: cgtobi <cgtobi@gmail.com>

* Bump pyatmo to v6.2.4

Signed-off-by: cgtobi <cgtobi@gmail.com>
2022-01-31 11:07:50 +02:00
Brett Adams 3536271fce
Add diagnostics to Advantage Air (#65006)
Co-authored-by: Joakim Sørensen <hi@ludeeus.dev>
2022-01-30 20:51:39 -08:00
J. Nick Koston 8c9bd6e790
Increase august timeout and make failure to sync at startup non-fatal (#65281) 2022-01-30 20:50:49 -08:00
J. Nick Koston 2f6bf08165
Fix senseme fan lights (#65217) 2022-01-30 20:24:42 -08:00
J. Nick Koston 7552404f70
Increase the timeout for flux_led directed discovery (#65222) 2022-01-30 20:21:54 -08:00
Brynley McDonald 99f56579a5
Fix flick_electric auth failures (#65274) 2022-01-30 20:21:15 -08:00
J. Nick Koston 6458e45ef0
Simplify whois value_fn (#65265) 2022-01-30 20:19:52 -08:00
J. Nick Koston 73bd8db273
Fix flux_led not generating unique ids when discovery fails (#65250) 2022-01-30 20:17:19 -08:00
Matthias Alphart d4370395e2
Update xknx to 0.19.1 (#65275) 2022-01-30 20:12:44 -08:00
J. Nick Koston 385f1f3dad
Fix powerwall login retry when hitting rate limit (#65245) 2022-01-30 22:09:56 -06:00
Teemu R c985ebb3a7
Bump python-kasa to 0.4.1 for tplink integration (#64123)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-01-30 20:09:07 -06:00
GitHub Action ca7d4234e1 [ci skip] Translation update 2022-01-31 00:14:28 +00:00
Jc2k eb94fe1ca7
Use upstream constants when defining homekit service to platform mapping (#65272) 2022-01-30 16:59:01 -06:00
Aaron Bach 58f624a3da
Add diagnostics to SimpliSafe (#65171)
* Add diagnostics to SimpliSafe

* Bump

* Cleanup
2022-01-30 15:37:56 -07:00
Jc2k cc94af2872
Remove deprecated helper functions from homekit_controller pairing flow (#65270) 2022-01-30 16:20:19 -06:00
Shay Levy 5999d08d72
Bump aiowebostv to 0.1.2 (#65267) 2022-01-31 00:04:00 +02:00
Stephan Uhle a4904bd9bc
Add Edl21 unit of measurement mapping (#64926) 2022-01-30 23:01:20 +01:00
Jesse Hills 8b5e76b898
Fix comment typo in ESPHome diagnostics (#65268) 2022-01-30 23:53:46 +02:00
Michael ef74dab352
Fix "internet access" switch for Fritz connected device without known IP address (#65190)
* fix get wan access

* small improvement
- default wan_access to None
- test if dev_info.ip_address is not empty
2022-01-30 13:22:32 -08:00
Robert Svensson ac1b30a78d
Better manage of nested lists (#65176) 2022-01-30 13:20:59 -08:00
J. Nick Koston 62fd31a1e7
Handle missing attrs in whois results (#65254)
* Handle missing attrs in whois results

- Some attrs are not set depending on where the
  domain is registered

- Fixes #65164

* Set to unknown instead of do not create

* no multi-line lambda
2022-01-30 13:19:04 -08:00
Patrik Lindgren 473abb1793
Flag Tradfri groups and YAML as deprecated (#65226) 2022-01-30 22:16:51 +01:00
jjlawren 2129972904
Add activity statistics to Sonos diagnostics (#65214) 2022-01-30 13:15:51 -08:00
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
Ville Skyttä 6473edd88a
Fix REQUIRED_NEXT_PYTHON_HA_RELEASE comment placement (#65251) 2022-01-30 19:09:51 +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
Marc Mueller d8f167bbac
Remove `backports.zoneinfo` dependency (#65069) 2022-01-27 09:59:27 -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
Franck Nijhof 0f63fb221c
Bump version to 2022.3.0dev0 (#64996) 2022-01-26 20:53:09 +01: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
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
Erik Montnemery 9079734348
Correct netatmo startup (#64970) 2022-01-26 15:46:08 +01:00
Simon Hansen 37225c36fc
Add starship event sensor (#64965) 2022-01-26 15:37:15 +01:00
epenet dfdbeba7be
Use entity_description in shelly block sensors (#64897)
* Use entity_description in shelly block sensors

* Re-order binary sensor

* Add async_added_to_hass for BlockSleepingBinarySensor

* Undo None

* Build description when restoring block attribute entities

* Move async_added_to_hass back to base class

Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-26 16:07:15 +02:00
dougiteixeira 982580b95a
Complementing the Tuya Fan (fs) category (#64947)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2022-01-26 13:03:05 +01:00
Simon Hansen 4e808133f2
Add next starship launch sensor to launch_library (#64929)
Co-authored-by: Joakim Sørensen <hi@ludeeus.dev>
2022-01-26 12:31:03 +01:00
Franck Nijhof bcd7390488
Fix use of implicit re-export in env canada (#64964) 2022-01-26 12:22:53 +01:00
dougiteixeira bbf64483e7
Fix send command in vacuum Tuya (#64949) 2022-01-26 11:34:18 +01:00
Franck Nijhof d49b821565
Set entity category on Tuya backlights (#64962) 2022-01-26 11:20:31 +01:00
Franck Nijhof 92ca76a167
Add backlight controls for Tuya curtain switches (#64961) 2022-01-26 11:13:38 +01:00
Erik Montnemery 18ea43b927
Prevent race when loading cloud config (#64901)
* Prevent race when loading cloud config

* Tweak
2022-01-26 10:59:36 +01:00
tokenize47 2f30fdb9b8
Add solax config flow (#56620) 2022-01-26 10:58:06 +01:00
Marc Mueller 5e633498d2
Enable `no_implicit_reexport` for core files [mypy] (#63820) 2022-01-26 10:55:06 +01:00
Tathar 16e5d7abe1
Add unique_id to modbus entities (#64634)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2022-01-26 10:37:15 +01:00
Joakim Sørensen 3dbad2a44e
Limit GitHub API calls during setup (#64956) 2022-01-26 09:58:04 +01:00
Paulus Schoutsen 07c239643a
Some media source things (#64954)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2022-01-26 09:49:33 +01:00
dougiteixeira 0a223f2f62
Change the name of the vacuum switch voice (#64948) 2022-01-26 09:46:34 +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
Glenn Waters cf7148c3f8
Decouple initial refreshes in setup for Environment Canada (#64946) 2022-01-25 21:03:18 -08:00
Paulus Schoutsen 24546dfdf9
Catch all exceptions on import component/platform (#64930) 2022-01-25 20:39:32 -08:00
J. Nick Koston a24f79434f
Add state classes to august sensors (#64931) 2022-01-25 20:37:52 -08:00
J. Nick Koston a6b26dbec4
Add state class to nexia sensors (#64932) 2022-01-25 20:37:39 -08:00
J. Nick Koston 09982afd2e
Add state class to emonitor sensors (#64934) 2022-01-25 20:36:53 -08:00
J. Nick Koston 50cc5e10b9
Small cleanups to gogogate2 (#64935) 2022-01-25 20:36:37 -08:00
J. Nick Koston 5cc5813bd6
Add state class to hunterdouglas_powerview (#64936) 2022-01-25 20:36:22 -08:00
J. Nick Koston 8593d07883
Add state class to powerwall charge sensor (#64939) 2022-01-25 20:36:04 -08:00
J. Nick Koston 87d1478ca4
Add state class to screenlogic sensors (#64941) 2022-01-25 20:35:44 -08:00
jjlawren cb571d86be
Add per-device diagnostics to Sonos (#64912) 2022-01-25 17:35:04 -10:00
ufodone 10efeb2935
Create zone bypass switches for DSC panels (#63200)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-01-25 17:21:58 -10:00
GitHub Action 3c1d1bd060 [ci skip] Translation update 2022-01-26 00:15:14 +00:00
Franck Nijhof 2dc3ced644
Add WLED hw version to device info (#64924) 2022-01-26 01:07:52 +02:00
Mick Vleeshouwer 5bd96a35f9
Add reauth flow to Overkiz integration (#64622) 2022-01-25 13:00:58 -10:00
Mick Vleeshouwer 7e5043432f
Bump pyoverkiz to 1.3.0 in Overkiz integration (fixes auth issues) (#64937) 2022-01-25 12:36:50 -10:00
jjlawren 34d0f2ffd7
Add "Recommended" and radio station support to Plex media browser (#64057) 2022-01-25 13:02:23 -08:00
Paulus Schoutsen a371f8f788
Allow browsing the Spotify media player in Sonos (#64921) 2022-01-25 12:43:43 -08:00
Simon Hansen f32d9952c8
Bump pylaunches to 1.3.0 (#64923) 2022-01-25 21:24:26 +01:00
Franck Nijhof 2e1ac711fb
Add Elgato hw version to device info (#64922) 2022-01-25 20:29:18 +01:00
David F. Mulcahey 43c4611285
Bump ZHA quirks to 0.0.66 (#64915) 2022-01-25 13:32:46 -05: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
Shay Levy 1d72f5b54e
Bump rflink to 0.0.62 (#64911) 2022-01-25 07:29:07 -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
epenet 076bc976ee
Use entity_description in shelly rpc sensors (#64895)
* Use entity_description in shelly rpc sensors

* Enable None for binary sensor

* Adjust use_polling_wrapper

Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-25 15:48:51 +02:00
epenet da316e1547
Use shorthand attributes in shelly light (#64831)
* Use shorthand attributes in shelly light

* Adjust mypy

* Revert temperature conversions

* Adjust initialisation

* Invert min/max for mired

* Make _attr_supported_color_modes an instance attribute

Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-25 15:48:07 +02:00
Joakim Sørensen cda2c73f2f
Use Integration properties for custom integration listing in diagnostics (#64908) 2022-01-25 14:47:27 +01:00
Joakim Sørensen cadf0ef60b
Ignore draft releases for GitHub sensor (#64906) 2022-01-25 14:10:12 +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
Michael 5d7d652237
Replace Synology DSM services with buttons (#57352) 2022-01-24 22:51:55 -10:00