added root_key as abstract property to BaseEntity

This commit is contained in:
iLLiCiTiT 2021-06-25 14:51:47 +02:00
parent 944a347ff8
commit 251d3add01

View file

@ -279,6 +279,11 @@ class BaseItemEntity(BaseEntity):
self, "Dynamic entity can't require restart."
)
@abstractproperty
def root_key(self):
"""Root is represented as this dictionary key."""
pass
@abstractmethod
def set_override_state(self, state):
"""Set override state and trigger it on children.