Paulus Schoutsen
9293afd95a
Ensure legacy TTS providers are hidden if entity exists ( #143992 )
2025-05-01 21:41:29 +00:00
Paulus Schoutsen
fdcb88977a
Add voice styles to HA Cloud ( #143605 )
...
* Add voice styles to HA Cloud
* Add seperator and extract util
2025-04-24 16:23:15 -04:00
Paulus Schoutsen
fa80c0a88d
Bump hass-nabucasa to 0.96.0 ( #143542 )
...
* Bump hass-nabucasa to 0.96.0
* Adjust for new voice info format
2025-04-24 13:12:11 -04:00
Paulus Schoutsen
7aeefa1400
Only store strings in cloud TTS default options ( #140332 )
...
* Only store strings in cloud TTS default options
* more type check
* Don't stringify strenum
2025-03-11 15:28:13 -04:00
Erik Montnemery
f83c8de8d3
Update signature of platforms' async_setup_entry ( #138201 )
2025-02-10 21:08:03 +01:00
Joakim Sørensen
dd1def3c5d
Add default voice for languages in cloud TTS ( #137300 )
...
* Add default voice for languages in cloud TTS
* Add test
* use defined voice
* Add test to ensure all default voices are valid
2025-02-04 13:32:33 +01:00
epenet
d5568ff955
Standardize homeassistant imports in full-CI components ( #136731 )
...
Standardize homeassistant imports in components
2025-01-28 13:11:19 -05:00
Erik Montnemery
53479b5924
Adjust name of legacy Home Assistant Cloud TTS provider ( #124685 )
2024-08-27 15:13:58 +02:00
epenet
ea09d0cbed
Use HassKey in cloud integration ( #120322 )
2024-06-24 21:02:08 +02:00
Paulus Schoutsen
d2e4f5f36e
Add conversation entity ( #114518 )
...
* Default agent as entity
* Migrate constant to point at new value
* Fix tests
* Fix more tests
* Move assist pipeline back to cloud after dependenceis
2024-04-01 21:34:25 -04:00
Martin Hjelmare
f9aa7d34f8
Use fallback voice for selected language in cloud ( #114246 )
...
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2024-03-28 15:44:50 +01:00
Martin Hjelmare
ac008a4c6d
Deprecate cloud tts gender ( #112256 )
...
* Deprecate cloud tts gender option
* Update http api and prefs
* Test migration of prefs to minor version 4
* Adjust breaking date
* Add test for bad voice in http api
* Flatten tts info
* Fix comments
* Fix comment date
Co-authored-by: Erik Montnemery <erik@montnemery.com>
* Clarify voice validator
---------
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2024-03-20 09:42:40 +01:00
Marc Mueller
ff3a801936
Add empty line after module docstring [a-d] ( #112697 )
2024-03-08 14:51:32 +01:00
Martin Hjelmare
f140c1a46d
Deprecate cloud tts platform config ( #110461 )
...
* Deprecate cloud tts platform config
* Add test
2024-02-13 13:00:42 +01:00
Martin Hjelmare
e1576d5998
Handle deprecated cloud tts voice ( #109124 )
...
* Handle deprecated cloud tts voice
* Add test
* Fix test logic
* Add breaks in ha version
* Adjust translation string
2024-01-30 21:58:16 +01:00
Martin Hjelmare
e086cd9fef
Add cloud tts entity ( #108293 )
...
* Add cloud tts entity
* Test test_login_view_missing_entity
* Fix pipeline iteration for migration
* Update tests
* Make migration more strict
* Fix docstring
2024-01-22 17:24:15 +01: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
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
Erik Montnemery
30d9d7d905
Minor adjustment of tts typing ( #93450 )
2023-05-24 21:02:55 +02:00
Erik Montnemery
937ebb374c
Enable strict type checks of cloud ( #92576 )
...
* Enable strict type checks of cloud
* Fix circular import
* Address review comments
* Apply suggestions from code review
2023-05-24 11:46:11 +02:00
Erik Montnemery
ed737f306b
Remove cloud assist pipeline setup from cloud client ( #92056 )
2023-04-26 06:53:58 -04:00
Erik Montnemery
57a59d808b
Automaticially create an assist pipeline using cloud stt + tts ( #91991 )
...
* Automaticially create an assist pipeline using cloud stt + tts
* Return the id of the cloud enabled pipeline
* Wait for platforms to load
* Fix typing
* Fix startup race
* Update tests
* Create a cloud pipeline only when logging in
* Fix tests
* Tweak _async_resolve_default_pipeline_settings
* Improve assist_pipeline test coverage
* Improve cloud test coverage
2023-04-25 20:40:01 -05:00
Joakim Sørensen
083f42cce6
Bump hass-nabucasa from 0.65.0 to 0.66.1 ( #92020 )
2023-04-25 21:00:23 +02:00
Paulus Schoutsen
1eef4af493
Use configured voice in TTS output for assist pipeline ( #91878 )
2023-04-22 22:01:32 -04:00
Erik Montnemery
9a0de43f98
Add name to tts voices ( #91814 )
...
* Add name to tts voices
* Add new file
2023-04-21 20:41:14 -04:00
Erik Montnemery
f3e6d6dfc0
Add async_get_supported_voices to tts.Provider ( #91649 )
...
* Add async_get_supported_voices to tts.Provider
* Update WS API
2023-04-19 13:47:49 +02:00
Paulus Schoutsen
f3897d8dae
Bump hass-nabucasa to 0.65.0 ( #91565 )
2023-04-18 08:42:03 -04:00
Paulus Schoutsen
86e9f6643f
Allow TTS requests to resolve in the background ( #90944 )
2023-04-06 10:42:55 -05:00
Paulus Schoutsen
9b9ed21dc4
Update hass-nabucasa to 0.62.0 ( #90085 )
2023-03-22 13:24:28 +01:00
Marc Mueller
2b72b7b7b9
Use assignment expressions 09 ( #57790 )
2021-10-17 20:19:56 +02:00
Shay Levy
cf228e3fe5
Add constructor return type in integrations A-D ( #50903 )
2021-05-20 18:51:39 +03:00
Paulus Schoutsen
82746616fa
Cloud: Add web socket API to pick default TTS language ( #45064 )
...
* Allow picking default TTS language
* Fix test
* Fix coroutine function
* Improve test coverage
* Remove stale import
* Clean up hass
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-01-13 00:05:30 +01:00
Klaas Schoute
b358103b58
Update cloud integration to 0.38.0 ( #43314 )
...
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2020-11-17 16:31:59 +01:00
Bas Nijholt
fbd4cf1089
use isort to sort imports according to PEP8 for cloud ( #29626 )
2019-12-08 22:31:12 +05:30
Pascal Vizeli
005a1b2713
Add additional support over NC ( #28527 )
...
* Add voice support over NC
* Add disocery support for TTS / STT
* fix cloud TTS discovery
* Fix dev config
* Fix discovery
* Bump hass-nabucasa 0.25
* Add channel support
* Fix lint
* Update homeassistant/components/cloud/__init__.py
Co-Authored-By: Paulus Schoutsen <balloob@gmail.com>
* Update homeassistant/components/cloud/tts.py
Co-Authored-By: Paulus Schoutsen <balloob@gmail.com>
* Update homeassistant/components/cloud/tts.py
Co-Authored-By: Paulus Schoutsen <balloob@gmail.com>
* Update homeassistant/components/cloud/tts.py
Co-Authored-By: Paulus Schoutsen <balloob@gmail.com>
* bump hass-nabucasa
* Update tts.py
* fix lint
2019-11-05 22:39:15 +01:00