changed string formatting according to development guidelines

This commit is contained in:
tomaae 2020-03-16 19:02:54 +01:00
parent 7af3ef0bb3
commit 8ec4f9ade5
7 changed files with 31 additions and 39 deletions

View file

@ -118,7 +118,7 @@ class MikrotikControllerData:
@property
def signal_update(self):
"""Event to signal new data."""
return "{}-update-{}".format(DOMAIN, self.name)
return f"{DOMAIN}-update-{self.name}"
# ---------------------------
# connected