mirror of
https://github.com/home-assistant/core.git
synced 2025-11-15 22:10:09 +00:00
Use literal string interpolation in integrations E-G (f-strings) (#26379)
This commit is contained in:
committed by
Pascal Vizeli
parent
6a24d893c8
commit
fa79ef1220
@@ -212,7 +212,7 @@ class GoogleEntity:
|
||||
if not executed:
|
||||
raise SmartHomeError(
|
||||
ERR_FUNCTION_NOT_SUPPORTED,
|
||||
"Unable to execute {} for {}".format(command, self.state.entity_id),
|
||||
f"Unable to execute {command} for {self.state.entity_id}",
|
||||
)
|
||||
|
||||
@callback
|
||||
|
||||
Reference in New Issue
Block a user