Various string cleanups (#30435)
* Remove some unnecessary string concatenations * Replace some simple str.formats with f-strings * Replace some string concatenations with f-strings
This commit is contained in:
committed by
Paulus Schoutsen
parent
5ad209c6fd
commit
fa4fa30461
@@ -193,7 +193,7 @@ def _get_test_integration(hass, name, config_flow):
|
||||
"""Return a generated test integration."""
|
||||
return loader.Integration(
|
||||
hass,
|
||||
"homeassistant.components.{}".format(name),
|
||||
f"homeassistant.components.{name}",
|
||||
None,
|
||||
{
|
||||
"name": name,
|
||||
|
||||
Reference in New Issue
Block a user