Use literal string interpolation in integrations X-Z (f-strings) (#26395)

This commit is contained in:
Franck Nijhof authored and Pascal Vizeli committed 2019-09-03 21:15:31 +02:00
1 parent 445c741b30
commit dae6895a95
36 files changed
+115 -137

No files matched your search

@@ -348,5 +348,5 @@ class ZWaveNodeEntity(ZWaveBaseEntity):
def _compute_unique_id(self):
if is_node_parsed(self.node) or self.node.is_ready:
return "node-{}".format(self.node_id)
return f"node-{self.node_id}"
return None