Commit Graph

1225 Commits (046ae8eb1e6e305c800dba7caf38eba78762e8f0)

Author SHA1 Message Date
c0ffeeca7 c3a3ddcfa4
Standardize spelling of TTS and STT ()
* 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
Mark Kennedy b03dbeaed5
Block legacy get-mac in preference of getmac ()
Co-authored-by: GnatorX <garvinpang@protonmail.com>
2023-05-31 16:57:45 +02:00
Dara Adib 663f66a2b2
Scrape Microsoft TTS supported languages ()
* Update Microsoft TTS supported languages

`script.microsoft_tts` scrapes Microsoft Azure documentation for
the list of supported languages and saves them to
`homeassistant.generated.microsoft_tts` for use in the component.

This adds support for more TTS languages, like fa-ir (Persian).

* Improve xpath query for Microsoft TTS languages

* Remove asserts for Microsoft TTS languages

* Add more tests for Microsoft TTS languages
2023-05-25 10:46:34 +02:00
J. Nick Koston ee62584570
Add constraint for pyminiaudio to 1.57 () 2023-05-24 17:03:37 -05:00
Ludy a310b5c1c3
remove template deprecated function `device_trigger.py` ()
remove template deprecated fun `device_trigger.py`
2023-05-24 09:42:44 +02:00
J. Nick Koston bb8dfc9470
Bump protobuf to 4.23.1 () 2023-05-23 13:16:20 +02:00
Kashif Khan 7439ca5b1a
Bump azure-servicebus to 7.10.0 () 2023-05-10 12:36:44 +02:00
J. Nick Koston f95f2d1cfc
Prevent pysnmp from being installed as it does not work with newer python () 2023-04-30 20:13:47 +02:00
J. Nick Koston f38d45151a
Pin `pyasn1` and `pysnmplib` since `pyasn1` 0.5.0 has breaking changes and `pysnmp-pyasn1` and `pyasn1` are both using the `pyasn1` namespace () 2023-04-29 21:32:57 +02:00
Franck Nijhof cdbffee781
Remove legacy pip resolver ()
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-04-27 22:39:29 +02:00
Franck Nijhof 0f80d0625a
Wheels: Don't build azure-servicebus on cp311 () 2023-04-22 19:29:42 +02:00
epenet d1b8f2987c
Fix incorrect regex in translation script () 2023-04-17 12:18:34 +02:00
J. Nick Koston 9985516f80
Build protobuf upb wheels () 2023-04-17 10:30:22 +02:00
epenet d26160a509
Prevent combined translations in strings.json () 2023-04-17 09:36:25 +02:00
J. Nick Koston 6dbe67e909
Bump httpx to 0.24.0 and httpcore to 0.17.0 () 2023-04-12 20:11:59 -10:00
Aaron Bach 175f38b68a
Bump `aioambient` to 2023.04.0 () 2023-04-06 19:22:27 -10:00
J. Nick Koston 0fb210b886
Bump websockets constraint to 11.0.1+ () 2023-04-06 18:03:33 -10:00
J. Nick Koston ef5d8d83cb
Add constraint for websockets to <11.0 () 2023-04-05 08:03:47 -10:00
Erik Montnemery 59511cc3f7
Make service field filter parameters exclusive () 2023-04-03 21:46:23 +02:00
Erik Montnemery b316ffff9b
Rename hassfest _validate_dependencies_exist () 2023-03-30 12:05:11 +02:00
Aarni Koskela 196f5702b8
Make hassfest.dependencies faster with multiprocessing ()
* hassfest.dependencies: split to two loops

* hassfest.dependencies: use multiprocessing for import scan
2023-03-30 11:25:14 +02:00
J. Nick Koston ce9099a386
Bump cryptography to 40.0.1 () 2023-03-26 12:30:17 -10:00
epenet 92bcb04e4f
Adjust scaffold docstring ()
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2023-03-23 10:13:53 +01:00
Franck Nijhof b1a3bfb298
Drop flake8 in favor of Ruff () 2023-03-17 13:30:06 +01:00
Franck Nijhof f9919bb7cf
Add pre-defined entity name translations () 2023-03-16 21:10:20 +01:00
Erik Montnemery 9384ec18f8
Add filters to climate and light service descriptions ()
* Add filters to climate and light service descriptions

* Allow specifying enums directly

* Update service descriptions

* Adjust test

* Cache entity features

* Lint

* Improve error handling, add list of known base components

* Don't allow specifying an entity feature as int
2023-03-16 15:59:51 +01:00
Franck Nijhof f32b7859b8
Restructure translations for entity components () 2023-03-16 12:16:08 +01:00
Erik Montnemery cf7e500a8e
Support translating entity names () 2023-03-12 15:55:04 +01:00
epenet bf5f7c53d8
Move mock_setup_entry to conftest () 2023-03-06 11:31:50 +01:00
Marc Mueller cf369ff1a5
Unpin pandas for Python 3.11 () 2023-03-05 13:40:10 +01:00
epenet 699cc6c092
Adjust docstring on hassfest generated files () 2023-03-03 11:34:20 +01:00
epenet bdbec491eb
Enable RUFF ICN001 for registries ()
* Add issue_registry to RUFF extend aliases

* Add area_registry to RUFF extend aliases

* Add device_registry to RUFF extend aliases

* Add entity_registry to RUFF extend aliases

* Adjust scaffold
2023-03-01 12:40:26 -05:00
Erik Montnemery 29b049fc57
Don't create new venv if script/setup is run from within a venv () 2023-03-01 11:11:29 +01:00
avee87 ac70612ec5
Improve helper integration scaffold () 2023-02-27 16:25:27 +01:00
Paulus Schoutsen 9be3f86a4c
Check circular dependencies () 2023-02-26 20:25:29 -05:00
Joakim Sørensen 0f204d6502
Remove homeassistant_hardware after dependency from zha () 2023-02-25 12:01:01 +01:00
J. Nick Koston ec53c26f90
Constrain faust-cchardet to first version that builds wheels successfully () 2023-02-21 16:32:15 -06:00
Bram Kragten bee79e351e
Allow translation for data entry submit button () 2023-02-20 19:52:39 +01:00
Ruslan Sayfutdinov 0d832c0a5a
Cleanup mypy ignore list feature () 2023-02-19 19:29:06 +01:00
epenet 5dda1de5bd
Adjust async_setup_entry in config_flow scaffold () 2023-02-17 13:43:56 +01:00
J. Nick Koston c79157208b
Add python 3.11 to the CI ()
* Remove profiler.memory service

guppy3 is not python3.11 compat
https://github.com/zhuyifei1999/guppy3/issues/41

This service will return if and when guppy3 becomes
python3.11 compat

* squash

* temp remove

* temp dump tests

* temp dump tests

* drop a few more to get a run

* drop a few more to get a run

* Account for changed python3.11 enum.IntFlag behavior in zha

There may be additional changes needed, but I could only
see what needed to be updated based on the tests

* merge

* restore

* restore

* legacy value

* tweak a bit for the python 3.11 timings

* block cchardet

* conditional

* adjust est

* test

* not yet

* tweak

* give a little leeway for timing

* Fix otbr tests

* Increase database test timeout

It looks like we need a little more time to run
with the addiitonal tests in 

* Increase database test timeout

It looks like we need a little more time to run
with the addiitonal tests in 

* Fix aprs tests with python 3.11

* merge fix

* hints

* Update homeassistant/package_constraints.txt

* Update script/gen_requirements_all.py

* Constrain uamqp for Python 3.10 only

* Bump vulcan-api to 2.3.0

see https://github.com/kapi2289/vulcan-api/pull/126
see https://github.com/home-assistant/core/pull/88038
see https://github.com/home-assistant/docker/pull/260

* add ban

* Bump python-matter-server to 2.1.1

* revert

* Update tests/asyncio_legacy.py

---------

Co-authored-by: Erik <erik@montnemery.com>
Co-authored-by: Franck Nijhof <git@frenck.dev>
Co-authored-by: Marcel van der Veldt <m.vanderveldt@outlook.com>
2023-02-16 12:38:32 -05:00
J. Nick Koston c83ea297b5
Refactor zeroconf task handling ()
* Refactor zeroconf task handling

- Avoid the need to create tasks for most callbacks
- Fixes the untracked task that could get unexpectedly GCed

* be consistant

* be consistant

* fix zeroconf tests

* runtime

* Revert "runtime"

This reverts commit 19e6b61837.

* precalc

* refactor

* tweak

* update tests
2023-02-15 21:44:11 -05:00
Franck Nijhof a1efd59760
Constrain uamqp for Python 3.10 only () 2023-02-15 14:24:31 -06:00
J. Nick Koston 61539686a4
Disable profiler.memory service with python 3.11 () 2023-02-15 16:20:47 +01:00
Franck Nijhof c3a70a7ec5
Remove uamqp version constrain () 2023-02-15 15:24:58 +01:00
Franck Nijhof 9030ca05b1
Enable Ruff SIM118 () 2023-02-15 12:39:12 +01:00
Luke bb4d6c0d2c
Rework user_input check in config flow scaffold ()
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2023-02-12 22:02:14 +01:00
Dustin Rodrigues c7e9afcef8
Fix typo in requires-python hassfest error message () 2023-02-12 09:11:56 -06:00
Luke 8de321253b
Reorganize manifest scaffold ()
* reorganize manifest.json

* add iot_class to manifest
2023-02-10 07:52:00 +01:00
Erik Montnemery cc564026fa
Move EntityCategory to homeassistant.const ()
* Move EntityCategory to homeassistant.const

* Fix more imports
2023-02-09 20:15:37 +01:00