Module smoke_co_alarm

Source
Expand description

Generated Matter TLV encoders and decoders for Smoke CO Alarm Cluster Cluster ID: 0x005C

This file is automatically generated from SmokeCOAlarm.xml

Functionsยง

decode_attribute_json
Decode attribute value and return as JSON string
decode_battery_alert
Decode BatteryAlert attribute (0x0003)
decode_co_state
Decode COState attribute (0x0002)
decode_contamination_state
Decode ContaminationState attribute (0x000A)
decode_device_muted
Decode DeviceMuted attribute (0x0004)
decode_end_of_service_alert
Decode EndOfServiceAlert attribute (0x0007)
decode_expiry_date
Decode ExpiryDate attribute (0x000C)
decode_expressed_state
Decode ExpressedState attribute (0x0000)
decode_hardware_fault_alert
Decode HardwareFaultAlert attribute (0x0006)
decode_interconnect_co_alarm
Decode InterconnectCOAlarm attribute (0x0009)
decode_interconnect_smoke_alarm
Decode InterconnectSmokeAlarm attribute (0x0008)
decode_smoke_sensitivity_level
Decode SmokeSensitivityLevel attribute (0x000B)
decode_smoke_state
Decode SmokeState attribute (0x0001)
decode_test_in_progress
Decode TestInProgress attribute (0x0005)
get_attribute_list
Get list of all attributes supported by this cluster