mirror of
https://github.com/elisspace/core.git
synced 2026-09-28 05:19:54 +00:00
Use literal string interpolation in integrations R-S (f-strings) (#26392)
This commit is contained in:
committed by
Pascal Vizeli
parent
7203027cbf
commit
445c741b30
@@ -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