mirror of
https://github.com/home-assistant/core.git
synced 2025-11-09 19:09:32 +00:00
Use literal string interpolation in integrations T-W (f-strings) (#26394)
This commit is contained in:
committed by
Pascal Vizeli
parent
cde09062c4
commit
ef0e9431b6
@@ -63,7 +63,7 @@ class TransmissionSensor(Entity):
|
||||
@property
|
||||
def name(self):
|
||||
"""Return the name of the sensor."""
|
||||
return "{} {}".format(self.client_name, self._name)
|
||||
return f"{self.client_name} {self._name}"
|
||||
|
||||
@property
|
||||
def state(self):
|
||||
|
||||
Reference in New Issue
Block a user