mirror of
https://github.com/home-assistant/core.git
synced 2025-07-15 17:27:10 +00:00
Set PARALLEL_UPDATES for incomfort entity platforms (#134110)
This commit is contained in:
parent
da531d0e4e
commit
263e0acd3a
@ -20,6 +20,8 @@ from . import InComfortConfigEntry
|
|||||||
from .coordinator import InComfortDataCoordinator
|
from .coordinator import InComfortDataCoordinator
|
||||||
from .entity import IncomfortBoilerEntity
|
from .entity import IncomfortBoilerEntity
|
||||||
|
|
||||||
|
PARALLEL_UPDATES = 0
|
||||||
|
|
||||||
|
|
||||||
@dataclass(frozen=True, kw_only=True)
|
@dataclass(frozen=True, kw_only=True)
|
||||||
class IncomfortBinarySensorEntityDescription(BinarySensorEntityDescription):
|
class IncomfortBinarySensorEntityDescription(BinarySensorEntityDescription):
|
||||||
|
@ -22,6 +22,8 @@ from .const import DOMAIN
|
|||||||
from .coordinator import InComfortDataCoordinator
|
from .coordinator import InComfortDataCoordinator
|
||||||
from .entity import IncomfortEntity
|
from .entity import IncomfortEntity
|
||||||
|
|
||||||
|
PARALLEL_UPDATES = 1
|
||||||
|
|
||||||
|
|
||||||
async def async_setup_entry(
|
async def async_setup_entry(
|
||||||
hass: HomeAssistant,
|
hass: HomeAssistant,
|
||||||
|
@ -22,6 +22,8 @@ from . import InComfortConfigEntry
|
|||||||
from .coordinator import InComfortDataCoordinator
|
from .coordinator import InComfortDataCoordinator
|
||||||
from .entity import IncomfortBoilerEntity
|
from .entity import IncomfortBoilerEntity
|
||||||
|
|
||||||
|
PARALLEL_UPDATES = 0
|
||||||
|
|
||||||
|
|
||||||
@dataclass(frozen=True, kw_only=True)
|
@dataclass(frozen=True, kw_only=True)
|
||||||
class IncomfortSensorEntityDescription(SensorEntityDescription):
|
class IncomfortSensorEntityDescription(SensorEntityDescription):
|
||||||
|
@ -20,6 +20,8 @@ _LOGGER = logging.getLogger(__name__)
|
|||||||
|
|
||||||
HEATER_ATTRS = ["display_code", "display_text", "is_burning"]
|
HEATER_ATTRS = ["display_code", "display_text", "is_burning"]
|
||||||
|
|
||||||
|
PARALLEL_UPDATES = 0
|
||||||
|
|
||||||
|
|
||||||
async def async_setup_entry(
|
async def async_setup_entry(
|
||||||
hass: HomeAssistant,
|
hass: HomeAssistant,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user