Use literal string interpolation in integrations A (f-strings) (#26377)
* Use literal string interpolation in integrations A (f-strings) * Black
This commit is contained in:
parent
3534b8a977
commit
ad51615718
37 changed files with 74 additions and 95 deletions
|
@ -92,4 +92,4 @@ class AxisCamera(AxisEntityBase, MjpegCamera):
|
|||
@property
|
||||
def unique_id(self):
|
||||
"""Return a unique identifier for this device."""
|
||||
return "{}-camera".format(self.device.serial)
|
||||
return f"{self.device.serial}-camera"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue