Add scan interval and parallel updates to LinkPlay media player (#143324)

This commit is contained in:
Simon Lamon 2025-04-22 13:11:39 +02:00 committed by Franck Nijhof
parent 73707fa231
commit deb966128f
No known key found for this signature in database
GPG Key ID: AB33ADACE7101952

View File

@ -2,6 +2,7 @@
from __future__ import annotations
from datetime import timedelta
import logging
from typing import Any
@ -120,6 +121,8 @@ SERVICE_PLAY_PRESET_SCHEMA = cv.make_entity_service_schema(
)
RETRY_POLL_MAXIMUM = 3
SCAN_INTERVAL = timedelta(seconds=5)
PARALLEL_UPDATES = 1
async def async_setup_entry(