unitelabs.sdk.core.module.module_factory

Functions

  • to_class_name(name : str) -> str

    Parameters

    • Name
      name
      Type
      str
      Default
      Description

    Response

    Type
    str
    Description

  • module_factory(values : ModuleResponse, client : Client) -> Module

    Parameters

    Response

    Type
    Module
    Description

  • to_method_name(access : typing.Literal['PROPERTY', 'SENSOR', 'CONTROL', 'DIAGNOSTIC'], name : str) -> str

    Parameters

    • Name
      access
      Type
      typing.Literal['PROPERTY', 'SENSOR', 'CONTROL', 'DIAGNOSTIC']
      Default
      Description

    • Name
      name
      Type
      str
      Default
      Description

    Response

    Type
    str
    Description

  • action_factory(values : ActionResponse, client : Client) -> Action

    Parameters

    Response

    Type
    Action
    Description

Copyright © 2024