J. Nick Koston
ee535ee611
Ensure test async_create_task eager start behavior matches production ( #115517 )
2024-04-13 15:58:52 -05:00
J. Nick Koston
ca5ed274cb
Deprecate calling async_listen and async_listen_once with run_immediately ( #115169 )
2024-04-08 10:07:54 -10:00
Joakim Sørensen
df6997bfa9
Downgrade hass-nabucasa from 0.80.0 to 0.78.0 ( #115078 )
2024-04-07 08:20:58 -04:00
Marc Mueller
d24cf9e4ec
Improve generic event typing [cloud] ( #114728 )
2024-04-06 13:59:12 +02:00
Sid
0d66d298ec
Enable Ruff RET504 ( #114528 )
...
* Enable Ruff RET504
* fix test
* Use noqa instead of cast
* fix sonos RET504
---------
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2024-04-06 11:07:37 +02:00
Joakim Sørensen
96149d9444
Bump hass-nabucasa from 0.79.0 to 0.80.0 ( #114818 )
...
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2024-04-05 00:48:21 +02:00
J. Nick Koston
d17f308c6a
Small speed up to starting and stopping cloud ( #114696 )
2024-04-02 23:47:22 -04: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
Sid
6587ee20db
Enable Ruff TRY300 ( #114437 )
...
* Enable Ruff TRY300
* Update validation.py
* Address review comments
2024-03-30 10:37:59 +01: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
Marc Mueller
1120745d4e
Update SignalType imports ( #114287 )
2024-03-27 19:41:11 +01:00
Erik Montnemery
23e9be756d
Fix exception when logging out from cloud ( #114306 )
...
* Fix exception when logging out from cloud
* Add test
2024-03-27 16:02:47 +01:00
Marc Mueller
81c34ac952
Fix spelling [docstrings + comments] ( #114168 )
2024-03-25 11:33:00 +01:00
Joakim Sørensen
a2143a7c1a
Return default repairs flow for cloud TTS issues ( #113981 )
...
* Set TTS repairs as not fixable
* Return default confirm flow for fixable cloud issues
* Depend on repairs
* Test default repair flow
---------
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2024-03-22 11:20:47 +01:00
Paul Bottein
eafb4190ef
Change quotes in cloud translations ( #113871 )
...
* Escape quote in cloud translations
* Update homeassistant/components/cloud/strings.json
Co-authored-by: Joakim Sørensen <ludeeus@ludeeus.dev>
* Update homeassistant/components/cloud/strings.json
Co-authored-by: Joakim Sørensen <ludeeus@ludeeus.dev>
* Update homeassistant/components/cloud/strings.json
---------
Co-authored-by: Joakim Sørensen <ludeeus@ludeeus.dev>
2024-03-20 07:35:34 -04: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
Erik Montnemery
4381780936
Add WS command cloud/remove_data ( #109821 )
2024-03-19 10:22:58 +01:00
Joakim Sørensen
a6594f8860
Bump hass-nabucasa from 0.78.0 to 0.79.0 ( #113405 )
2024-03-14 12:54:43 +01:00
Joost Lekkerkerker
c75342bd9a
Improve lists in integrations [C-D] ( #113072 )
2024-03-11 18:58:35 +01:00
Marc Mueller
2c06d4fcb9
Add empty line after module docstring (2) [components] ( #112736 )
2024-03-08 19:15:59 +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
ff3a801936
Add empty line after module docstring [a-d] ( #112697 )
2024-03-08 14:51:32 +01:00
Marc Mueller
f3594c543d
Use KEY_HASS [a-g] ( #112609 )
2024-03-07 18:09:20 +01:00
J. Nick Koston
a277d0c4b5
Migrate system flows to use the discovery helper ( #112291 )
...
Ensures we are not creating new flows or loading
their platforms until the started event
once the import executor has clamed down
2024-03-05 10:01:31 -05:00
Erik Montnemery
6fe28d3764
Migrate integrations a-d to generic flowhandler ( #111861 )
2024-02-29 20:07:14 +01:00
J. Nick Koston
4ea1c5cc3c
Add support for importing integrations in the executor ( #111336 )
...
* Add support for pre-imports at setup time
alternative solution to #111331
* refactor
* refactor
* refactor
* mark >1.0s integrations
* no point in executor if already loaded
* no point in executor if already loaded
* cleanup
* cleanup
* two more
* one more
* analytics loads a lot more integrations
* cloud
* debug
* psutil, hardwre
* try zha
* Update homeassistant/setup.py
* await
* comments
* coverage
* coverage
* coverage
* move logic to loader
* move logic to loader
* preserve comments
2024-02-26 14:49:43 -05:00
Erik Montnemery
9b91da23c4
Improve logging of google_assistant messages ( #110637 )
...
* Improve logging of google_assistant messages
* Add tests
* Add test
2024-02-26 11:43:31 +01:00
Joost Lekkerkerker
33bf5d7b8b
Add icon translations to Cloud ( #111355 )
2024-02-25 14:01:41 +01:00
Erik Montnemery
3526fd66df
Add option to block remote enabling of HA Cloud remote ( #109700 )
...
* Allow blocking remote enabling of HA Cloud remote
* Fix test
2024-02-15 17:26:06 +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
Erik Montnemery
a51d3b4286
Remove store from google_assistant AbstractConfig ( #109877 )
...
* Remove store from google_assistant AbstractConfig
* Bump minor version of google_assistant store
* Fix test
* Improve comments
* Fix typo
* Refactor
* Update homeassistant/components/google_assistant/http.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Fix bug, add tests
---------
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2024-02-12 19:24:21 +01:00
Erik Montnemery
fabcf2948e
Bump hass-nabucasa from 0.77.0 to 0.78.0 ( #109813 )
2024-02-06 19:02:32 +01:00
Erik Montnemery
0cb913370f
Rename google_assistant.AbstractConfig.get_local_agent_user_id ( #109798 )
...
* Rename google_assistant.AbstractConfig get_local_agent_user_id to get_local_user_id
* Fix
2024-02-06 15:40:12 +01:00
Erik Montnemery
1519df6e55
Improve typing of cloud HTTP API ( #109780 )
2024-02-06 13:09:14 +01:00
Erik Montnemery
b7284b92ac
Clean up Alexa when logging out from cloud ( #109738 )
...
* Clean up Alexa when logging out from cloud
* Add test
2024-02-05 23:58:34 +01:00
Erik Montnemery
9d42455955
Move async_deinitialize to google_assistant AbstractConfig ( #109736 )
2024-02-05 19:53:22 +01:00
Erik Montnemery
ebda0472e9
Bump hass-nabucasa from 0.76.0 to 0.77.0 ( #109699 )
2024-02-05 15:11:39 +01:00
Marc Mueller
c82933175d
Use builtin TimeoutError [a-d] ( #109678 )
2024-02-05 11:31:33 +01:00
Joakim Sørensen
f791c77f3b
Bump hass-nabucasa from 0.75.1 to 0.76.0 ( #109296 )
2024-02-01 11:11:28 +01:00
Erik Montnemery
816c2e9500
Improve enabling of Google local fulfillment ( #109192 )
...
* Improve enabling of Google local fulfillment
* Add test
* Improve test coverage
2024-01-31 16:28:27 +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
J. Nick Koston
4b7a313ece
Use identity checks for CoreState ( #107846 )
...
Some of the checks used ==, and some used is. Switch
everything to is as its faster
2024-01-12 10:21:26 +01:00
Martin Hjelmare
f8318bbbc7
Fix cloud tts loading ( #107714 )
2024-01-12 09:47:08 +01:00
Marc Mueller
fde7a6e9ef
Improve dispatcher typing ( #106872 )
2024-01-08 09:45:37 +01:00
Robert Resch
c063bf403a
Fix mobile_app cloudhook creation ( #107068 )
2024-01-05 10:53:59 +01:00
Martin Hjelmare
e764372d1e
Move cloud binary sensor to config entry ( #106409 )
...
* Move cloud binary sensor to config entry
* Fix docstring
2023-12-26 15:12:37 +01:00
Martin Hjelmare
e1f31194f7
Move cloud stt engine to config entry ( #99608 )
...
* Migrate cloud stt to config entry
* Update default engine
* Test config flow
* Migrate pipelines with cloud stt engine to new engine id
* Fix test after rebase
* Update and add comment
* Remove cloud specifics from default stt engine
* Refactor cloud assist pipeline
* Fix cloud stt entity_id
* Try to wait for platforms before creating default pipeline
* Clean up import
* Move function in cloud assist pipeline
* Wait for tts platform loaded in stt migration
* Update deprecation dates
* Clean up not used fixture
* Add test for async_update_pipeline
* Define pipeline update interface better
* Remove leftover
* Fix tests
* Change default engine test
* Add test for missing stt entity during login
* Add and update comments
* Update config entry title
2023-12-21 13:39:02 +01:00
Ville Skyttä
24b1e01d71
Update Ruff to 0.1.8, avoid linter/formatter conflicts ( #106080 )
...
* Disable Ruff rules that may conflict with the formatter
* Upgrade Ruff to 0.1.8
- https://github.com/astral-sh/ruff/releases/tag/v0.1.7
- https://github.com/astral-sh/ruff/releases/tag/v0.1.8
* Format with Ruff 0.1.8
2023-12-20 23:55:09 +01:00
Joakim Sørensen
5b4000e759
Bump hass-nabucasa from 0.74.0 to 0.75.1 ( #105958 )
...
* Bump hass-nabucasa from 0.74.0 to 0.75.1
* Force sorting of parametrized test
* Simplify async_create_issue.severity
* use fixtures
2023-12-19 13:08:27 +01:00