Improve string formatting v9 (#34050)

* Improve string formatting v9

* Address review comments
This commit is contained in:
springstan authored and GitHub committed 2020-04-12 17:18:09 +02:00
1 parent 5aca16ef01
commit b2af1de273
21 files changed
+47 -72

No files matched your search

@@ -34,7 +34,7 @@ class QrEntity(ImageProcessingEntity):
if name:
self._name = name
else:
self._name = "QR {}".format(split_entity_id(camera_entity)[1])
self._name = f"QR {split_entity_id(camera_entity)[1]}"
self._state = None
@property