mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 21:06:19 +00:00
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:
committed by
Andrew Sayre
parent
3534b8a977
commit
ad51615718
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user