Add PARALLEL_UPDATES to Squeezebox (#144618)

This commit is contained in:
peteS-UK 2025-05-11 16:21:01 +01:00 committed by GitHub
parent a540c62594
commit 6f41fbeb22
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 10 additions and 0 deletions

View File

@ -17,6 +17,9 @@ from . import SqueezeboxConfigEntry
from .const import STATUS_SENSOR_NEEDSRESTART, STATUS_SENSOR_RESCAN
from .entity import LMSStatusEntity
# Coordinator is used to centralize the data updates
PARALLEL_UPDATES = 0
SENSORS: tuple[BinarySensorEntityDescription, ...] = (
BinarySensorEntityDescription(
key=STATUS_SENSOR_RESCAN,

View File

@ -18,6 +18,9 @@ from .entity import SqueezeboxEntity
_LOGGER = logging.getLogger(__name__)
# Coordinator is used to centralize the data updates
PARALLEL_UPDATES = 0
HARDWARE_MODELS_WITH_SCREEN = [
"Squeezebox Boom",
"Squeezebox Radio",

View File

@ -75,6 +75,7 @@ ATTR_QUERY_RESULT = "query_result"
_LOGGER = logging.getLogger(__name__)
PARALLEL_UPDATES = 1
ATTR_PARAMETERS = "parameters"
ATTR_OTHER_PLAYER = "other_player"

View File

@ -29,6 +29,9 @@ from .const import (
)
from .entity import LMSStatusEntity
# Coordinator is used to centralize the data updates
PARALLEL_UPDATES = 0
SENSORS: tuple[SensorEntityDescription, ...] = (
SensorEntityDescription(
key=STATUS_SENSOR_INFO_TOTAL_ALBUMS,