mirror of
https://github.com/home-assistant/core.git
synced 2025-07-28 07:37:34 +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 .const import STATUS_SENSOR_NEEDSRESTART, STATUS_SENSOR_RESCAN
|
||||||
from .entity import LMSStatusEntity
|
from .entity import LMSStatusEntity
|
||||||
|
|
||||||
|
# Coordinator is used to centralize the data updates
|
||||||
|
PARALLEL_UPDATES = 0
|
||||||
|
|
||||||
SENSORS: tuple[BinarySensorEntityDescription, ...] = (
|
SENSORS: tuple[BinarySensorEntityDescription, ...] = (
|
||||||
BinarySensorEntityDescription(
|
BinarySensorEntityDescription(
|
||||||
key=STATUS_SENSOR_RESCAN,
|
key=STATUS_SENSOR_RESCAN,
|
||||||
|
@ -18,6 +18,9 @@ from .entity import SqueezeboxEntity
|
|||||||
|
|
||||||
_LOGGER = logging.getLogger(__name__)
|
_LOGGER = logging.getLogger(__name__)
|
||||||
|
|
||||||
|
# Coordinator is used to centralize the data updates
|
||||||
|
PARALLEL_UPDATES = 0
|
||||||
|
|
||||||
HARDWARE_MODELS_WITH_SCREEN = [
|
HARDWARE_MODELS_WITH_SCREEN = [
|
||||||
"Squeezebox Boom",
|
"Squeezebox Boom",
|
||||||
"Squeezebox Radio",
|
"Squeezebox Radio",
|
||||||
|
@ -75,6 +75,7 @@ ATTR_QUERY_RESULT = "query_result"
|
|||||||
|
|
||||||
_LOGGER = logging.getLogger(__name__)
|
_LOGGER = logging.getLogger(__name__)
|
||||||
|
|
||||||
|
PARALLEL_UPDATES = 1
|
||||||
|
|
||||||
ATTR_PARAMETERS = "parameters"
|
ATTR_PARAMETERS = "parameters"
|
||||||
ATTR_OTHER_PLAYER = "other_player"
|
ATTR_OTHER_PLAYER = "other_player"
|
||||||
|
@ -29,6 +29,9 @@ from .const import (
|
|||||||
)
|
)
|
||||||
from .entity import LMSStatusEntity
|
from .entity import LMSStatusEntity
|
||||||
|
|
||||||
|
# Coordinator is used to centralize the data updates
|
||||||
|
PARALLEL_UPDATES = 0
|
||||||
|
|
||||||
SENSORS: tuple[SensorEntityDescription, ...] = (
|
SENSORS: tuple[SensorEntityDescription, ...] = (
|
||||||
SensorEntityDescription(
|
SensorEntityDescription(
|
||||||
key=STATUS_SENSOR_INFO_TOTAL_ALBUMS,
|
key=STATUS_SENSOR_INFO_TOTAL_ALBUMS,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user