Skip to main content

Module power_source

Module power_source 

Source
Expand description

PowerSource cluster (0x002F). @generated by cargo xtask codegen — do not edit.

Modules§

attribute_id
Attribute IDs (cluster-specific).
command_id
Command IDs (requests and responses).

Structs§

Feature
PowerSource feature bits (FeatureMap).

Enums§

BatApprovedChemistryEnum
BatApprovedChemistryEnum (enum16).
BatChargeFaultEnum
BatChargeFaultEnum (enum8).
BatChargeLevelEnum
BatChargeLevelEnum (enum8).
BatChargeStateEnum
BatChargeStateEnum (enum8).
BatCommonDesignationEnum
BatCommonDesignationEnum (enum16).
BatFaultEnum
BatFaultEnum (enum8).
BatReplaceabilityEnum
BatReplaceabilityEnum (enum8).
PowerSourceStatusEnum
PowerSourceStatusEnum (enum8).
WiredCurrentTypeEnum
WiredCurrentTypeEnum (enum8).
WiredFaultEnum
WiredFaultEnum (enum8).

Constants§

CLUSTER_ID
Cluster ID.
CLUSTER_REVISION
Cluster revision.

Functions§

decode_active_bat_charge_faults
Decode the ActiveBatChargeFaults attribute value.
decode_active_bat_faults
Decode the ActiveBatFaults attribute value.
decode_active_wired_faults
Decode the ActiveWiredFaults attribute value.
decode_bat_ansi_designation
Decode the BatAnsiDesignation attribute value.
decode_bat_approved_chemistry
Decode the BatApprovedChemistry attribute value.
decode_bat_capacity
Decode the BatCapacity attribute value.
decode_bat_charge_level
Decode the BatChargeLevel attribute value.
decode_bat_charge_state
Decode the BatChargeState attribute value.
decode_bat_charging_current
Decode the BatChargingCurrent attribute value.
decode_bat_common_designation
Decode the BatCommonDesignation attribute value.
decode_bat_functional_while_charging
Decode the BatFunctionalWhileCharging attribute value.
decode_bat_iec_designation
Decode the BatIecDesignation attribute value.
decode_bat_percent_remaining
Decode the BatPercentRemaining attribute value.
decode_bat_present
Decode the BatPresent attribute value.
decode_bat_quantity
Decode the BatQuantity attribute value.
decode_bat_replaceability
Decode the BatReplaceability attribute value.
decode_bat_replacement_description
Decode the BatReplacementDescription attribute value.
decode_bat_replacement_needed
Decode the BatReplacementNeeded attribute value.
decode_bat_time_remaining
Decode the BatTimeRemaining attribute value.
decode_bat_time_to_full_charge
Decode the BatTimeToFullCharge attribute value.
decode_bat_voltage
Decode the BatVoltage attribute value.
decode_description
Decode the Description attribute value.
decode_endpoint_list
Decode the EndpointList attribute value.
decode_order
Decode the Order attribute value.
decode_status
Decode the Status attribute value.
decode_wired_assessed_current
Decode the WiredAssessedCurrent attribute value.
decode_wired_assessed_input_frequency
Decode the WiredAssessedInputFrequency attribute value.
decode_wired_assessed_input_voltage
Decode the WiredAssessedInputVoltage attribute value.
decode_wired_current_type
Decode the WiredCurrentType attribute value.
decode_wired_maximum_current
Decode the WiredMaximumCurrent attribute value.
decode_wired_nominal_voltage
Decode the WiredNominalVoltage attribute value.
decode_wired_present
Decode the WiredPresent attribute value.