Commit graph

38272 commits

Author SHA1 Message Date
G Johansson
2cb9783cf5
Small cleanup Sensibo (#71149)
* Cleanup

* fix temp

* Modify set_temp

* Apply suggestions from code review

Co-authored-by: Shay Levy <levyshay1@gmail.com>
2022-05-01 20:00:58 +03:00
J. Nick Koston
c842672ed1
Fix missing device info in lutron_caseta (#71156)
- There was a missing return due to a bad merge conflict resolution

- Fixes #71154
2022-05-01 20:00:15 +03:00
J. Nick Koston
2d720973ee
Fix incomplete recorder typing (#71158) 2022-05-01 19:53:47 +03:00
G Johansson
4628b151ff
Bump pysensibo 1.0.14 (#71150) 2022-05-01 16:39:33 +03:00
Marvin Wichmann
6e1b787ba6
Add missing type information for panel_custom (#71122) 2022-05-01 13:21:27 +02:00
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
J. Nick Koston
69fa7b0d61
Reduce calls to asyncio.iscoroutine (#71090) 2022-04-29 21:24:26 -07: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