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 GitHub
parent def11f9959
commit d3a8af9ed0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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