mirror of
https://github.com/home-assistant/core.git
synced 2025-07-25 06:07:17 +00:00
Set parallel updates in NUT (#141225)
This commit is contained in:
parent
e2f7133d00
commit
56cb54588e
@ -17,6 +17,8 @@ from .entity import NUTBaseEntity
|
||||
|
||||
_LOGGER = logging.getLogger(__name__)
|
||||
|
||||
PARALLEL_UPDATES = 0
|
||||
|
||||
|
||||
async def async_setup_entry(
|
||||
hass: HomeAssistant,
|
||||
|
@ -30,6 +30,9 @@ from . import NutConfigEntry
|
||||
from .const import KEY_STATUS, KEY_STATUS_DISPLAY, STATE_TYPES
|
||||
from .entity import NUTBaseEntity
|
||||
|
||||
# Coordinator is used to centralize the data updates
|
||||
PARALLEL_UPDATES = 0
|
||||
|
||||
AMBIENT_PRESENT = "ambient.present"
|
||||
AMBIENT_SENSORS = {
|
||||
"ambient.humidity",
|
||||
|
@ -18,6 +18,8 @@ from .entity import NUTBaseEntity
|
||||
|
||||
_LOGGER = logging.getLogger(__name__)
|
||||
|
||||
PARALLEL_UPDATES = 0
|
||||
|
||||
|
||||
async def async_setup_entry(
|
||||
hass: HomeAssistant,
|
||||
|
Loading…
x
Reference in New Issue
Block a user