Use literal string interpolation in integrations N-Q (f-strings) (#26391)
This commit is contained in:
parent
330ae0d885
commit
1c5e0123c9
62 changed files with 103 additions and 113 deletions
|
@ -59,7 +59,7 @@ class NelloLock(LockDevice):
|
|||
location_id = self._nello_lock.location_id
|
||||
short_id = self._nello_lock.short_id
|
||||
address = self._nello_lock.address
|
||||
self._name = "Nello {}".format(short_id)
|
||||
self._name = f"Nello {short_id}"
|
||||
self._device_attrs = {ATTR_ADDRESS: address, ATTR_LOCATION_ID: location_id}
|
||||
# Process recent activity
|
||||
activity = self._nello_lock.activity
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue