circuitmatter.clusters.general.level_control ============================================ .. py:module:: circuitmatter.clusters.general.level_control Classes ------- .. autoapisummary:: circuitmatter.clusters.general.level_control.FeatureBitmap circuitmatter.clusters.general.level_control.OptionsBitmap circuitmatter.clusters.general.level_control.MoveModeEnum circuitmatter.clusters.general.level_control.StepModeEnum circuitmatter.clusters.general.level_control.LevelControl Module Contents --------------- .. py:class:: FeatureBitmap Bases: :py:obj:`enum.IntFlag` Support for integer-based Flags .. py:attribute:: ON_OFF .. py:attribute:: LIGHTING .. py:attribute:: FREQUENCY .. py:class:: OptionsBitmap Bases: :py:obj:`circuitmatter.data_model.Map8` Support for integer-based Flags .. py:attribute:: ExecuteIfOff :value: 0 .. py:attribute:: CoupleColorTempToLevel :value: 1 .. py:class:: MoveModeEnum Bases: :py:obj:`circuitmatter.data_model.Enum8` Enum where members are also (and must be) ints .. py:attribute:: UP :value: 0 .. py:attribute:: DOWN :value: 1 .. py:class:: StepModeEnum Bases: :py:obj:`circuitmatter.data_model.Enum8` Enum where members are also (and must be) ints .. py:attribute:: UP :value: 0 .. py:attribute:: DOWN :value: 1 .. py:class:: LevelControl Bases: :py:obj:`circuitmatter.data_model.Cluster` .. py:attribute:: CLUSTER_ID :value: 8 .. py:attribute:: CurrentLevel .. py:attribute:: RemainingTime .. py:attribute:: MinLevel .. py:attribute:: MaxLevel .. py:attribute:: OnLevel .. py:attribute:: Options .. py:attribute:: StartUpCurrentLevel .. py:class:: MoveToLevel Bases: :py:obj:`circuitmatter.tlv.Structure` .. py:attribute:: Level .. py:attribute:: TransitionTime .. py:attribute:: OptionsMask .. py:attribute:: OptionsOverride .. py:method:: __str__() .. py:method:: encode() -> memoryview .. py:method:: encode_into(buffer: bytearray, offset: int = 0) -> int .. py:method:: decode(buffer: memoryview, offset=0) -> Structure :classmethod: .. py:method:: decode_member(control_octet, buffer, offset=0, depth=0) -> tuple[dict, int] :classmethod: .. py:method:: construct_containers() .. py:method:: from_value(value) :classmethod: .. py:attribute:: values .. py:method:: max_length() :classmethod: .. py:method:: set_value(tag, value) .. py:method:: delete_value(tag) .. py:attribute:: move_to_level .. py:class:: Move Bases: :py:obj:`circuitmatter.tlv.Structure` .. py:attribute:: MoveMode .. py:attribute:: Rate .. py:attribute:: OptionsMask .. py:attribute:: OptionsOverride .. py:method:: __str__() .. py:method:: encode() -> memoryview .. py:method:: encode_into(buffer: bytearray, offset: int = 0) -> int .. py:method:: decode(buffer: memoryview, offset=0) -> Structure :classmethod: .. py:method:: decode_member(control_octet, buffer, offset=0, depth=0) -> tuple[dict, int] :classmethod: .. py:method:: construct_containers() .. py:method:: from_value(value) :classmethod: .. py:attribute:: values .. py:method:: max_length() :classmethod: .. py:method:: set_value(tag, value) .. py:method:: delete_value(tag) .. py:attribute:: move .. py:class:: Step Bases: :py:obj:`circuitmatter.tlv.Structure` .. py:attribute:: StepMode .. py:attribute:: StepSize .. py:attribute:: TransitionTime .. py:attribute:: OptionsMask .. py:attribute:: OptionsOverride .. py:method:: __str__() .. py:method:: encode() -> memoryview .. py:method:: encode_into(buffer: bytearray, offset: int = 0) -> int .. py:method:: decode(buffer: memoryview, offset=0) -> Structure :classmethod: .. py:method:: decode_member(control_octet, buffer, offset=0, depth=0) -> tuple[dict, int] :classmethod: .. py:method:: construct_containers() .. py:method:: from_value(value) :classmethod: .. py:attribute:: values .. py:method:: max_length() :classmethod: .. py:method:: set_value(tag, value) .. py:method:: delete_value(tag) .. py:attribute:: step .. py:class:: Stop Bases: :py:obj:`circuitmatter.tlv.Structure` .. py:attribute:: OptionsMask .. py:attribute:: OptionsOverride .. py:method:: __str__() .. py:method:: encode() -> memoryview .. py:method:: encode_into(buffer: bytearray, offset: int = 0) -> int .. py:method:: decode(buffer: memoryview, offset=0) -> Structure :classmethod: .. py:method:: decode_member(control_octet, buffer, offset=0, depth=0) -> tuple[dict, int] :classmethod: .. py:method:: construct_containers() .. py:method:: from_value(value) :classmethod: .. py:attribute:: values .. py:method:: max_length() :classmethod: .. py:method:: set_value(tag, value) .. py:method:: delete_value(tag) .. py:attribute:: stop .. py:attribute:: move_to_level_with_on_off .. py:attribute:: move_with_on_off .. py:attribute:: step_with_on_off .. py:attribute:: stop_with_on_off .. py:attribute:: cluster_revision .. py:attribute:: feature_map .. py:attribute:: attribute_list .. py:attribute:: event_list .. py:attribute:: accepted_command_list .. py:attribute:: generated_command_list .. py:attribute:: data_version .. py:method:: __contains__(descriptor_id) .. py:method:: restore(nonvolatile) .. py:method:: get_attribute_data(session, path, subscription=None) -> list[circuitmatter.interaction_model.AttributeDataIB] .. py:method:: set_attribute(context, attribute_data) -> circuitmatter.interaction_model.AttributeStatusIB .. py:method:: invoke(session, path, fields) -> circuitmatter.interaction_model.CommandDataIB | circuitmatter.interaction_model.StatusCode | None