enhomie.ubiquiti.params package#

Subpackages#

Submodules#

enhomie.ubiquiti.params.origin module#

Functions and routines associated with Enasis Network Homie Automate.

This file is part of Enasis Network software eco-system. Distribution is permitted, for more information consult the project license file.

class enhomie.ubiquiti.params.origin.UbiqOriginParams(_parse: Callable[[...], Any] | None = None, *, router: RouterParams)[source]#

Bases: HomieParamsModel

Process and validate the Homie configuration parameters.

model_config = {'extra': 'forbid'}#

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

router: Annotated[RouterParams, FieldInfo(annotation=NoneType, required=True, description='Connection specific parameters')]#

Module contents#

Functions and routines associated with Enasis Network Homie Automate.

This file is part of Enasis Network software eco-system. Distribution is permitted, for more information consult the project license file.

class enhomie.ubiquiti.params.DriverUbiqClientParams(*, clients: Annotated[list[str], MinLen(min_length=1)], since: Annotated[int, Ge(ge=0)] = 0)[source]#

Bases: HomieParamsModel

Process and validate the Homie configuration parameters.

clients: Annotated[list[str], FieldInfo(annotation=NoneType, required=True, description='Clients that are in scope', metadata=[MinLen(min_length=1)])]#
model_config = {'extra': 'forbid'}#

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

since: Annotated[int, FieldInfo(annotation=NoneType, required=False, default=0, description='Minimum time since changed', metadata=[Ge(ge=0)])]#
class enhomie.ubiquiti.params.UbiqOriginParams(_parse: Callable[[...], Any] | None = None, *, router: RouterParams)[source]#

Bases: HomieParamsModel

Process and validate the Homie configuration parameters.

model_config = {'extra': 'forbid'}#

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

router: Annotated[RouterParams, FieldInfo(annotation=NoneType, required=True, description='Connection specific parameters')]#