Commit Graph
72323 Commits
Author SHA1 Message Date
J. Nick KostonandGitHub 6b913546b9 Update swiss_public_transport to set ConfigEntry version with async_update_entry (#110197) 2024-02-10 19:54:35 +01:00
J. Nick KostonandGitHub 991bef7ea0 Update prusalink to set ConfigEntry version with async_update_entry (#110196) 2024-02-10 19:53:35 +01:00
J. Nick KostonandGitHub 118712d38d Update islamic_prayer_times to set ConfigEntry version with async_update_entry (#110194) 2024-02-10 19:52:45 +01:00
J. Nick KostonandGitHub 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 KostonandGitHub a48c1ac57e Only schedule august activity update when a new activity is seen (#110141) 2024-02-10 09:29:49 -06:00
J. Nick KostonandGitHub 3441b93c5c Update systemmonitor to set config entry version using async_update_entry (#110192) 2024-02-10 09:20:16 -06:00
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
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 KostonandGitHub 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 KostonandGitHub 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 KostonandGitHub 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 KostonandGitHub b0d3cc150f Use async_update_entry to update esphome options in tests (#110118) 2024-02-09 20:01:33 -06:00
J. Nick KostonandGitHub 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
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
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
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
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 NijhofandGitHub 3ac0833f8c Update sentry-sdk to 1.40.3 (#110109) 2024-02-09 20:01:29 +01:00
Marc MuellerandGitHub f793fbe492 Update pytest-asyncio to 0.23.5 (#110129) 2024-02-09 19:27:42 +01:00
J. Nick KostonandGitHub facf927626 Use async_update_entry in github tests (#110119)
needed for #110023
2024-02-09 18:11:05 +01:00
A BjörckandGitHub 14715c150e Bump yalexs to 1.11.1, fixing camera snapshots from Yale Home (#110089) 2024-02-09 09:09:45 -06:00
J. Nick KostonandGitHub 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 KostonandGitHub 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 KostonandGitHub 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 KostonandGitHub 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 KostonandGitHub 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 MontnemeryandGitHub ae5bef6ffa Fix color mode in flux_led light (#110096) 2024-02-09 14:11:27 +01:00
Erik MontnemeryandGitHub 3ca202a338 Fix scene tests (#110097) 2024-02-09 14:10:59 +01:00
Malte FrankenandGitHub 6499be8528 Bump aio-geojson-usgs-earthquakes to 0.3 (#110084) 2024-02-09 11:31:16 +01:00
Jan BouwhuisandGitHub 8aa4157290 Add entry diagnostics to imap integration (#109460) 2024-02-09 11:30:27 +01:00
Erik MontnemeryandGitHub 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 NijhofandGitHub 7caf78a926 Update debugpy to 1.8.1 (#110076) 2024-02-09 10:08:23 +01:00
Thomas55555andGitHub 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 BonnesandGitHub 86e6fdb57c Bump evohome-async to 0.4.18 (#110056) 2024-02-09 08:49:09 +01:00
Malte FrankenandGitHub eef5b44282 Bump aio-geojson-geonetnz-volcano to 0.9 (#109940) 2024-02-09 08:45:55 +01:00
J. Nick KostonandGitHub b5afdf34f4 Improve ability to debug one time listeners blocking the event loop (#110064) 2024-02-09 08:44:14 +01:00
Christophe GagnierandGitHub 720fb7da59 Update pytechnove to 1.2.2 (#110074) 2024-02-09 08:41:48 +01:00
jan iversenandGitHub a0abc27612 Avoid key_error in modbus climate with non-defined fan_mode. (#110017) 2024-02-09 08:39:08 +01:00
MichaelandGitHub d049928be7 Log error and continue on parsing issues of translated strings (#110046) 2024-02-09 08:35:12 +01:00
spycleandGitHub d3da6cbcfc Bump pyMicrobot to 0.0.12 (#109970) 2024-02-09 08:33:52 +01:00
Brandon RothweilerandGitHub a3dbe42fa1 Bump py-aosmith to 1.0.8 (#110061) 2024-02-09 08:25:32 +01:00
Franck NijhofandGitHub e7043f5dda Update sentry-sdk to 1.40.2 (#110049) 2024-02-09 08:15:21 +01:00
Jc2kandGitHub 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 KostonandGitHub 122ac059bc Convert dhcp watcher to asyncio (#109938) 2024-02-08 22:23:42 -06:00
Allen PorterandGitHub 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
J. Nick KostonandGitHub 2d8d6ce642 Bump aiodiscover 1.6.1 (#110059)
fixes decoding idna encoding hostnames

changelog: https://github.com/bdraco/aiodiscover/compare/v1.6.0...v1.6.1
2024-02-09 04:27:04 +01:00
Michael HansenandGitHub 2681dae60c Matching duplicate named entities is now an error in Assist (#110050)
* Matching duplicate named entities is now an error

* Update snapshot

* Only use area id
2024-02-08 19:38:03 -06:00
J. Nick KostonandGitHub 02efe41564 Avoid directly changing config entry state in tests (#110048) 2024-02-08 16:31:17 -06:00
MichaelandGitHub 531f2e8443 bump wretry.action@v1.4.4 (#110053) 2024-02-08 23:15:22 +01:00
Bouwe WesterdijkandGitHub 326c7c0495 Add option-icons for Plugwise Select (#109986) 2024-02-08 20:19:23 +01:00