* Limit legacy state translations to custom components We were trying to load **thousands** of `*.light.json`, `*.switch.json` files at run time that did not exist. 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 https://github.com/home-assistant/core/pull/112023 will completely remove them, but for now we will only load them for custom components to reduce the number of files having to be examined * reduce * reduce * reduce * reduce * comment * coverage * try to remove empty dict in loaded_translations fallback when missing |
||
---|---|---|
.. | ||
hue | ||
switch | ||
test | ||
test_bad_version | ||
test_constant_deprecation | ||
test_embedded | ||
test_integration_frame | ||
test_integration_platform | ||
test_legacy_state_translations | ||
test_legacy_state_translations_bad_data | ||
test_no_version | ||
test_package | ||
test_package_loaded_executor | ||
__init__.py | ||
test_standalone.py |