String formatting improvements (#33635)
* String formatting improvements * Found another one
This commit is contained in:
parent
025cce3445
commit
e8a0abd107
39 changed files with 52 additions and 56 deletions
|
@ -34,7 +34,7 @@ class QrEntity(ImageProcessingEntity):
|
|||
if name:
|
||||
self._name = name
|
||||
else:
|
||||
self._name = "QR {0}".format(split_entity_id(camera_entity)[1])
|
||||
self._name = "QR {}".format(split_entity_id(camera_entity)[1])
|
||||
self._state = None
|
||||
|
||||
@property
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue