Use literal string interpolation in integrations E-G (f-strings) (#26379)
This commit is contained in:
1 parent
6a24d893c8
commit
fa79ef1220
45 files changed
+87
-92
No files matched your search
@@ -11,7 +11,7 @@ from homeassistant.helpers.dispatcher import dispatcher_send
|
||||
from homeassistant.helpers.event import async_track_time_interval
|
||||
|
||||
DOMAIN = "fastdotcom"
|
||||
DATA_UPDATED = "{}_data_updated".format(DOMAIN)
|
||||
DATA_UPDATED = f"{DOMAIN}_data_updated"
|
||||
|
||||
_LOGGER = logging.getLogger(__name__)
|
||||
|
||||
|
||||
Reference in new issue
Block a user