Commit Graph

35688 Commits (236d8aa277354870e59c4496fd85adb488ef40bf)

Author SHA1 Message Date
Marvin Wichmann ef09e89006
Update xknx to 0.21.1 (#71144) 2022-05-01 11:00:37 +02:00
GitHub Action ba386b5841 [ci skip] Translation update 2022-05-01 00:28:25 +00:00
Allen Porter 285fdeb581
Add calendar trigger offsets (#70963)
* Add support for calendar trigger offsets

* Add offset end test

* Update homeassistant/components/calendar/trigger.py

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

* Always include offset in trigger data

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-04-30 17:21:30 -07:00
Álvaro Fernández Rojas 7b2947bad7
Add QNAP QSW diagnostics support (#70871)
* qnap_qsw: add diagnostics support

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

* qnap_qsw: diagnostics: several improvements

- Provide full config_entry.
- Reduce number of test asserts.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2022-04-30 23:13:35 +03:00
J. Nick Koston 109b4d45ca
Allow matching ssdp by manufacturerURL only (#71125) 2022-04-30 14:17:18 -05:00
Robert Svensson a0fe5b0247
Make deCONZ SSDP discovery more strict by matching on manufacturerURL (#71124) 2022-04-30 19:33:47 +02:00
epenet e3f224e115
Use shorthand attributes in neato vacuum (#70843) 2022-04-30 18:57:05 +02:00
Allen Porter c8ea264db8
Bump gcal_sync to 0.7.0 (#71116) 2022-04-30 19:33:30 +03:00
G Johansson 731a8ac74f
Sensibo bugfix device on (#71106)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-04-30 19:28:47 +03:00
Robert Svensson 1396213d78
Fix copy paste issue leaving one device trigger with a wrong subtype (#71121) 2022-04-30 19:26:14 +03:00
Shay Levy 75debb7dec
Add entity id to template error logging (#71107)
* Add entity id to template error logging

* Increase coverage
2022-04-30 19:24:24 +03:00
J. Nick Koston 66a21e0bc3
Add basic system health data to the recorder (#71086) 2022-04-30 11:10:20 -05:00
Robert Hillis f14bc1cece
Clean up Steam integration (#71091)
* Clean up Steam

* uno mas

* uno mas

* uno mas
2022-04-30 17:40:57 +02:00
Allen Porter 00b5d30e24
Add application credentials platform (#69148)
* Initial developer credentials scaffolding
- Support websocket list/add/delete
- Add developer credentials protocol from yaml config
- Handle OAuth credential registration and de-registration
- Tests for websocket and integration based registration

* Fix pydoc text

* Remove translations and update owners

* Update homeassistant/components/developer_credentials/__init__.py

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

* Update homeassistant/components/developer_credentials/__init__.py

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

* Remove _async_get_developer_credential

* Rename to application credentials platform

* Fix race condition and add import support

* Increase code coverage (92%)

* Increase test coverage 93%

* Increase test coverage (94%)

* Increase test coverage (97%)

* Increase test covearge (98%)

* Increase test coverage (99%)

* Increase test coverage (100%)

* Remove http router frozen comment

* Remove auth domain override on import

* Remove debug statement

* Don't import the same client id multiple times

* Add auth dependency for local oauth implementation

* Revert older oauth2 changes from merge

* Update homeassistant/components/application_credentials/__init__.py

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

* Move config credential import to its own fixture

* Override the mock_application_credentials_integration fixture instead per test

* Update application credentials

* Add dictionary typing

* Use f-strings as per feedback

* Add additional structure needed for an MVP application credential

Add additional structure needed for an MVP, including a target
component Xbox

* Add websocket to list supported integrations for frontend selector

* Application credentials config

* Import xbox credentials

* Remove unnecessary async calls

* Update script/hassfest/application_credentials.py

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

* Update script/hassfest/application_credentials.py

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

* Update script/hassfest/application_credentials.py

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

* Update script/hassfest/application_credentials.py

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

* Import credentials with a fixed auth domain

Resolve an issue with compatibility of exisiting config entries when importing
client credentials

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-04-30 08:06:43 -07:00
Shay Levy ae8604d429
Fix Litterrobot available property (#71102) 2022-04-30 16:46:27 +02:00
Matthias Alphart 72bc4c5ee9
Update xknx to 0.21.0 (#71108) 2022-04-30 15:25:41 +02:00
G Johansson 1cdc5f70f2
Bump pysensibo to 1.0.13 (#71105) 2022-04-30 14:59:59 +03:00
Nathan Spencer 1ede67e51f
Reflect unavailable state when litter robot hasn't been seen recently (#70810) 2022-04-30 12:43:13 +03:00
Raman Gupta 5e3740d5ed
Add available property to kodi, with some code cleanup (#69115)
* Add available property to kodi, with some code cleanup

* Update homeassistant/components/kodi/media_player.py

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

Co-authored-by: Shay Levy <levyshay1@gmail.com>
2022-04-30 10:05:22 +03:00
Raman Gupta 7b682e2990
Bump zwave-js-server-python to 0.36.1 (#71096) 2022-04-30 02:59:39 -04:00
Raman Gupta 0360613ddd
Cleanup eight_sleep (#69171)
* Cleanup eight_sleep

* Only set data after checking for users
2022-04-29 21:17:03 -04:00
GitHub Action d01666f3a2 [ci skip] Translation update 2022-04-30 00:25:25 +00:00
Diego Elio Pettenò cef5d6054c
withings: don't store the webhook URL in the state. (#69191)
The webhook url should be calculated at startup, not stored in the state
as otherwise a change in network requires re-configuring the integration
from scratch.

This is particularly important as external network configuration might
change when moving HA between networks, and it's not obvious it needs
to be re-added just for this.
2022-04-30 02:21:12 +03:00
Diogo Gomes 852eaa062c
update unit_of_measurement even if unit_of_measurement is known (#69699) 2022-04-30 02:16:05 +03:00
Paulus Schoutsen de26df0c6d
Fix /config/server_control redirect (#71084) 2022-04-29 16:09:38 -07:00
Tom Harris 7662d588a9
Patch Insteon Hub connectivity issues (#71081) 2022-04-29 16:09:21 -07:00
Zack Barett 85dbfa75ef
Frontend bump 20220429.0 (#71085) 2022-04-29 16:09:08 -07:00
J. Nick Koston 4eca162a0a
Add reauth support to ISY994 (#71069) 2022-04-29 15:46:25 -07:00
epenet 6635fc4e31
Use LightEntityFeature enum in limitlessled (#71061) 2022-04-30 01:38:49 +03:00
David F. Mulcahey f184f9e142
Fix ZHA cover initial state (#71083) 2022-04-29 15:35:53 -07:00
Robert Svensson 7f094a928b
Fix linking issue when deCONZ gateway is not unlocked (#71082) 2022-04-29 15:34:33 -07:00
Robert Svensson 865c75b631
Don't rely on deCONZ gateway object in config options flow (#71079) 2022-04-29 23:57:38 +03:00
Robert Svensson e1f4b17971
Pydeconz raise ResponseError when deCONZ Rest API Plugin is not yet ready (#71078) 2022-04-29 23:55:55 +03:00
epenet da8160a770
Use LightEntityFeature enum in wemo (#71058) 2022-04-29 22:49:16 +03:00
epenet faffd809d5
Use LightEntityFeature enum in osramlightify (#71059) 2022-04-29 22:48:55 +03:00
epenet 09d61edd9f
Use LightEntityFeature enum in mqtt (#71055) 2022-04-29 22:47:26 +03:00
epenet f08615fc76
Use LightEntityFeature enum in zha (#71060) 2022-04-29 22:45:25 +03:00
epenet e63aef79fe
Use LightEntityFeature enum in template (#71056) 2022-04-29 22:43:33 +03:00
epenet 6bb685eaba
Use LightEntityFeature enum in smartthings (#71057) 2022-04-29 22:42:45 +03:00
Erik Montnemery 2fb16fd06c
Deprecate white_value support in template light (#71044) 2022-04-29 22:40:23 +03:00
rappenze 57d0390882
Improve energy meter support of fibaro sensor (#71072) 2022-04-29 22:39:45 +03:00
Michael d90937182e
Fix "station is open" binary sensor in Tankerkoenig (#70928) 2022-04-29 12:29:06 -07:00
J. Nick Koston 11b91e44c8
Fix unsafe websocket stop call in isy994 (#71071)
Fixes
```
2022-04-29 12:49:10 ERROR (MainThread) [homeassistant.config_entries] Error unloading entry Alexander (192.168.209.83) for isy994
Traceback (most recent call last):
  File "/Users/bdraco/home-assistant/homeassistant/config_entries.py", line 474, in async_unload
    result = await component.async_unload_entry(hass, self)
  File "/Users/bdraco/home-assistant/homeassistant/components/isy994/__init__.py", line 294, in async_unload_entry
    await hass.async_add_executor_job(_stop_auto_update)
  File "/opt/homebrew/Cellar/python@3.9/3.9.12/Frameworks/Python.framework/Versions/3.9/lib/python3.9/concurrent/futures/thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/Users/bdraco/home-assistant/homeassistant/components/isy994/__init__.py", line 292, in _stop_auto_update
    isy.websocket.stop()
  File "/Users/bdraco/home-assistant/venv/lib/python3.9/site-packages/pyisy/events/websocket.py", line 110, in stop
    self.websocket_task.cancel()
  File "/opt/homebrew/Cellar/python@3.9/3.9.12/Frameworks/Python.framework/Versions/3.9/lib/python3.9/asyncio/base_events.py", line 753, in call_soon
    self._check_thread()
  File "/opt/homebrew/Cellar/python@3.9/3.9.12/Frameworks/Python.framework/Versions/3.9/lib/python3.9/asyncio/base_events.py", line 790, in _check_thread
    raise RuntimeError(
RuntimeError: Non-thread-safe operation invoked on an event loop other than the current one
```
2022-04-29 21:18:06 +03:00
G Johansson c90eb4d6b4
Fix sql integration issues 5.0 beta (#71063)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-04-29 10:00:44 -07:00
David F. Mulcahey 755020ff63
Update ZHA switch entities to leverage Zigpy cache appropriately (#71062) 2022-04-29 09:44:59 -07:00
Erik Montnemery 76d105d0ba
Sort stuff in template light (#71045) 2022-04-29 09:46:02 +02:00
J. Nick Koston aafe6ff0e2
Fix history_stats for timezones with a positive offset from UTC (#71038) 2022-04-28 23:48:58 -07:00
J. Nick Koston b9c7a89b47
Prevent sqlalchemy Transparent SQL Compilation Caching from filling up during purge (#71015) 2022-04-28 23:48:28 -07:00
Paulus Schoutsen a57136783d
Fix race causing google config pre-init access (#71042) 2022-04-28 23:45:57 -07:00
Erik Montnemery 2f9beb4a4a
Deprecate white_value support in MQTT light (#71002) 2022-04-29 08:37:49 +02:00
Raj Laud c7d344692f
Squeezebox grouping (#70962) 2022-04-28 21:39:58 -07:00
J. Nick Koston 37384f7eb3
Bump sqlalchemy to 1.4.36 (#71039) 2022-04-28 21:32:46 -07:00
GitHub Action 348016dbbf [ci skip] Translation update 2022-04-29 00:22:21 +00:00
jjlawren 1f1932d224
Fix Sonos races related to grouping and startup (#71026) 2022-04-28 14:26:29 -07:00
Zack Barett 7e8c6d563f
Frontend Bump to 20220428.0 (#71029) 2022-04-28 14:24:04 -07:00
Paulus Schoutsen 00070e8804
Add redirect for server controls (#71027)
Co-authored-by: Zack Barett <zackbarett@hey.com>
2022-04-28 14:09:54 -07:00
Robert Svensson 408946cfee
Bump pydeconz to v91 (#71030) 2022-04-28 14:09:35 -07:00
Aaron Bach d791a08002
Ensure that email-based 2FA in SimpliSafe shows the progress UI (#71021) 2022-04-28 14:05:55 -07:00
Shai Ungar 8883f5482b
Sabnzbd config flow improvments (#70981)
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-04-28 22:25:17 +02:00
Tom Harris a9ca774e7e
Insteon Device Control Panel (#70834)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2022-04-28 12:35:43 -07:00
Marc Mueller 9af8cd030a
Type plex session decorator (#70991) 2022-04-28 21:06:05 +02:00
Marc Mueller 7649b5e6c9
Improve roku error decorator typing (#70992) 2022-04-28 21:05:22 +02:00
Marc Mueller cf90e34776
Type recorder retry decorator (#70993) 2022-04-28 21:04:41 +02:00
Marc Mueller 7fefd4bc67
Type decora error decorator (#70977) 2022-04-28 21:03:37 +02:00
David F. Mulcahey 1eb5316d89
Remove unnecessary update_before_add from ZHA (#71010)
* Additional streamlining for ZHA entity init

* fix tests
2022-04-28 20:57:26 +02:00
Marc Mueller 64fc93ba5f
Type heos error decorator (#70978) 2022-04-28 20:53:39 +02:00
Marc Mueller 319ae8b0b7
Type hive refresh decorator (#70979) 2022-04-28 20:52:08 +02:00
Marc Mueller a46b38d648
Type androidtv error decorator (#70976) 2022-04-28 20:51:21 +02:00
Aaron Bach d0f1168ff0
Ensure SimpliSafe re-auth only looks at SimpliSafe config entries (#71009)
* Ensure SimpliSafe re-auth only looks at SimpliSafe config entries

* Add a test

* Trigger Build

* Linting

* Comment

* Simplify test
2022-04-28 21:45:37 +03:00
starkillerOG ce9d000cd8
Motionblinds brands fix spelling (#71012)
* add supported_brands

* fix spelling
2022-04-28 21:42:14 +03:00
Fabian Affolter 805aa3375a
Add support for OpenWeatherMap's visibility (#71013)
* Add support for visibility

* Add docstrings
2022-04-28 21:39:50 +03:00
Robert Svensson caf71c854f
Handle situation where mac might not exist in clients (#71016) 2022-04-28 21:36:52 +03:00
Yuval Aboulafia 70e8f81be1
Loop load Jewish Calendar platforms (#70714) 2022-04-28 20:35:42 +02:00
epenet d907eb2810
Use LightEntityFeature enum in hue (#70987) 2022-04-28 21:32:39 +03:00
Marc Mueller ac044c8ffa
Type openhome error decorator (#70990) 2022-04-28 17:04:19 +02:00
Marc Mueller 4a574eb701
Type kodi error decorator (#70989) 2022-04-28 17:03:27 +02:00
Marc Mueller 27cf4165fa
Type iaqualink refresh decorator (#70988) 2022-04-28 17:01:54 +02:00
starkillerOG 3db7f945eb
Add supported brands for Motion Blinds (#70996) 2022-04-28 14:07:34 +02:00
starkillerOG d9f3d2b429
Add supported_brands Marantz for denonavr (#70986) 2022-04-28 13:57:05 +02:00
Erik Montnemery 603c7c8980
Migrate niko_home_control light to color_mode (#70914)
* Migrate niko_home_control light to color_mode

* Remove useless brightness related code
2022-04-28 13:45:18 +02:00
Marc Mueller cdafbbe10f
Rename bound TypeVars (#70975) 2022-04-28 13:19:51 +02:00
Álvaro Fernández Rojas 9672cddb07
Update aioqsw to v0.0.7 (#70931) 2022-04-28 11:46:48 +02:00
epenet 385f199691
Use shorthand attributes in tuya vacuum (#70846) 2022-04-28 10:48:04 +02:00
j-a-n d9433e698d
Add unique_id attribute to Alpha2Climate entity (#70964)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2022-04-28 10:37:23 +02:00
Raj Laud 0264f060e4
Improve repeat and shuffle support for Squeezebox (#70941) 2022-04-28 10:35:04 +02:00
Erik Montnemery 573e966d74
Migrate hue v1 light to color_mode (#69275)
* Migrate hue v1 light to color_mode

* Fix test

* Correct filter_supported_color_modes + add test

* Use ColorMode enum
2022-04-28 09:49:51 +02:00
Erik Montnemery 59c6282c6c
Migrate lifx light to color_mode (#69420)
* Migrate lifx light to color_mode

* Update LIFXColor to support both hs and color_temp

* Apply suggestions from code review

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

* Update light.py

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2022-04-28 09:49:06 +02:00
Erik Montnemery 9f43fca586
Fix color mode in overkiz light (#70966) 2022-04-28 09:36:53 +02:00
Erik Montnemery 13d67747cb
Fix color_mode property in fritzbox light (#70965) 2022-04-28 09:36:14 +02:00
Erik Montnemery db3eb26c74
Correct color mode in shelly light (#70967) 2022-04-28 09:05:08 +02:00
Marc Mueller e6da1d7318
Improve aurora_abb_powerone typing (#70919) 2022-04-28 06:38:54 +01:00
Paulus Schoutsen 2e3e7f1e94
Sync area changes to google (#70936)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-04-27 22:32:13 -07:00
J. Nick Koston 27a4a9eed4
Adjust get_latest_short_term_statistics query to be postgresql compatible (#70953) 2022-04-27 21:19:36 -07:00
J. Nick Koston 79c9d22893
Add dhcp hostname of older ZJ series Magic Home bulbs to discovery (#70958) 2022-04-27 21:18:59 -07:00
J. Nick Koston 6644050811
Add discovery support for polisy to isy994 (#70940) 2022-04-27 21:18:32 -07:00
Allen Porter 474087bf7d
Bump gcal_sync 0.6.3 to fix calendar path encoding bug (#70959) 2022-04-27 21:17:25 -07:00
Allen Porter 2270b7df8d
Set nest climate min/max temp range (#70960) 2022-04-27 21:16:50 -07:00
Marc Mueller 93cbb331e5
Update Mypy to 0.950 (#70948)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-04-27 20:49:54 -05:00
Dave T 2c028d203f
Remove invalid unique id from generic camera (#70568)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-04-27 17:08:18 -05:00
David F. Mulcahey b4a0345b38
Bump ZHA dependencies (#70900)
* Bump ZHA libs

* bump Zigpy
2022-04-27 13:55:31 -04:00