core/homeassistant/helpers
J. Nick Koston 982c8f8f4a
Fix incorrect scope on checking files to load in translations (#112457)
discovered in https://github.com/home-assistant/core/pull/112295#discussion_r1513505710

We only checked if the last language had files to load
instead of all of them. The checks for each language
are the same because the only reason we would skip
a language is a missing/broken integration or the integration
is a single file. Both of these loop conditions are always
the same reguardless of the language so the check worked
2024-03-05 23:46:24 -05:00
..
service_info Make dataclasses in HA core slotted (#91208) 2023-04-11 07:58:28 -10:00
__init__.py Move config_per_platform and extract_domain_configs to config.py (#104989) 2023-12-04 12:48:49 +01:00
aiohttp_client.py Use builtin TimeoutError [core + helpers] (#109684) 2024-02-05 12:09:54 +01:00
area_registry.py Add normalized name registry items base class (#111666) 2024-02-29 01:31:33 +01:00
check_config.py Improve package schema validation (#108125) 2024-02-10 20:16:20 +01:00
collection.py Refactor storage collections to reduce tasks during startup (#111182) 2024-02-23 13:50:25 -05:00
condition.py Migrate condition/state/trigger helper to use async_get_platform (#112144) 2024-03-03 21:20:47 -05:00
config_entry_flow.py Add generic classes BaseFlowHandler and BaseFlowManager (#111814) 2024-02-29 16:52:39 +01:00
config_entry_oauth2_flow.py Add generic classes BaseFlowHandler and BaseFlowManager (#111814) 2024-02-29 16:52:39 +01:00
config_validation.py Avoid compiling entity service schema when passed defaults (#112099) 2024-03-03 12:50:04 -05:00
data_entry_flow.py Add TypeVar default for FlowResult (#112345) 2024-03-05 22:52:11 +01:00
debounce.py Start the debouncer task eagerly (#111569) 2024-02-26 16:29:46 -10:00
deprecation.py Avoid fetching logger in check_if_deprecated_constant if there is nothing to log (#107341) 2024-01-06 10:20:30 +01:00
device_registry.py Reduce some linear searches to cleanup the device registry (#112277) 2024-03-04 20:59:12 -05:00
discovery.py Add names to common helper tasks (#90803) 2023-04-05 08:41:15 +02:00
discovery_flow.py Add generic classes BaseFlowHandler and BaseFlowManager (#111814) 2024-02-29 16:52:39 +01:00
dispatcher.py Improve dispatcher typing (#106872) 2024-01-08 09:45:37 +01:00
entity.py Fully fix race in removing entities (#111499) 2024-02-26 23:55:15 -05:00
entity_component.py Make entity component platform setup tasks eager (#111698) 2024-02-28 12:44:23 +01:00
entity_platform.py Use eager task creation to add entities to entity platform (#111553) 2024-02-27 09:54:51 -10:00
entity_registry.py Remove async_entity_ids and get_entity_ids from entity registry (#112311) 2024-03-05 14:50:41 +01:00
entity_values.py Limit cache size of EntityValues (#94983) 2023-06-21 22:23:35 +02:00
entityfilter.py Update Ruff to 0.1.8, avoid linter/formatter conflicts (#106080) 2023-12-20 23:55:09 +01:00
event.py Refactor keyed event trackers to reduce future refactoring risk (#111150) 2024-02-23 13:55:02 -05:00
floor_registry.py Add normalized name registry items base class (#111666) 2024-02-29 01:31:33 +01:00
frame.py Avoid expensive inspect calls in config validators (#112085) 2024-03-02 21:50:35 -05:00
group.py Move group helpers into their own module (#106924) 2024-01-04 17:34:56 +01:00
http.py Fix circular imports in core integrations (#111875) 2024-02-29 21:04:41 -05:00
httpx_client.py Import names from typing instead of typing_extensions [3.11] (#97065) 2023-07-22 17:03:44 -05:00
icon.py Simplify loading of icons (#110687) 2024-02-16 16:51:14 +01:00
instance_id.py Regenerate instance ID on error (#94898) 2023-06-20 11:16:51 +02:00
integration_platform.py Refactor integration platforms to import in the executor (#112168) 2024-03-04 19:21:18 -10:00
intent.py Move HassSetPosition to homeassistant domain (#111867) 2024-02-29 21:53:52 -05:00
issue_registry.py Make the check_config script open issue_registry read only (#98545) 2023-08-18 20:15:00 +02:00
json.py Avoid de/recode of bytes to string to bytes when writing json files (#109348) 2024-02-02 09:02:26 +01:00
label_registry.py Add normalized name registry items base class (#111666) 2024-02-29 01:31:33 +01:00
location.py
network.py Remove deprecated `hass.components.hassio` usage (#111878) 2024-03-02 15:38:31 +01:00
normalized_name_base_registry.py Add normalized name registry items base class (#111666) 2024-02-29 01:31:33 +01:00
ratelimit.py Small performance improvement in tracking template results (#110622) 2024-02-17 18:08:24 +01:00
recorder.py Make dataclasses in HA core slotted (#91208) 2023-04-11 07:58:28 -10:00
redact.py Mask sensitive data in google_assistant logs (#109366) 2024-02-02 22:10:30 +01:00
reload.py Move config_per_platform and extract_domain_configs to config.py (#104989) 2023-12-04 12:48:49 +01:00
restore_state.py Add support for JSON fragments (#107213) 2024-01-07 17:36:31 -10:00
schema_config_entry_flow.py Add generic classes BaseFlowHandler and BaseFlowManager (#111814) 2024-02-29 16:52:39 +01:00
script.py Avoid creating tasks for automation and script validation (#111181) 2024-02-23 13:41:36 -05:00
script_variables.py
selector.py Add qr code selector (#109214) 2024-01-31 19:27:03 +01:00
sensor.py Move DeviceInfo from entity to device registry (#98149) 2023-08-10 22:04:26 -04:00
service.py Fix generic HassJob typing (#111973) 2024-03-01 20:51:45 +01:00
signal.py Make hass.async_stop an untracked task (#88738) 2023-02-24 23:11:48 -05:00
significant_change.py Convert Integration platforms processors where nothing is awaited to callbacks (#110825) 2024-02-17 20:49:47 -05:00
singleton.py Update mypy to 1.4.0 (#94987) 2023-06-21 16:12:51 +02:00
start.py Use identity checks for CoreState (#107846) 2024-01-12 10:21:26 +01:00
state.py Migrate condition/state/trigger helper to use async_get_platform (#112144) 2024-03-03 21:20:47 -05:00
storage.py Adjust MAX_LOAD_CONCURRENTLY constant to allow 6 storage loaders (#112468) 2024-03-05 16:31:10 -10:00
sun.py Fix infinite loop in sun.sun (#89723) 2023-03-14 16:27:29 -10:00
system_info.py Remove deprecated `hass.components.hassio` usage (#111878) 2024-03-02 15:38:31 +01:00
temperature.py Small cleanups to temperature helper (#107625) 2024-01-08 21:51:35 -10:00
template.py Issues template function (#95206) 2024-03-04 14:22:14 +01:00
trace.py Improve display of errors with no message in script trace (#108735) 2024-01-28 19:27:14 +01:00
translation.py Fix incorrect scope on checking files to load in translations (#112457) 2024-03-05 23:46:24 -05:00
trigger.py Initialize triggers eagerly (#112294) 2024-03-05 09:58:43 -05:00
trigger_template_entity.py Set TriggerBaseEntity device_class in init (#100216) 2023-09-12 19:36:56 +02:00
typing.py Add generic Event class (#97071) 2023-07-23 21:51:54 +02:00
update_coordinator.py Use an eager task in the update coordinator scheduled refresh (#111570) 2024-02-26 23:31:08 -05:00