2caca7fbe3
Generate requirements per supported architecture ( #115708 )
...
* Generate requirements per supported architecture
* Don't store wheels requirements in the repo
* Dry run
* Set Python version
* Install base packages
* Fix
* Fix
* Fix
* Fix typo
Co-authored-by: Martin Hjelmare <marhje52@gmail.com >
* Genarate requirements_all_pytest.txt
* Fix hassfest
* Reenable building wheels
* Remove unneeded code
* Address review comment
* Fix lying comment
* Add tests, address review comments
* Deduplicate
* Fix file name
* Add comment
---------
Co-authored-by: Martin Hjelmare <marhje52@gmail.com >
2024-04-22 19:23:08 +02:00
Erik Montnemery and GitHub
5c018f6ffc
Improve standard library violation check in hassfest ( #115752 )
...
* Improve standard library violation check in hassfest
* Improve prints
* Improve error message
2024-04-17 14:10:26 +02:00
Erik Montnemery and GitHub
fee1f2833d
Fix hassfest requirements check ( #115744 )
...
* Fix hassfest requirements check
* Add electrasmart to ignore list
2024-04-17 12:27:48 +02:00
Marc Mueller and GitHub
881e201a15
Set platform for mypy ( #115638 )
2024-04-15 14:12:26 +02:00
Marc Mueller and GitHub
6422bc4c19
Set follow_imports to normal [mypy] ( #115521 )
2024-04-15 00:26:06 +02:00
J. Nick Koston and GitHub
33412dd9f6
Remove unused legacy state translations ( #112023 )
...
* Remove unused state translations
There have been replaced with entity translations
https://github.com/home-assistant/developers.home-assistant/pull/1557
https://github.com/home-assistant/core/pull/82701
* nothing does merging anymore
* useless dispatch
* remove
* remove platform code from hassfest
* preen
* Update homeassistant/helpers/translation.py
* ruff
* fix merge
* check is impossible now since we already know if translations exist or not
* keep the function for now
* remove unreachable code since we filter out `.` before now
* reduce
* reduce
* fix merge conflict (again)
2024-04-14 07:13:17 -04:00
Marc Mueller and GitHub
27f6a7de43
Revert mypy_config formatting ( #115518 )
2024-04-13 10:48:34 +02:00
bea4c52d10
Ignore coverage for aiohttp_resolver backport helper ( #115177 )
...
* Ignore coverage for aiohttp_resolver backport helper
* Adjust generate to sort core items
* Adjust validate to sort core items
* Split line
* Apply suggestion
Co-authored-by: Dave T <17680170+davet2001@users.noreply.github.com >
* Fix suggestion
---------
Co-authored-by: Dave T <17680170+davet2001@users.noreply.github.com >
2024-04-12 16:33:05 +02:00
9bf87329da
Enable Ruff FLY002 rule ( #115112 )
...
Co-authored-by: J. Nick Koston <nick@koston.org >
Co-authored-by: Jan Bouwhuis <jbouwh@users.noreply.github.com >
2024-04-12 09:04:16 +02:00
konsti and GitHub
cad4c3c0c2
Remove pip jemalloc config from dockerfile ( #115206 )
2024-04-09 15:08:55 +02:00
Paulus Schoutsen and GitHub
f9a7e6bb9f
Add migration logic to assist_pipeline ( #115172 )
2024-04-08 11:29:55 -04:00
Jan Bouwhuis and GitHub
2e3cb1a767
Correct changes hassfest coverage backports ( #115044 )
2024-04-06 21:17:44 +02:00
57cc3495c2
Sort coveragerc again ( #115017 )
...
Co-authored-by: Jan Bouwhuis <jbouwh@users.noreply.github.com >
2024-04-06 15:51:56 +02:00
Øyvind Matheson Wergeland and GitHub
fdef3ece13
Fix placeholder quotes ( #114974 )
...
* When quoting placeholders, always use double quotes so Lokalise recognizes the placeholder.
* Ensure that strings does not contain placeholders in single quotes.
* Avoid redefining value
* Moved string_with_no_placeholders_in_single_quotes
* Define regex once
* Fix tests
2024-04-06 13:01:56 +02:00
Michael Hansen and GitHub
1c2499b03a
Add "conversation" key to translations ( #114887 )
...
* Use translated trigger response
* Use conversation key instead
2024-04-04 14:45:27 -05:00
ad3577804b
Ensure coverage entries are sorted ( #114424 )
...
* Ensure coverage entries are sorted
* Use autofix
* Adjust
* Add comment to coverage file
* test CI
* revert CI test
---------
Co-authored-by: Martin Hjelmare <marhje52@gmail.com >
2024-04-01 14:12:24 +02:00
Franck Nijhof and GitHub
192fad040a
Fix hassfest service icons check for custom integrations ( #114389 )
2024-03-28 16:20:20 +01:00
Robert Resch and GitHub
4a9c592f3c
Mark core as codeowner for some folders ( #114357 )
2024-03-28 10:54:10 +01:00
Jan Bouwhuis and GitHub
a4f52cc622
Use a constant to reference homeassistant domain ( #113889 )
...
* Use CONF_CORE to reference `homeassistant` domain
* Just use DOMAIN
* USE DOMAIN for `homeasistant` domain in config_schema.py
* Use DOMAIN_HA as constant for homeassistant domain
* Rename CONF_CORE to DOMAIN_HA
* Rename DOMAIN_HA to HA_DOMAIN
* Use relative import
* Use direct imports
2024-03-23 19:58:39 +01:00
Robert Resch and GitHub
ce48e6e574
Fix building images for nightlies ( #114054 )
2024-03-23 11:22:38 +01:00
Robert Resch and GitHub
c282172252
Use uv instead of pip on production images ( #112496 )
2024-03-22 16:50:07 +01:00
Joost Lekkerkerker and GitHub
85e13bdb87
Require an icon for a service ( #112373 )
2024-03-19 08:29:29 +01:00
Sid and GitHub
6ee273a548
Clean up unneeded ruff noqa directives ( #113616 )
2024-03-16 09:48:37 -10:00
Sid and GitHub
ccd2e989c3
Enable ruff RUF005 and fix occurrences ( #113589 )
2024-03-16 07:37:20 -10:00
Jan Bouwhuis and GitHub
b1c636c886
Fix hassfest icons check for notify and image_processing ( #113446 )
2024-03-14 22:51:18 +01:00
36123717be
Allow entity platforms without entity_component in icon validation ( #113422 )
...
* Allow entity platforms without entity_component
* Rename variable
---------
Co-authored-by: jbouwh <jan@jbsoft.nl >
2024-03-14 19:10:52 +01:00
Erik Montnemery and GitHub
a16ea3d7bd
Deprecate the map integration ( #113215 )
...
* Deprecate the map integration
* Revert changes in DashboardsCollection._async_load_data
* Add option to allow single word in dashboard URL
* Update tests
* Translate title
* Add icon
* Improve test coverage
2024-03-14 14:04:41 +01:00
Joost Lekkerkerker and GitHub
05172d8e4d
Improve loops and lists ( #113269 )
...
* Enable PERF
* Enable PERF rule
* Enable PERF rule
* Don't enable flag yet
2024-03-14 10:22:20 +01:00
Joost Lekkerkerker and GitHub
cddce0ce0d
Enable more SIM ruff rules ( #113015 )
...
* SIM101 SIM103
* SIM107 SIM109
* SIM110
* SIM112 SIM113
* SIM115
* SIM116
* Fix
* Fix
* Fix
2024-03-10 23:20:37 -04:00
Marc Mueller and GitHub
a6b842f818
Add empty line after module docstring (2) [other] ( #112738 )
2024-03-08 19:16:38 +01:00
Paulus Schoutsen and GitHub
f416d67d21
Remove built-in support for import_executor in manifest ( #112725 )
2024-03-08 12:02:32 -05:00
Marc Mueller and GitHub
19ab3d6daf
Add empty line after module docstring [helpers + other] ( #112707 )
2024-03-08 10:36:11 -05:00
Erik Montnemery and GitHub
fa4c0d78e9
Restore the juicenet integration ( #112578 )
2024-03-07 16:41:54 +01:00
Paulus Schoutsen and GitHub
4eb0f86a65
Remove 'values' from services validation ( #111440 )
...
* Remove 'values' from services validation
* Remove extra blank line
2024-02-29 02:53:03 +01:00
Erik Montnemery and GitHub
b336095239
Allow translating device names ( #110711 )
...
* Allow translating device names
* Don't keep a reference to translations in config entry
* Update kitchen_sink tests
* Add tests
2024-02-28 15:59:59 +01:00
J. Nick Koston and GitHub
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 and GitHub
730fe760cf
Remove JuiceNet integration ( #111477 )
...
* Remove JuiceNet integration
* Adjust issue
* Add test
* Fix stale DOMAIN constant
2024-02-26 21:08:36 +02:00
Jan-Philipp Benecke and GitHub
baf84b6fba
Add single_config_entry manifest option ( #109505 )
...
* Allow setting if we support multiple config entries in config flow
* Move property to config flow instead of flow handler
* Move marking an integration as single instance only to manifest
* Revert line remove
* Avoid init a config flow or adding a new entry on a single instance with an entry
* Revert changes in test
* Process code review comments
* Apply code review suggestion
2024-02-26 19:00:33 +01:00
Joost Lekkerkerker and GitHub
2c0b897658
Allow the helper integrations to omit icon translation field ( #109648 )
2024-02-04 22:57:11 +01:00
Paul Bottein and GitHub
4170a447fc
Allow system and helper integrations to provide entity_component icons ( #109045 )
2024-01-29 19:26:55 +01:00
Franck Nijhof and GitHub
fa485513d5
Ensure icon translations aren't the same as the default ( #108568 )
2024-01-21 12:02:15 +01:00
Franck Nijhof and GitHub
2b90d968b4
Fix hassfest icon schema for service only ( #108494 )
2024-01-20 14:39:05 -05:00
01372024f5
Add icon translations support ( #103294 )
...
Co-authored-by: Robert Resch <robert@resch.dev >
Co-authored-by: Paul Bottein <paul.bottein@gmail.com >
2024-01-19 16:56:56 +01:00
J. Nick Koston and GitHub
298e2e2b99
Attempt to fix 32bit docker builds ( #107210 )
2024-01-05 08:23:04 +01:00
steffenrapp and GitHub
608d52f167
Add translatable title to holiday ( #106825 )
2024-01-02 23:40:38 +01:00
636e38f4b3
Trigger Home Assistant shutdown automations right before the stop event instead of during it ( #91165 )
...
Co-authored-by: Erik <erik@montnemery.com >
2023-12-05 11:24:41 -10:00
Erik Montnemery and GitHub
5b55c7da5f
Remove logic converting empty or falsy YAML to empty dict ( #103912 )
...
* Correct logic converting empty YAML to empty dict
* Modify according to github comments
* Add load_yaml_dict helper
* Update check_config script
* Update tests
2023-12-05 18:08:11 +01:00
Erik Montnemery and GitHub
61d82ae9ab
Tweak dockerfile generation ( #104717 )
2023-11-29 15:20:21 +01:00
Erik Montnemery and GitHub
999875d0e4
Autogenerate Dockerfile ( #104669 )
2023-11-29 11:26:50 +01:00
706add4a57
Switch formatting from black to ruff-format ( #102893 )
...
Co-authored-by: Franck Nijhof <git@frenck.dev >
2023-11-27 14:38:59 +01:00