Commit Graph
63124 Commits
Author SHA1 Message Date
Richard KroegelandGitHub 52f49fc32d bmw_conected_drive: Allow WASHING_FLUID in condition based service (#94762)
Allow WASHING_FLUID
2023-06-18 09:19:31 +02:00
Joost LekkerkerkerandGitHub 9f83e4b2de Make YouTube select lower quality thumbnails (#94652)
* Make YouTube select lower quality thumbnails

* Make YouTube select lower quality thumbnails

* Make YouTube select lower quality thumbnails

* Make YouTube select lower quality thumbnails

* Add tests

* Add tests

* Add tests

* Add tests

* Add tests
2023-06-17 21:59:06 -04:00
Eric SeveranceandGitHub 7f7b7aee6d pyWeMo serialnumber is deprecated, use serial_number (#94791) 2023-06-17 20:59:19 -04:00
Ian FosterandGitHub 0513117a11 Add hub to keyboard_remote manifest (#94788)
added hub to keyboard_remote manifest
2023-06-17 23:07:18 +02:00
J. Nick KostonandGitHub be638d3772 Bump recommended esphome version for bluetooth to 2023.6.0 (#94773)
2023.6.0 is needed for #94138 to work
2023-06-17 16:23:33 -04:00
J. Nick KostonandGitHub b5e1d35e18 Bump cryptography to 41.0.1 and PyOpenSSL to 23.2.0 (#94777)
changelog: https://cryptography.io/en/latest/changelog/
changelog: https://www.pyopenssl.org/en/latest/changelog.html
2023-06-17 16:23:06 -04:00
disforwandGitHub 71e8ee52e5 Fix QNAP Sensor Entity Descriptions (#94749) 2023-06-17 16:06:28 +02:00
Allen PorterandGitHub c4284c07b6 Allow scripts to capture service response data in variables (#94757)
* Allow scripts service actions to save return values

* Simplify script service response data

* Rename result_variable to response_variable based on feedback
2023-06-16 22:59:44 -04:00
Erik MontnemeryandGitHub 4f669b326f Fix typo in tts tests (#94725) 2023-06-16 21:08:14 -04:00
J. Nick KostonandGitHub 68cf796be8 Speed up entity service calls (#94731)
* Speed up entity service calls

- Avoid permissions check if the caller is an admin
- Use set intersection instead of linear search of entity platforms to find entities

* tweak

* fix light test to not use an admin user
2023-06-16 21:07:57 -04:00
Michał ModzelewskiandGitHub 3778e1cd77 Support launching app deep links in apple_tv integration (#94705) 2023-06-16 13:05:46 -05:00
Jan ČermákandGitHub d7755a92c3 Fix warning from rapt_ble caused by payload version 2 (#94718) 2023-06-16 12:12:52 -05:00
84c66b3cad Add support for services to return data (#94401)
* Add support for service calls with resopnse data.

Update the service calls to allow returning responses with data,
with an initial use case supporting basic service calls usable
within script.

* Revert enttiy platform/component changes

* Remove unnecessary comma diff

* Revert additional unnecessary changes

* Simplify service call

* Simplify and fix typing and revert whitespace

* Clarify typing intent

* Revert more entity service calls

* Revert additional entity service changes

* Set blocking=True for group notify service call

* Revert unnecessary changes

* Reverting more whitespace changes

* Revert more service changes

* Add test coverage for None return case

* Add parameter to service calls indicating return values were requested

* Update tests/test_core.py

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

* Add additional service call tests

* Update test comment

---------

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2023-06-16 12:43:35 -04:00
12129e9d21 Update service call return values and error handling (#94657)
* Update return signature of service calls

* Add timeout error handling in websocket api for service calls

* Update recorder tests to remove assertion on service call

* Remove timeout behavior and update callers that depend on it today

* Fix tests

* Add missing else

* await coro directly

* Fix more tests

* Update the intent task to use wait instead of timeout

* Remove script service call limits and limit constants

* Update tests that depend on service call limits

* Use wait instead of wait_for and add test

* Update homeassistant/helpers/intent.py

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

---------

Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2023-06-16 07:01:40 -07:00
Erik MontnemeryandGitHub 950b25bf42 Remove unnecessary assert from Entity (#94711) 2023-06-16 14:07:25 +02:00
Erik MontnemeryandGitHub 92bba4d7be Fix typo in binary_sensor tests (#94712) 2023-06-16 13:57:42 +02:00
Matthias AlphartandGitHub 0ac50b4933 Update xknxproject to 3.2.0: support ETS 4 project files (#94692)
Update xknxproject to 3.2.0
2023-06-16 10:16:31 +02:00
Tom HarrisandGitHub ea0e1c54d6 Handle Insteon events correctly (#94549)
Make events generalized
2023-06-16 09:35:44 +02:00
Raman GuptaandGitHub 934e1a1603 Fix zwave_js trigger event reattach logic (#94702) 2023-06-16 09:35:29 +02:00
Alistair TudorandGitHub 843a15b1bb Fix unit for Habitica text sensors (#94550) 2023-06-16 09:33:02 +02:00
Joost LekkerkerkerandGitHub 4eefbfd4f2 Add strings for YouTube reauthentication (#94655) 2023-06-16 09:10:55 +02:00
G JohanssonandGitHub 72c1273d25 Fix Command Line update twice issue (#94672)
Command Line update twice issue
2023-06-16 09:08:51 +02:00
Franck NijhofandGitHub be05a749c5 Add preheating HVAC action to climate (#94677)
* Add preheating HVAC action to climate

* Fix MQTT tests
2023-06-15 22:16:12 -04:00
J. Nick KostonandGitHub 26be0fab78 Fix debouncer not scheduling timer when wrapped function raises (#94689)
* Fix debouncer not scheduling timer when callback function raises

* test coro as well

* preen
2023-06-15 22:15:49 -04:00
J. Nick KostonandGitHub 34b725bb99 Debounce discoveries to improve event loop stability at the started event (#94690)
* Debounce discoveries to improve event loop stability at the started event

The first one is immediate and anything that fires within the next
second will be debounced to only happen once every second

* fix mock
2023-06-15 22:15:07 -04:00
J. Nick KostonandGitHub 7e3510800d Bump bluetooth-data-tools to 1.2.0 (#94696)
changelog: https://github.com/Bluetooth-Devices/bluetooth-data-tools/compare/v1.1.0...v1.2.0

benchmark (0.4.0) currently in 2023.6.x: Parsing 100000 bluetooth messages took 8.928823958034627 seconds
benchmark (1.2.0) this PR: Parsing 100000 bluetooth messages took 1.6808899159659632 seconds
2023-06-15 22:11:14 -04:00
Dirk SarodnickandGitHub 3440c1615d Fix bluetooth tracker asyncio usage (#94695)
* fix for asyncio usage

fixes the error "Passing coroutines is forbidden, use tasks explicitly", caused by passing an async function into asyncio.wait directly instead of creating a task for it.

* removes unnecessary default param

* corrects formatting for black
2023-06-15 22:10:04 -04:00
J. Nick KostonandGitHub 45bf1235d8 Remove airplay filter now that apple tv supports airplay 2 (#94693)
remove airplay filter
2023-06-15 22:09:10 -04:00
J. Nick KostonandGitHub 298f763f12 Drop codeowner for myq (#94699)
All of my garage doors have been migrated to using
https://esphome-ratgdo.github.io/esphome-ratgdo/

All of my gates have been migrated to using a
KC868-A4 board https://www.kincony.com/kc868-a4-digital-input-trigger-relay-output-esphome.html

I no longer use myq in production as there is now a
viable esphome replacement every place I was using
myq
2023-06-15 21:15:33 -04:00
Jan BouwhuisandGitHub 5e55f83cbc Correct imap sensor measurement class and add suggested precision (#94060)
* Fix imap sensor measurement class and precision

* Test measurement class is set correctly

* Remove unrelated changes

* Move EntityDescription to module level
2023-06-16 00:44:58 +02:00
Michał ModzelewskiandGitHub b104680c6d Bump pyatv to 0.13.0 (#94683) 2023-06-15 11:57:36 -10:00
Franck NijhofandGitHub 21bdcd6b63 Remove str as a valid HVACMode & HVACAction type (#94644)
* Remove str as a valid HAVCMode type

* Adjust pylint plugin

* Also remove str from hvac_action property method
2023-06-15 20:16:17 +02:00
Franck NijhofandGitHub 324bd9a97a Fix HAVCAction typing in Atag (#94656) 2023-06-15 18:43:56 +02:00
Franck NijhofandGitHub 81d46fe2b2 Fix HAVCAction typing in Balboa Spa Client (#94658) 2023-06-15 18:43:32 +02:00
Franck NijhofandGitHub 68f87fe42a Fix HAVCAction typing in Genius Hub (#94659) 2023-06-15 18:43:11 +02:00
Franck NijhofandGitHub 7e5a9ea6c7 Fix HAVCAction typing in Overkiz (#94660) 2023-06-15 18:42:46 +02:00
562f0d3c52 Fortios device tracker updates (#92331)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2023-06-15 15:34:14 +02:00
Franck NijhofandGitHub a7955e4458 Fix HAVCMode typing in Elk-M1 Control (#94639) 2023-06-15 15:27:49 +02:00
Franck NijhofandGitHub d78429ad95 Use HAVCMode enum in Atag climate (#94634) 2023-06-15 14:14:25 +02:00
Franck NijhofandGitHub 204833b745 Fix HAVCMode typing in Rheem EcoNet (#94637) 2023-06-15 14:13:59 +02:00
Franck NijhofandGitHub 998a45879e Use HAVCMode enum in BSB-Lan climate (#94638) 2023-06-15 14:13:20 +02:00
Franck NijhofandGitHub 908f3386e7 Fix HAVCMode typing in ESPHome (#94630) 2023-06-15 14:12:11 +02:00
Franck NijhofandGitHub 6f106e6505 Fix HAVCMode typing in AVM FRITZ!SmartHome (#94642) 2023-06-15 14:11:18 +02:00
Franck NijhofandGitHub e899cb3caa Fix HAVCMode typing in Genius Hub (#94640) 2023-06-15 14:08:38 +02:00
Franck NijhofandGitHub b1abe6812b Fix HAVCMode typing in Honeywell Total Connect Comfort (#94636) 2023-06-15 14:07:41 +02:00
Franck NijhofandGitHub e49f1b002f Fix HAVCMode typing in Fibaro (#94641) 2023-06-15 14:07:08 +02:00
Franck NijhofandGitHub 1d3a7512d8 Fix HAVCMode typing in Overkiz (#94632) 2023-06-15 14:06:06 +02:00
Franck NijhofandGitHub 886dea59c3 Fix HAVCMode typing in Tuya (#94631) 2023-06-15 14:05:08 +02:00
Franck NijhofandGitHub 6c4fe9fc3b Fix HAVCMode typing in Intellifire (#94633) 2023-06-15 14:04:38 +02:00
DominikandGitHub 64d914d56d Bump minimum typing_extensions to 4.6.3 (#94587) 2023-06-15 12:30:52 +02:00