* Fix consider-using-tuple pylint warnings in component tests
* Apply su
Co-authored-by: Michael <35783820+mib1185@users.noreply.github.com>
---------
Co-authored-by: Michael <35783820+mib1185@users.noreply.github.com>
* When quoting placeholders, always use double quotes so Lokalise recognizes the placeholder.
* Ensure that strings does not contain placeholders in single quotes.
* Avoid redefining value
* Moved string_with_no_placeholders_in_single_quotes
* Define regex once
* Fix tests
* Add ServiceResponse to rest_command
* Handle json and text responses.
Add Unit tests
* Rest command text output handling.
Prevent issue solved by PR#97777
* Re-raise exceptions as HomeAssistantError to enable 'continue_on_error' in scripts / automations.
* Improve test coverage
* Restructure to improve McCabe Complexity
* Remove LookupError
* Revert exception catching location
* Remove LookupError from exception handling