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:
committed by
Paulus Schoutsen
parent
330ae0d885
commit
1c5e0123c9
@@ -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 = (
|
||||
|
||||
Reference in New Issue
Block a user