mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 21:06:19 +00:00
Use literal string interpolation in integrations B-D (f-strings) (#26378)
This commit is contained in:
committed by
Pascal Vizeli
parent
105461edb5
commit
6a24d893c8
@@ -82,7 +82,7 @@ class CmusDevice(MediaPlayerDevice):
|
||||
|
||||
if server:
|
||||
self.cmus = remote.PyCmus(server=server, password=password, port=port)
|
||||
auto_name = "cmus-{}".format(server)
|
||||
auto_name = f"cmus-{server}"
|
||||
else:
|
||||
self.cmus = remote.PyCmus()
|
||||
auto_name = "cmus-local"
|
||||
|
||||
Reference in New Issue
Block a user