mirror of
https://github.com/home-assistant/core.git
synced 2025-07-27 23:27:37 +00:00
Add PARALLEL_UPDATES to Squeezebox (#144618)
This commit is contained in:
parent
a540c62594
commit
6f41fbeb22
@ -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,
|
||||
|
@ -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",
|
||||
|
@ -75,6 +75,7 @@ ATTR_QUERY_RESULT = "query_result"
|
||||
|
||||
_LOGGER = logging.getLogger(__name__)
|
||||
|
||||
PARALLEL_UPDATES = 1
|
||||
|
||||
ATTR_PARAMETERS = "parameters"
|
||||
ATTR_OTHER_PLAYER = "other_player"
|
||||
|
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user