J. Nick Koston
2f7d71347e
Enable compression for manifest.json ( #110229 )
...
Now that compression is ~5x faster than base zlib, it makes
sense to compress this
2024-02-10 19:45:21 -05:00
chammp
a5cc0ae890
Improve package schema validation ( #108125 )
...
* Add failing tests for package config validation error wrapping
* Wrap package schema validation errors in HomeAssistantError
* Fix yamllint errors
* Rework package merge validation
Ignore invalid package definitions instead of failing startup.
Output error messages with locations if possible when a package
definition has errors.
* Ruff format
* Fix linter errors
* Move package_definition_schema to module scope
* Move inner function to module level
* Merge exception handlers
Merge exception handlers for config schema validation and package merge
to avoid untested code branches
* Fix long lines and doc strings
* More minor changes to exception handler
---------
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2024-02-10 20:16:20 +01:00
Simon Lamon
fa4433c569
Fix device class repairs issues placeholders in Group ( #110181 )
...
fix translation placeholders
2024-02-10 20:09:02 +01:00
J. Nick Koston
1e7cd7c0c6
Update airvisual to set ConfigEntry version with async_update_entry ( #110204 )
...
* Update airvisual to set ConfigEntry version with async_update_entry
* Update airvisual to set ConfigEntry version with async_update_entry
2024-02-10 19:57:53 +01:00
J. Nick Koston
b3e46e3d64
Update airnow to set ConfigEntry version with async_update_entry ( #110202 )
2024-02-10 19:55:38 +01:00
J. Nick Koston
6b913546b9
Update swiss_public_transport to set ConfigEntry version with async_update_entry ( #110197 )
2024-02-10 19:54:35 +01:00
J. Nick Koston
991bef7ea0
Update prusalink to set ConfigEntry version with async_update_entry ( #110196 )
2024-02-10 19:53:35 +01:00
J. Nick Koston
118712d38d
Update islamic_prayer_times to set ConfigEntry version with async_update_entry ( #110194 )
2024-02-10 19:52:45 +01:00
J. Nick Koston
087e52af6e
Update switch_as_x to set ConfigEntry version with async_update_entry ( #110193 )
...
* Update switch_as_x to set ConfigEntry version with async_update_entry
* lint
2024-02-10 19:51:47 +01:00
J. Nick Koston
a48c1ac57e
Only schedule august activity update when a new activity is seen ( #110141 )
2024-02-10 09:29:49 -06:00
J. Nick Koston
3441b93c5c
Update systemmonitor to set config entry version using async_update_entry ( #110192 )
2024-02-10 09:20:16 -06:00
Maciej Bieniek
845071f8f0
Add icon translations to Brother ( #110128 )
...
Co-authored-by: Maciej Bieniek <478555+bieniu@users.noreply.github.com>
2024-02-10 12:17:53 +01:00
Piotr Machowski
a2f4e99994
Add state_translated function to jinja templates ( #96906 )
...
* Add state_translated jinja function
* Add tests for load_state_translations_to_cache and get_cached_translations
* Cleanup state_translated template
* Add tests for state_translated jinja function
* Apply black formatting
* Improve code quality
* Apply suggestions from code review
Co-authored-by: Erik Montnemery <erik@montnemery.com>
* Apply suggestions from code review
* Prevent invalid components from loading translations
* Refactor loading translations to cache
* Adjust code issues
* Update homeassistant/helpers/translation.py
Co-authored-by: Erik Montnemery <erik@montnemery.com>
* Refactor listeners that trigger translation loading
* Apply suggestions from code review
Co-authored-by: Erik Montnemery <erik@montnemery.com>
* Apply suggestions from code review
* Adjust invalid function calls, fix code styling
* Adjust code quality
* Extract async_translate_state function
* Apply suggestions from code review
Co-authored-by: Erik Montnemery <erik@montnemery.com>
* Apply suggestions from code review
* Fix tests
* Fix tests
---------
Co-authored-by: Piotr Machowski <PiotrMachowski@users.noreply.github.com>
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2024-02-10 10:47:56 +01:00
J. Nick Koston
d1f098c11f
Use async_update_entry to update dlna_dmr options in tests ( #110117 )
...
needed for #110023
2024-02-10 07:57:58 +01:00
J. Nick Koston
f6d4617c7a
Avoid directly changing config entry state in tests (part 2) ( #110115 )
...
followup to #110048 for more places
2024-02-10 07:20:15 +01:00
J. Nick Koston
567a179084
Simplify emulated_hue exposed entities cache ( #109890 )
...
Also avoids holding stale States in memory which can prevent
garbage collection of linked contexts
2024-02-09 21:43:46 -05:00
J. Nick Koston
b0d3cc150f
Use async_update_entry to update esphome options in tests ( #110118 )
2024-02-09 20:01:33 -06:00
J. Nick Koston
327e54cbfb
Bump yalexs to 1.11.2 ( #110144 )
...
changelog: https://github.com/bdraco/yalexs/compare/v1.11.1...v1.11.2
2024-02-09 23:30:42 +01:00
Maciej Bieniek
c2818dcb8e
Add icon translations to Tractive ( #110138 )
...
Co-authored-by: Maciej Bieniek <478555+bieniu@users.noreply.github.com>
2024-02-09 23:28:56 +01:00
Maciej Bieniek
57bec29266
Add icon translations to NAM ( #110135 )
...
Co-authored-by: Maciej Bieniek <478555+bieniu@users.noreply.github.com>
2024-02-09 23:28:24 +01:00
Maciej Bieniek
0954e4cd73
Add icon translations to GIOS ( #110131 )
...
Co-authored-by: Maciej Bieniek <478555+bieniu@users.noreply.github.com>
2024-02-09 23:28:11 +01:00
Maciej Bieniek
e81a9947e0
Fix typo in sensor icons configuration ( #110133 )
...
Co-authored-by: Maciej Bieniek <478555+bieniu@users.noreply.github.com>
2024-02-09 20:05:01 +01:00
Franck Nijhof
3ac0833f8c
Update sentry-sdk to 1.40.3 ( #110109 )
2024-02-09 20:01:29 +01:00
Marc Mueller
f793fbe492
Update pytest-asyncio to 0.23.5 ( #110129 )
2024-02-09 19:27:42 +01:00
J. Nick Koston
facf927626
Use async_update_entry in github tests ( #110119 )
...
needed for #110023
2024-02-09 18:11:05 +01:00
A Björck
14715c150e
Bump yalexs to 1.11.1, fixing camera snapshots from Yale Home ( #110089 )
2024-02-09 09:09:45 -06:00
J. Nick Koston
9689cb448d
Avoid linear search of entity registry in async_extract_referenced_entity_ids ( #109667 )
...
* Index area_ids in the entity registry
I missed that these are used in _resolve_area in search.
Eventually we can make async_extract_referenced_entity_ids
a bit faster with this as well
* Avoid linear search of entity registry in async_extract_referenced_entity_ids
needs https://github.com/home-assistant/core/pull/109660
2024-02-09 09:42:30 -05:00
J. Nick Koston
206aaac700
Reduce complexity in the homekit config flow filters ( #109850 )
...
* Add typing to entity filters
* Add typing to entity filters
* Add typing to entity filters
* Add typing to entity filters
* tweaks
* tweaks
* tweaks
* tweaks
* tweaks
2024-02-09 09:33:21 -05:00
J. Nick Koston
8e4714c563
Avoid delaying startup in dlna_dmr ( #109836 )
...
* Avoid delaying startup in dlna_dmr
fixes #109834
* make sure device info is linked up at startup
* fixes
* update tests
* startup only
* override device info if we have it
* fixes
* make sure its set right away when adding the device
* revert test changes
* coverage
* coverage
* coverage
* coverage
* adjust
* fixes
* more fixes
* coverage
* coverage
* coverage
* tweaks
* tweaks
* Revert "revert test changes"
This reverts commit 014d29297d
.
* coverage
* coverage
2024-02-09 09:05:27 -05:00
J. Nick Koston
6e134b325d
Make ConfigEntryItems responsible for updating unique ids ( #110018 )
...
* Make ConfigEntryItems responsible for updating unique ids
* Make ConfigEntryItems responsible for updating unique ids
* Make ConfigEntryItems responsible for updating unique ids
* Make ConfigEntryItems responsible for updating unique ids
* Make ConfigEntryItems responsible for updating unique ids
2024-02-09 08:51:02 -05:00
J. Nick Koston
ced922bb1a
Improve apple_tv error reporting when setup fails ( #110071 )
...
* Improve apple_tv error reporting when setup fails
* Improve apple_tv error reporting when setup fails
* Update homeassistant/components/apple_tv/__init__.py
* ensure cleaned up
2024-02-09 08:50:30 -05:00
Erik Montnemery
ae5bef6ffa
Fix color mode in flux_led light ( #110096 )
2024-02-09 14:11:27 +01:00
Erik Montnemery
3ca202a338
Fix scene tests ( #110097 )
2024-02-09 14:10:59 +01:00
Malte Franken
6499be8528
Bump aio-geojson-usgs-earthquakes to 0.3 ( #110084 )
2024-02-09 11:31:16 +01:00
Jan Bouwhuis
8aa4157290
Add entry diagnostics to imap integration ( #109460 )
2024-02-09 11:30:27 +01:00
Erik Montnemery
793b6aa97d
Allow passing version to ConfigEntry.async_update_entry ( #110077 )
...
Allow passing minor_version and version to ConfigEntry.async_update_entry
2024-02-09 10:10:25 +01:00
Franck Nijhof
7caf78a926
Update debugpy to 1.8.1 ( #110076 )
2024-02-09 10:08:23 +01:00
Thomas55555
ec3af2462b
Address late review on husqvarna_automower ( #109896 )
...
* Address late review on husqvarna_automower
* Add missing credentials string
2024-02-09 09:53:22 +01:00
David Bonnes
86e6fdb57c
Bump evohome-async to 0.4.18 ( #110056 )
2024-02-09 08:49:09 +01:00
Malte Franken
eef5b44282
Bump aio-geojson-geonetnz-volcano to 0.9 ( #109940 )
2024-02-09 08:45:55 +01:00
J. Nick Koston
b5afdf34f4
Improve ability to debug one time listeners blocking the event loop ( #110064 )
2024-02-09 08:44:14 +01:00
Christophe Gagnier
720fb7da59
Update pytechnove to 1.2.2 ( #110074 )
2024-02-09 08:41:48 +01:00
jan iversen
a0abc27612
Avoid key_error in modbus climate with non-defined fan_mode. ( #110017 )
2024-02-09 08:39:08 +01:00
Michael
d049928be7
Log error and continue on parsing issues of translated strings ( #110046 )
2024-02-09 08:35:12 +01:00
spycle
d3da6cbcfc
Bump pyMicrobot to 0.0.12 ( #109970 )
2024-02-09 08:33:52 +01:00
Brandon Rothweiler
a3dbe42fa1
Bump py-aosmith to 1.0.8 ( #110061 )
2024-02-09 08:25:32 +01:00
Franck Nijhof
e7043f5dda
Update sentry-sdk to 1.40.2 ( #110049 )
2024-02-09 08:15:21 +01:00
Jc2k
4f404881dd
Remove homekit_controller entity registry entries when backing char or service is gone ( #109952 )
2024-02-09 07:05:08 +00:00
J. Nick Koston
122ac059bc
Convert dhcp watcher to asyncio ( #109938 )
2024-02-08 22:23:42 -06:00
Allen Porter
261f9c5d62
Cleanup test config entry setup to use best practices ( #110070 )
...
* Cleanup test config entry setup to use best practices
* Add missed files
2024-02-08 19:52:40 -08:00