Use literal string interpolation in integrations R-S (f-strings) (#26392)
This commit is contained in:
1 parent
7203027cbf
commit
445c741b30
69 files changed
+129
-149
No files matched your search
@@ -1,7 +1,7 @@
|
||||
"""Consts used by Speedtest.net."""
|
||||
|
||||
DOMAIN = "speedtestdotnet"
|
||||
DATA_UPDATED = "{}_data_updated".format(DOMAIN)
|
||||
DATA_UPDATED = f"{DOMAIN}_data_updated"
|
||||
|
||||
SENSOR_TYPES = {
|
||||
"ping": ["Ping", "ms"],
|
||||
|
||||
Reference in new issue
Block a user