Improve string formatting v4 (#33668)

* Improve string formatting v4

* Use normal strings instead of f-strings

* Fix zeroconf test by adding back part of a condition
This commit is contained in:
springstan authored and GitHub committed 2020-04-05 16:01:41 +02:00
1 parent b855177fe6
commit e3bcfb88e7
20 files changed
+43 -47

No files matched your search

@@ -39,6 +39,6 @@ SIGNAL_WEBSOCKET_CONNECTED = "websocket_connected"
SIGNAL_WEBSOCKET_DISCONNECTED = "websocket_disconnected"
# Data used to store the current connection list
DATA_CONNECTIONS = DOMAIN + ".connections"
DATA_CONNECTIONS = f"{DOMAIN}.connections"
JSON_DUMP = partial(json.dumps, cls=JSONEncoder, allow_nan=False)