parent
5c8fa717bf
commit
e5c0183e0f
|
@ -18,6 +18,8 @@ from .const import DOMAIN
|
|||
from .coordinator import PyLoadConfigEntry
|
||||
from .entity import BasePyLoadEntity
|
||||
|
||||
PARALLEL_UPDATES = 1
|
||||
|
||||
|
||||
@dataclass(kw_only=True, frozen=True)
|
||||
class PyLoadButtonEntityDescription(ButtonEntityDescription):
|
||||
|
|
|
@ -21,6 +21,8 @@ from .const import UNIT_DOWNLOADS
|
|||
from .coordinator import PyLoadConfigEntry, PyLoadData
|
||||
from .entity import BasePyLoadEntity
|
||||
|
||||
PARALLEL_UPDATES = 0
|
||||
|
||||
|
||||
class PyLoadSensorEntity(StrEnum):
|
||||
"""pyLoad Sensor Entities."""
|
||||
|
|
|
@ -22,6 +22,8 @@ from .const import DOMAIN
|
|||
from .coordinator import PyLoadConfigEntry, PyLoadData
|
||||
from .entity import BasePyLoadEntity
|
||||
|
||||
PARALLEL_UPDATES = 1
|
||||
|
||||
|
||||
class PyLoadSwitch(StrEnum):
|
||||
"""PyLoad Switch Entities."""
|
||||
|
|
Loading…
Reference in New Issue