Commit Graph

49297 Commits (5db014666c5f988ad4ce42ee5ce94b6547c086de)

Author SHA1 Message Date
J. Nick Koston 5db014666c
Avoid recording state_changed events in the events table (#71165)
* squash

fix mypy

* Update homeassistant/components/recorder/models.py

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

* pass all columns

* fix commented out code

* reduce logbook query complexity

* merge

* comment

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2022-05-02 02:10:34 -05:00
epenet 7026e5dd11
Fix Renault diagnostics (#71186) 2022-05-01 23:12:32 -07:00
Aaron Bach 802adaf43c
Fix issues with SimpliSafe email-based 2FA (#71180)
* FIx issues with email-based SimpliSafe 2FA

* Bump
2022-05-01 21:50:39 -07:00
Franck Nijhof 63679d3d29
Fix missing device & entity references in automations (#71103) 2022-05-01 21:49:50 -07:00
J. Nick Koston 2a9f043039
Use ULID short format for context ids (#71119) 2022-05-01 21:44:54 -07:00
J. Nick Koston b770ca319e
Improve scrape performance by using lxml parser (#71087)
* Improve scape performance by using lxml parser

* load it

* tweak

* tweak

* ensure libxml2 is installed in dev container
2022-05-01 21:04:05 -05:00
J. Nick Koston c23866e5e5
De-duplicate event data into a new event_data table (#71135) 2022-05-01 21:01:17 -05:00
J. Nick Koston b8442d9340
Add json decode caching to logbook (#71080) 2022-05-01 19:33:31 -05:00
GitHub Action 9b10658d01 [ci skip] Translation update 2022-05-02 00:22:04 +00:00
Raman Gupta ae01ec02e2
Allow custom integrations to support application_credentials platform (#71129) 2022-05-01 16:26:22 -07:00
Kuba Wolanin d8ee9c1922
Add Show logs URL to integration errors notification (#71142) 2022-05-01 16:14:30 -07:00
Dave T 26c6328b1f
Generic camera handle template adjacent to portnumber (#71031) 2022-05-01 16:13:21 -07:00
J. Nick Koston ff48720c6a
Remove db schema v23 stats migration tests (#71137) 2022-05-01 16:11:11 -07:00
Allen Porter b97ca8e260
Bump gcal_sync to 0.7.1 to fix calendar API timezone handling (#71173) 2022-05-01 14:20:44 -07:00
Matt Zimmerman 40280cbd43
update python-smarttub to 0.0.32 (#71164) 2022-05-01 23:36:13 +03:00
G Johansson 5b25b94a22
Fix template error in sql (#71169) 2022-05-01 23:04:03 +03:00
Robert Svensson 63e3095062
Abort UniFi Network options flow if integration is not setup (#71128) 2022-05-01 21:00:38 +02:00
J. Nick Koston 2e20ec21c4
Bump zeroconf to 0.38.5 (#71160) 2022-05-01 18:49:17 +01:00
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
epenet 802c4c0d42
Deprecate LightEntityFeature light constants (#69301) 2022-04-30 16:42:22 +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
Tom Harris 781ec87dff
Fix Insteon tests (#71092) 2022-04-29 21:26:27 -07: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