Use literal string interpolation in integrations N-Q (f-strings) (#26391)
This commit is contained in:
1 parent
330ae0d885
commit
1c5e0123c9
62 files changed
+103
-113
No files matched your search
@@ -152,7 +152,7 @@ class NetatmoBinarySensor(BinarySensorDevice):
|
||||
self._home = home
|
||||
self._timeout = timeout
|
||||
if home:
|
||||
self._name = "{} / {}".format(home, camera_name)
|
||||
self._name = f"{home} / {camera_name}"
|
||||
else:
|
||||
self._name = camera_name
|
||||
if module_name:
|
||||
|
||||
Reference in new issue
Block a user