core/homeassistant/components/mqtt
Jan Bouwhuis 554aefed42
Generate HomeAssistantError message from English translations (#113305)
* Fetch exception message from translation cache

* Improve tests

* Return translation key without path, cleanup

* Fetch translations when string variant is requested

* Move import

* revert changes ConfigValidationError

* mypy

* Remove _str__ method instead

* Type _message for mqtt template exception classes

* Revert changes made to test_config.py

* Undo changes TemplateError

* Follow up comments and test coverage
2024-03-16 22:56:48 +01:00
..
light
__init__.py
abbreviations.py
alarm_control_panel.py
binary_sensor.py
button.py
camera.py
client.py
climate.py Clean up unneeded ruff noqa directives (#113616) 2024-03-16 09:48:37 -10:00
config.py
config_flow.py Enable ruff RUF005 and fix occurrences (#113589) 2024-03-16 07:37:20 -10:00
config_integration.py
const.py
cover.py
debug_info.py
device_automation.py
device_tracker.py
device_trigger.py
diagnostics.py
discovery.py
event.py
fan.py
humidifier.py
icons.json
image.py
lawn_mower.py
lock.py
manifest.json
mixins.py
models.py Generate HomeAssistantError message from English translations (#113305) 2024-03-16 22:56:48 +01:00
number.py
scene.py
select.py
sensor.py
services.yaml
siren.py
strings.json
subscription.py
switch.py
tag.py
text.py
trigger.py
update.py
util.py
vacuum.py
valve.py
water_heater.py