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
Michael Hansen
0b4e3c3db5
Remove category from Assist satellite entities ( #129172 )
2024-10-25 18:43:42 +02:00
Michael Hansen
11ac8f8006
Add conversation agent to Wyoming ( #124373 )
...
* Add conversation agent to Wyoming
* Remove error
* Remove conversation platform from satellite list
* Clean up
* Update homeassistant/components/wyoming/conversation.py
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
* Remove unnecessary attribute
---------
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2024-10-16 09:07:56 -05:00
Michael Hansen
bcac851677
Migrate Wyoming satellite to Assist satellite entity ( #128488 )
...
* Migrate Wyoming satellite to Assist satellite entity
* Fix tests
* Update homeassistant/components/wyoming/assist_satellite.py
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
* Update homeassistant/components/wyoming/assist_satellite.py
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
---------
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2024-10-16 08:59:44 -05:00
Erik Montnemery
3052eca564
Remove unused custom flow context key 'name' from wyoming ( #127182 )
2024-10-01 12:25:39 +02:00
Erik Montnemery
56031b2e1a
Disable Wyoming assist_in_progress binary sensor ( #125806 )
2024-09-12 13:33:35 -05:00
epenet
0bb8c4832d
Enable raise-within-try (TRY301) rule in ruff ( #123351 )
2024-08-12 09:16:33 +02:00
epenet
79a741486c
Fix implicit-return in wyoming ( #122946 )
2024-07-31 20:42:57 +02:00
Michael Hansen
d5388452d4
Use finished speaking detection in ESPHome/Wyoming ( #122962 )
2024-07-31 20:39:03 +02:00
Marc Mueller
ca55986057
Import Generator from collections.abc (1) ( #120914 )
2024-07-01 11:51:51 +02:00
Michael Hansen
18767154df
Generate and keep conversation id for Wyoming satellite ( #118835 )
2024-06-21 13:24:53 +02:00
Marc Mueller
fe21e2b8ba
Import Generator from typing_extensions (1) ( #118986 )
2024-06-06 17:02:13 +02:00
Michael Hansen
d223e1f2ac
Add Conversation command to timers ( #118325 )
...
* Add Assist command to timers
* Rename to conversation_command. Execute in timer code.
* Make agent_id optional
* Fix arg
---------
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2024-05-28 20:33:31 -05:00
Michael Hansen
06d6f99964
Respect WyomingSatelliteMuteSwitch state on start ( #118320 )
...
* Respect WyomingSatelliteMuteSwitch state on start
* Fix test
---------
Co-authored-by: Kostas Chatzikokolakis <kostas@chatzi.org>
2024-05-28 14:55:02 -04:00
Kostas Chatzikokolakis
14132b5090
Don't set 'assist in progess' flag on wake_word-end ( #113585 )
2024-05-28 11:09:59 -05:00
Michael Hansen
3766c72ddb
Forward timer events to Wyoming satellites ( #118128 )
...
* Add timer tests
* Forward timer events to satellites
* Use config entry for background tasks
2024-05-26 17:29:46 -04:00
Paulus Schoutsen
a95baf0d39
Set integration type for wyoming ( #117519 )
...
* Set integration type to wyoming
* Add entry_type
2024-05-15 16:17:49 -04:00
Sid
2cc916db6d
Replace pylint broad-except with Ruff BLE001 ( #116250 )
2024-05-07 14:00:27 +02:00
Sid
a5b609f081
Enable ruff TRY401 ( #114395 )
...
* Enable ruff TRY401
* fix tests
2024-03-29 07:20:36 +01:00
Paulus Schoutsen
f416d67d21
Remove built-in support for import_executor in manifest ( #112725 )
2024-03-08 12:02:32 -05:00
Marc Mueller
c773d57d39
Add empty line after module docstring [w-z] ( #112706 )
2024-03-08 10:35:45 -05:00
J. Nick Koston
9fff638311
Load wyoming in the executor to avoid blocking the event loop ( #112107 )
2024-03-03 08:56:08 -06:00
Erik Montnemery
9ec9ac4fd4
Migrate integrations u-z to generic flowhandler ( #111866 )
2024-02-29 20:08:16 +01:00
Michael Hansen
f0deae319e
Use correct service name with Wyoming satellite + local wake word detection ( #111870 )
...
* Use correct service name with satellite + local wake word detection
* Don't load platforms for satellite services
* Update homeassistant/components/wyoming/data.py
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
* Fix ruff error
---------
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2024-02-29 13:09:38 -05:00
Michael Hansen
f6622ea8e0
Add speech-to-text cooldown for local wake word ( #108806 )
...
* Deconflict based on wake word
* Undo test
* Make wake up key a string, rename error
* Update snapshot
* Change to "wake word phrase" and normalize
* Move normalization into the wake provider
* Working on describe
* Use satellite info to resolve wake word phrase
* Add test for wake word phrase
* Match phrase with model name in wake word provider
* Check model id
* Use one constant wake word cooldown
* Update homeassistant/components/assist_pipeline/error.py
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
* Fix wake word tests
---------
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2024-02-26 20:35:19 -05:00
Luis Andrade
d3c53a1cef
Fix another name missing in wyoming getLogger ( #111390 )
...
bugfix wyoming getLogger
2024-02-25 21:41:07 +01:00
Marc Mueller
8b0c9d3d18
Use builtin TimeoutError [t-z] ( #109683 )
2024-02-05 12:20:36 +01:00
Luis Andrade
175ec81269
bugfix: name missing in getLogger ( #109282 )
2024-02-01 09:00:22 +01:00
Michael Hansen
cffd95a015
Pause Wyoming satellite on mute ( #108322 )
...
Pause satellite on mute
2024-01-23 20:37:25 -05:00
Michael Hansen
db81f4d046
Wyoming satellite ping and bugfix for local wake word ( #108164 )
...
* Refactor with ping
* Fix tests
* Increase test coverage
2024-01-16 15:43:30 -06:00
Paulus Schoutsen
f1d2868fd0
Add API to fetch Assist devices ( #107333 )
...
* Add API to fetch Assist devices
* Revert some changes to fixture, make a single fixture for an Assist device
2024-01-05 23:30:18 -05:00
Michael Hansen
aaccf19013
Rename "satellite enabled" to "mute" ( #105619 )
2023-12-13 09:09:22 +01:00
Michael Hansen
80607f7750
Disconnect before reconnecting to satellite ( #105500 )
...
Disconnect before reconnecting
2023-12-11 11:18:46 -05:00
Michael Hansen
43daeb2630
Set device id and forward errors to Wyoming satellites ( #105266 )
...
* Set device id and forward errors
* Fix tests
2023-12-07 19:44:43 -06:00
Michael Hansen
e9f8e7ab50
Add Wyoming satellite audio settings ( #105261 )
...
* Add noise suppression level
* Add auto gain and volume multiplier
* Always use mock TTS dir in Wyoming tests
* More tests
2023-12-07 17:02:55 -05:00
Michael Hansen
a9381d2590
Add Wyoming satellite ( #104759 )
...
* First draft of Wyoming satellite
* Set up homeassistant in tests
* Move satellite
* Add devices with binary sensor and select
* Add more events
* Add satellite enabled switch
* Fix mistake
* Only set up necessary platforms for satellites
* Lots of fixes
* Add tests
* Use config entry id as satellite id
* Initial satellite test
* Add satellite pipeline test
* More tests
* More satellite tests
* Only support single device per config entry
* Address comments
* Make a copy of platforms
2023-12-04 15:13:15 -05:00
Michael Hansen
ae516ffbb5
Automatically convert TTS audio to MP3 on demand ( #102814 )
...
* Add ATTR_PREFERRED_FORMAT to TTS for auto-converting audio
* Move conversion into SpeechManager
* Handle None case for expected_extension
* Only use ATTR_AUDIO_OUTPUT
* Prefer MP3 in pipelines
* Automatically convert to mp3 on demand
* Add preferred audio format
* Break out preferred format
* Add ATTR_BLOCKING to allow async fetching
* Make a copy of supported options
* Fix MaryTTS tests
* Update ESPHome to use "wav" instead of "raw"
* Clean up tests, remove blocking
* Clean up rest of TTS tests
* Fix ESPHome tests
* More test coverage
2023-11-06 15:26:00 -05:00
Michael Hansen
257686fcfe
Dynamic wake word loading for Wyoming ( #101827 )
...
* Change supported_wake_words property to async method
* Add test
* Add timeout + test
---------
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2023-10-11 10:21:32 -07:00
Michael Hansen
d73cc1eecd
Use wake word description if available ( #101079 )
2023-09-28 15:30:43 -05:00
Michael Hansen
af8367a8c6
Send Wyoming Detect message during wake word detection ( #100968 )
...
* Send Detect message with desired wake word
* Add tests
* Fix test
2023-09-26 19:24:02 -05:00
Erik Montnemery
734c4e8e32
Rename WakeWord.ww_id to WakeWord.id ( #100903 )
...
* Rename WakeWord.ww_id to WakeWord.wake_word_id
* Revert unrelated changes
* Rename to id
* Correct rebase
2023-09-26 19:12:16 +02:00
Paulus Schoutsen
23b239ba77
Allow passing a wake word ID to detect wake word ( #100832 )
...
* Allow passing a wake word ID to detect wake word
* Do not inject default wake words in wake_word integration
2023-09-25 15:33:54 +02:00
Michael Hansen
07884026c6
Detect wake word services in hassio discovery ( #98827 )
2023-08-22 11:31:09 -04:00
Marc Mueller
8b0fdd6fd2
Use asyncio.timeout [s-z] ( #98452 )
2023-08-15 14:34:18 +02:00
Michael Hansen
7ea2998b55
Add wake word integration ( #96380 )
...
* Add wake component
* Add wake support to Wyoming
* Add helper function to assist_pipeline (not complete)
* Rename wake to wake_word
* Fix platform
* Use send_event and clean up
* Merge wake word into pipeline
* Add wake option to async_pipeline_from_audio_stream
* Add start/end stages to async_pipeline_from_audio_stream
* Add wake timeout
* Remove layer in wake_output
* Use VAD for wake word timeout
* Include audio metadata in wake-start
* Remove unnecessary websocket command
* wake -> wake_word
* Incorporate feedback
* Clean up wake_word tests
* Add wyoming wake word tests
* Add pipeline wake word test
* Add last processed state
* Fix tests
* Add tests for wake word
* More tests for the codebot
2023-08-07 22:22:16 -04:00
Michael Hansen
8ad37d7640
Send language to Wyoming STT ( #97344 )
2023-08-01 10:05:01 +02:00
Michael Hansen
8cccfcc946
Bump wyoming to 1.1 ( #96778 )
2023-07-17 15:58:05 -05:00
Michael Hansen
afdded58ee
Wyoming Piper 1.1 ( #96490 )
...
* Add voice/speaker options to Piper TTS
* Use description if available
* Fix tests
* Clean up if
2023-07-14 08:56:27 -04:00
Michael Hansen
5c3ec8774d
Fix async_timeout deprecation warning ( #94594 )
...
* Fix async_timeout deprecation warning
* Combine async with
2023-06-14 14:26:24 -05:00
c0ffeeca7
c3a3ddcfa4
Standardize spelling of TTS and STT ( #93857 )
...
* Standardize spelling of TTS and STT
* Apply suggestions from code review
* Update homeassistant/components/tts/media_source.py
---------
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2023-05-31 11:00:19 -04:00