Commit Graph

961 Commits (5dc390b6b93a1f800badfb10389790c34bfc85f6)

Author SHA1 Message Date
Joost Lekkerkerker 474544abd8
Make wake word selection part of configuration (#131832) 2024-11-28 13:45:51 +01:00
J. Nick Koston cf7acb5ae8
Bump aioesphomeapi to 27.0.3 (#131773) 2024-11-27 15:29:29 -08:00
Michael Hansen 46fe3dcbf1
Add wake word select for ESPHome Assist satellite (#131309)
* Add wake word select

* Fix linting

* Move to ESPHome

* Clean up and add more tests

* Update homeassistant/components/esphome/select.py

---------

Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2024-11-26 22:59:49 -05:00
Michael 70c8c57401
Dump ffmpeg stderr to ESPhome debug log (#130808)
* dump the stderr from ffmpeg to debug log

* add pid to indentify the ffmpeg process

* be more explosive :)

* move stderr task into _write_ffmpeg_data
2024-11-27 00:09:04 +01:00
J. Nick Koston 60cf797650
Bump aioesphomeapi to 27.0.2 (#131397)
Fixes for cancellation during Bluetooth connect

changelog: https://github.com/esphome/aioesphomeapi/compare/v27.0.1...v27.0.2

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2024-11-23 17:25:45 -08:00
Jesse Hills ba042e2325
Fix typo in ESPHome repair text (#131200) 2024-11-21 19:42:08 +01:00
Marcel van der Veldt 9bbf9be95f
Add optional flag to bypass the media proxy in esphome media players (#131191)
* Add optional flag to play_media to bypass media proxy

* use constants

* add test
2024-11-21 11:47:22 -05:00
Joost Lekkerkerker e6225e3dcc
Drop current quality scale (#131072) 2024-11-20 20:54:15 +01:00
Michael d8dd6d6abe
Fix unexpected stop of media playback via ffmpeg proxy for ESPhome devices (#130788)
disable writing progress stats to stderr in ffmpeg command
2024-11-17 01:58:25 +01:00
Jesse Hills a1f5e4f37a
Do not create ESPHome Dashboard update entity if no configuration found (#129751) 2024-11-15 17:22:06 +01:00
Markus ee30520b57
Fix esphome mqtt discovery by handling case where payload is a empty string (#129969)
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-11-07 11:16:01 -06:00
Paulus Schoutsen 689260f581
Fix ESPHome dashboard check (#129812) 2024-11-04 17:37:14 +01:00
Jesse Hills 87ab2beddf
Only set ESPHome configuration url to addon if there is an existing configuration for the device (#129356)
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-11-03 18:16:49 -06:00
epenet d6e73a89f3
Cleanup unnecessary __init__ method in OptionsFlow (#129651)
* Cleanup unnecessary init step in OptionsFlow

* Increase coverage
2024-11-02 18:15:41 +01:00
J. Nick Koston f55aa0b86e
Bump aioesphomeapi to 27.0.1 (#129643) 2024-11-01 13:16:15 -05:00
epenet 602ec54579
Set config_entry explicitly to None in relevant components (#129427)
Set config_entry explicitly to None in components
2024-10-30 19:32:10 +01:00
Erik Montnemery b4e69bab71
Improve shutdown of esphome ffmpeg proxy (#129326)
* Improve shutdown of esphome ffmpeg proxy

* Add test
2024-10-30 13:46:05 +01:00
Robert Resch 380974eed4
Remove hassio from ALLOWED_USED_COMPONENTS and move some functions to helper (#127228)
* Remove hassio from ALLOWED_USED_COMPONENTS

* Move HassioServiceInfo to helpers.service_info

* Deprecate moved functions

* Add note about deprecation

* Fix tests

* Implement suggestion

* Typo

* Update pyproject.toml

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

---------

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2024-10-30 12:43:41 +01:00
Erik Montnemery ecbb417736
Report update_percentage in esphome update entity (#129376) 2024-10-29 17:51:54 +01:00
Erik Montnemery 56fb61bd6f
Refactor esphome ffmpeg proxy (#129330) 2024-10-29 16:26:32 +01:00
Michael Hansen dd9ce34d18
Allow a fixed number of ffmpeg proxy conversions per device (#129246)
Allow a fixed number of conversions per device
2024-10-28 13:26:43 -07:00
Erik Montnemery 2888e5748e
Fix ESPHome media proxy exit criteria (#129267) 2024-10-27 12:39:49 -05:00
Michael Hansen 0b4e3c3db5
Remove category from Assist satellite entities (#129172) 2024-10-25 18:43:42 +02:00
G Johansson cdfec7ebb4
Implement new state property for alarm_control_panel which is using an enum (#126283)
* Alarm state from enum

* Fixes

* Set final

* Fix rebase

* Test const

* Fix breaking version

* Fix other for alarm_control_panel

* Fix integrations

* More

* More

* More

* More

* Fix zha

* Replace _attr_state

* Fix alarm_control_panel

* Fix tests

* Fixes

* Mods

* Change some

* More

* More

* More

* Tests

* Last tests

* Return enum

* Fix zha

* Remove not needed check

* Fix wording

* Fix homekit

* Mod prometheus

* Fix mypy

* Fix homekit

* Fix ifttt
2024-10-21 22:54:27 +02:00
Michael Hansen f21c8d895f
Block until config is retrieved when adding satellite entity to HA (#128685)
Block until config is retrieved
2024-10-18 16:01:18 -04:00
Michael Hansen 1a9c6deb0d
Remove metadata and cover art using ffmpeg proxy conversion (#128603)
Remove metadata and cover art
2024-10-17 16:41:44 -04:00
Marc Mueller e6bc1f0730
Update bleak-esphome to 1.1.0 (#127692) 2024-10-06 03:20:04 +02:00
epenet a218f4adc3
Use reauth helpers in esphome config flow (#127419)
Use _get_reauth_entry in esphome config flow
2024-10-03 14:38:14 +02:00
Michael Hansen 40dbfab671
Run unsubscribe callbacks when Assist satellite entity is removed from HA (#127234)
* Unsubscribe when removed from HA

* Use builtin async_on_remove
2024-10-01 23:58:47 +02:00
Erik Montnemery 46480c5624
Store esphome flow data in flow handler attributes (#127170) 2024-10-01 11:10:38 +02:00
Michael Hansen fbeee11fd7
Don't log voice assistant config timeout error (#127010)
Don't log config timeout error
2024-09-28 18:46:01 -04:00
Michael Hansen 6373347d65
Adjust "Assist in progress" sensor in ESPHome (#126928)
Adjust sensor
2024-09-27 11:10:50 -04:00
Michael Hansen 9db5b481be
Fix ESPHome and VoIP Assist satellite entity names (#126229)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2024-09-26 20:22:09 +02:00
Sid 77642b9e3d
Bump ruff to 0.6.8 (#126842) 2024-09-26 19:13:08 +02:00
Erik Montnemery 58eccc1ed6
Bump deprecation of ESPHome assist in progress binary sensor (#126604) 2024-09-24 11:29:19 +02:00
Michael Hansen 4869309997
Get updated Assist satellite config after setting it in ESPHome (#126552)
Get updated config after setting it
2024-09-23 20:36:53 -04:00
Erik Montnemery 0fc7bc2762
Fix a couple of stale ESPHome docstrings (#126508) 2024-09-23 14:19:17 +02:00
Erik Montnemery 6cd99e4ed4
Add issue asking users to disable ESPHome assist_in_progress sensor (#125805)
* Add issue asking users to disable ESPHome assist_in_progress binary sensor

* Include integration name in title and description

* Add repair flow

* Improve test coverage
2024-09-21 17:14:12 -04:00
Michael Hansen 123b6b687e
Route non-TTS media through ESPHome ffmpeg proxy (#126287)
* Route non-TTS media through proxy

* Use media_id_source
2024-09-20 13:57:55 -04:00
Paulus Schoutsen 604c848dec
Change assist satellite announce method signature (#126299) 2024-09-20 08:09:37 -05:00
Michael Hansen d1a4838802
Allow one reusable proxy URL per ESPHome device (#125845)
* Allow one reusable URL per device

* Move process to convert info

* Stop previous process

* Change to 404

* Better error handling
2024-09-19 00:05:09 -04:00
Michael Hansen 6eab5e3e14
Add ESPHome Assist satellite configuration (#126085)
* Basic implementation

* Add websocket commands

* Clean up

* Add callback to other signatures

* Remove unused constant

* Re-add callback

* Add callback to test

* Implement get/set configuration

* Add tests

* Re-add constant

* Bump aioesphomeapi

---------

Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2024-09-16 22:08:39 -05:00
Michael Hansen dde989685c
Add Assist satellite configuration (#126063)
* Basic implementation

* Add websocket commands

* Clean up

* Add callback to other signatures

* Remove unused constant

* Re-add callback

* Add callback to test
2024-09-16 22:34:07 -04:00
Michael Hansen 3dd6418160
Use sample bytes in ESPHome media format (#126016) 2024-09-16 10:10:07 +02:00
Michael Hansen 3eed5de367
Handle announcement finished for ESPHome TTS response (#125625)
* Handle announcement finished for TTS response

* Adjust test
2024-09-13 16:31:38 -04:00
Michael Hansen cabaf37437
Bump aioesphomeapi and adjust handle_stop (#125907)
* Bump aioesphomeapi and adjust handle_stop

* Stop audio stream too

* Update homeassistant/components/esphome/assist_satellite.py

Co-authored-by: Paulus Schoutsen <balloob@gmail.com>

---------

Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2024-09-13 16:05:11 -04:00
epenet 47a9dda3b8
Use root import in components (#125858) 2024-09-12 22:21:21 +02:00
Erik Montnemery e89b258970
Disable ESPHome assist_in_progress binary sensor (#125802) 2024-09-12 09:07:01 +02:00
Michael Hansen c01bdd860a
Unload assist satellite platform on disconnect (#125697) 2024-09-10 20:50:22 -04:00
Michael Hansen 1dc496a2dd
Add announce support to ESPHome Assist Satellite platform (#125157)
Rebuild
2024-09-09 08:25:25 -04:00