Restore flume scan interval to match app (#86354)
To stay under the API limit the device connection is now only checked hourly and notifications are only checked every 5 minutes fixes #82336pull/85842/head
parent
a62b8a4f5b
commit
a49461a040
|
@ -15,10 +15,10 @@ PLATFORMS = [
|
|||
|
||||
DEFAULT_NAME = "Flume Sensor"
|
||||
|
||||
# Flume API limits individual endpoints to 120 queries per hour
|
||||
NOTIFICATION_SCAN_INTERVAL = timedelta(minutes=1)
|
||||
DEVICE_SCAN_INTERVAL = timedelta(minutes=5)
|
||||
DEVICE_CONNECTION_SCAN_INTERVAL = timedelta(minutes=1)
|
||||
# Flume API limits queries to 120 per hour
|
||||
NOTIFICATION_SCAN_INTERVAL = timedelta(minutes=5)
|
||||
DEVICE_SCAN_INTERVAL = timedelta(minutes=1)
|
||||
DEVICE_CONNECTION_SCAN_INTERVAL = timedelta(minutes=60)
|
||||
|
||||
_LOGGER = logging.getLogger(__package__)
|
||||
|
||||
|
|
Loading…
Reference in New Issue