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 |
Marc Mueller
|
19ab3d6daf
|
Add empty line after module docstring [helpers + other] (#112707)
|
2024-03-08 10:36:11 -05:00 |
Franck Nijhof
|
ed79265843
|
Enable Ruff PT006 (#88165)
* Enable Ruff PT006
* Adjust existing cases
* Fix tests
* Remove unneeded parentheses
|
2023-02-15 14:09:50 +01:00 |
epenet
|
f91e250e90
|
Fix TemplateError definition (#82570)
|
2022-11-23 20:30:32 +01:00 |
Franck Nijhof
|
c5383219f1
|
Remove stale debug statements from tests (#51059)
|
2021-05-25 11:52:20 +02:00 |
Anders Melchiorsen
|
d33a1a5ff8
|
Refine printing of ConditionError (#46838)
* Refine printing of ConditionError
* Improve coverage
* name -> type
|
2021-02-21 14:54:36 +01:00 |