mirror of
https://github.com/tomaae/homeassistant-mikrotik_router.git
synced 2025-07-02 21:44:31 +02:00
changed string formatting according to development guidelines
This commit is contained in:
parent
7af3ef0bb3
commit
8ec4f9ade5
7 changed files with 31 additions and 39 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue