Commit Graph
12190 Commits
Author SHA1 Message Date
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 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
Raman Gupta ae01ec02e2 Allow custom integrations to support application_credentials platform (#71129) 2022-05-01 16:26:22 -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
Robert Svensson 63e3095062 Abort UniFi Network options flow if integration is not setup (#71128) 2022-05-01 21:00:38 +02:00
Allen PorterandMartin Hjelmare 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
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
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
Nathan Spencer 1ede67e51f Reflect unavailable state when litter robot hasn't been seen recently (#70810) 2022-04-30 12:43:13 +03:00
Tom Harris 781ec87dff Fix Insteon tests (#71092) 2022-04-29 21:26:27 -07:00
J. Nick Koston 4eca162a0a Add reauth support to ISY994 (#71069) 2022-04-29 15:46:25 -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 e1f4b17971 Pydeconz raise ResponseError when deCONZ Rest API Plugin is not yet ready (#71078) 2022-04-29 23:55:55 +03:00
epenet 6bb685eaba Use LightEntityFeature enum in smartthings (#71057) 2022-04-29 22:42:45 +03:00
G JohanssonandPaulus Schoutsen 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
Franck Nijhof 682ac52a20 Support shorthand logical operators in script sequences (#71022) 2022-04-29 18:06:21 +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
jjlawren 1f1932d224 Fix Sonos races related to grouping and startup (#71026) 2022-04-28 14:26:29 -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
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 HarrisandPaulus Schoutsen a9ca774e7e Insteon Device Control Panel (#70834)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2022-04-28 12:35:43 -07: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
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
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
Paulus SchoutsenandMartin Hjelmare 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 6644050811 Add discovery support for polisy to isy994 (#70940) 2022-04-27 21:18:32 -07:00
David F. Mulcahey 27a5851ee2 Fix flaky ZHA tests (#70956) 2022-04-27 14:52:32 -10:00
ollo69 c8c27dba0f Remove conditional logic in AndroidTV tests (#70944) 2022-04-27 17:17:56 -05:00
Dave TandJ. Nick Koston 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
Theo ArendsandErik Montnemery 31e3f4892e Bump hatasmota to 0.4.1 (#70799)
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2022-04-27 19:05:42 +02:00
David F. Mulcahey 361119d5c1 Improve ZHA startup performance (#70111)
* Remove semaphores and background mains init

* additional logging

* correct cache usage and update tests
2022-04-27 08:24:26 -07:00
Erik Montnemery c5d69ab1b2 Handle removed entites in collection.sync_entity_lifecycle (#70759)
* Handle removed entites in collection.sync_entity_lifecycle

* Add comment
2022-04-27 08:05:00 -07:00
Allen PorterandMartin Hjelmare 8a13c6744a Bump gcal_sync to 0.6.2 and switch to google calendar async iterator api (#70616)
* Switch to google calendar async iterator api

* Update homeassistant/components/google/calendar.py

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

* Add test coverage for paging through results

* Bump gcal_sync to 0.6.1

* Bump gcal-sync 0.6.2

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-04-27 07:22:15 -07:00
Erik MontnemeryandFranck Nijhof c530bc823b Support buffering in media_player device conditions (#70863)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2022-04-27 15:40:07 +02:00
Erik Montnemery 13cc7583ed Support buffering in media_player reproduce state (#70859) 2022-04-27 11:48:00 +02:00
Erik Montnemery e982e315ee Support buffering in media_player device triggers (#70864) 2022-04-27 11:47:04 +02:00
Aaron Bach 031149dfdd Re-work SimpliSafe authentication to only need username/password (#70160) 2022-04-27 10:16:28 +02:00
epenet 492e183b7c Migrate zerproc light to ColorMode (#70851) 2022-04-27 09:52:41 +02:00
Erik Montnemery 66551e6fcb Add state buffering to media_player and use it in cast (#70802) 2022-04-27 09:49:50 +02:00
Reuben BijlandRaman Gupta 3901b5c8e8 Add zwave_js MultilevelSwitch Notification (#70470)
Co-authored-by: Raman Gupta <7243222+raman325@users.noreply.github.com>
2022-04-27 09:12:23 +02:00
ollo69 21f9b19fad Review AndroidTV tests (#69048) 2022-04-26 23:26:22 -07:00
25779a49a4 Add slimproto integration (Squeezebox players) (#70444)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-04-26 23:24:17 -07:00