1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 12:59:34 +00:00

Use literal string interpolation in integrations N-Q (f-strings) (#26391)

This commit is contained in:
Franck Nijhof
2019-09-03 20:35:00 +02:00
committed by Paulus Schoutsen
parent 330ae0d885
commit 1c5e0123c9
62 changed files with 103 additions and 113 deletions

View File

@@ -36,8 +36,8 @@ DOMAIN = "opensky"
DEFAULT_ALTITUDE = 0
EVENT_OPENSKY_ENTRY = "{}_entry".format(DOMAIN)
EVENT_OPENSKY_EXIT = "{}_exit".format(DOMAIN)
EVENT_OPENSKY_ENTRY = f"{DOMAIN}_entry"
EVENT_OPENSKY_EXIT = f"{DOMAIN}_exit"
SCAN_INTERVAL = timedelta(seconds=12) # opensky public limit is 10 seconds
OPENSKY_ATTRIBUTION = (