pyg90alarm.entities.base_entity

Base entity.

Classes

G90BaseEntity()

Base entity class.

class pyg90alarm.entities.base_entity.G90BaseEntity

Bases: ABC

Base entity class.

Contains minimal set of method for G90BaseList class

abstractmethod update(obj)

Update the entity from another one.

Parameters:

obj (Self) – Object to update from.

Return type:

None

abstract property is_unavailable: bool

Check if the entity is unavailable.

Returns:

True if the entity is unavailable.

abstract property name: str

Get the name of the entity.

Returns:

Name of the entity.

abstract property index: int

Get the index of the entity.

Returns:

Index of the entity.

abstract property subindex: int

Get the subindex of the entity.

Returns:

Subindex of the entity.