Use literal string interpolation in integrations B-D (f-strings) (#26378)

This commit is contained in:
Franck Nijhof 2019-09-03 17:09:59 +02:00 committed by Pascal Vizeli
parent 105461edb5
commit 6a24d893c8
52 changed files with 116 additions and 126 deletions

View file

@ -55,7 +55,7 @@ class BlinkSyncModule(AlarmControlPanel):
@property
def name(self):
"""Return the name of the panel."""
return "{} {}".format(BLINK_DATA, self._name)
return f"{BLINK_DATA} {self._name}"
@property
def device_state_attributes(self):