@matter/types 0.16.0-alpha.0-20251103-b47ffa15b → 0.16.0-alpha.0-20251106-4e10fd77b
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/clusters/access-control.d.ts +250 -250
- package/dist/cjs/clusters/access-control.js +39 -39
- package/dist/cjs/clusters/account-login.d.ts +29 -29
- package/dist/cjs/clusters/account-login.js +11 -11
- package/dist/cjs/clusters/actions.d.ts +108 -108
- package/dist/cjs/clusters/actions.js +39 -39
- package/dist/cjs/clusters/administrator-commissioning.d.ts +54 -54
- package/dist/cjs/clusters/administrator-commissioning.js +12 -12
- package/dist/cjs/clusters/air-quality.d.ts +5 -5
- package/dist/cjs/clusters/air-quality.js +1 -1
- package/dist/cjs/clusters/alarm-base.d.ts +43 -43
- package/dist/cjs/clusters/alarm-base.js +14 -14
- package/dist/cjs/clusters/application-basic.d.ts +16 -16
- package/dist/cjs/clusters/application-basic.js +10 -10
- package/dist/cjs/clusters/application-launcher.d.ts +104 -104
- package/dist/cjs/clusters/application-launcher.js +13 -13
- package/dist/cjs/clusters/audio-output.d.ts +37 -37
- package/dist/cjs/clusters/audio-output.js +8 -8
- package/dist/cjs/clusters/basic-information.d.ts +55 -55
- package/dist/cjs/clusters/basic-information.js +35 -35
- package/dist/cjs/clusters/binding.d.ts +12 -12
- package/dist/cjs/clusters/binding.js +5 -5
- package/dist/cjs/clusters/boolean-state-configuration.d.ts +92 -92
- package/dist/cjs/clusters/boolean-state-configuration.js +18 -18
- package/dist/cjs/clusters/boolean-state.d.ts +7 -7
- package/dist/cjs/clusters/boolean-state.js +3 -3
- package/dist/cjs/clusters/bridged-device-basic-information.d.ts +105 -105
- package/dist/cjs/clusters/bridged-device-basic-information.js +29 -29
- package/dist/cjs/clusters/channel.d.ts +561 -561
- package/dist/cjs/clusters/channel.js +73 -73
- package/dist/cjs/clusters/color-control.d.ts +658 -658
- package/dist/cjs/clusters/color-control.js +116 -116
- package/dist/cjs/clusters/commissioner-control.d.ts +16 -16
- package/dist/cjs/clusters/commissioner-control.js +5 -5
- package/dist/cjs/clusters/concentration-measurement.d.ts +26 -26
- package/dist/cjs/clusters/concentration-measurement.js +11 -11
- package/dist/cjs/clusters/content-app-observer.d.ts +18 -18
- package/dist/cjs/clusters/content-app-observer.js +6 -6
- package/dist/cjs/clusters/content-control.d.ts +366 -366
- package/dist/cjs/clusters/content-control.js +58 -58
- package/dist/cjs/clusters/content-launcher.d.ts +479 -479
- package/dist/cjs/clusters/content-launcher.js +39 -39
- package/dist/cjs/clusters/descriptor.d.ts +30 -30
- package/dist/cjs/clusters/descriptor.js +9 -9
- package/dist/cjs/clusters/device-energy-management-mode.d.ts +43 -43
- package/dist/cjs/clusters/device-energy-management-mode.js +8 -8
- package/dist/cjs/clusters/device-energy-management.d.ts +544 -544
- package/dist/cjs/clusters/device-energy-management.js +87 -87
- package/dist/cjs/clusters/diagnostic-logs.d.ts +37 -37
- package/dist/cjs/clusters/diagnostic-logs.js +8 -8
- package/dist/cjs/clusters/dishwasher-alarm.d.ts +57 -57
- package/dist/cjs/clusters/dishwasher-alarm.js +14 -14
- package/dist/cjs/clusters/dishwasher-mode.d.ts +42 -42
- package/dist/cjs/clusters/dishwasher-mode.js +8 -8
- package/dist/cjs/clusters/door-lock.d.ts +1349 -1349
- package/dist/cjs/clusters/door-lock.js +227 -227
- package/dist/cjs/clusters/ecosystem-information.d.ts +35 -35
- package/dist/cjs/clusters/ecosystem-information.js +14 -14
- package/dist/cjs/clusters/electrical-energy-measurement.d.ts +276 -276
- package/dist/cjs/clusters/electrical-energy-measurement.js +25 -25
- package/dist/cjs/clusters/electrical-power-measurement.d.ts +200 -200
- package/dist/cjs/clusters/electrical-power-measurement.js +39 -39
- package/dist/cjs/clusters/energy-evse-mode.d.ts +43 -43
- package/dist/cjs/clusters/energy-evse-mode.js +8 -8
- package/dist/cjs/clusters/energy-evse.d.ts +323 -323
- package/dist/cjs/clusters/energy-evse.js +73 -73
- package/dist/cjs/clusters/energy-preference.d.ts +49 -49
- package/dist/cjs/clusters/energy-preference.js +9 -9
- package/dist/cjs/clusters/ethernet-network-diagnostics.d.ts +31 -31
- package/dist/cjs/clusters/ethernet-network-diagnostics.js +10 -10
- package/dist/cjs/clusters/fan-control.d.ts +83 -83
- package/dist/cjs/clusters/fan-control.js +19 -19
- package/dist/cjs/clusters/fixed-label.d.ts +2 -2
- package/dist/cjs/clusters/fixed-label.js +1 -1
- package/dist/cjs/clusters/flow-measurement.d.ts +5 -5
- package/dist/cjs/clusters/flow-measurement.js +4 -4
- package/dist/cjs/clusters/general-commissioning.d.ts +104 -104
- package/dist/cjs/clusters/general-commissioning.js +25 -25
- package/dist/cjs/clusters/general-diagnostics.d.ts +174 -174
- package/dist/cjs/clusters/general-diagnostics.js +40 -40
- package/dist/cjs/clusters/group-key-management.d.ts +119 -119
- package/dist/cjs/clusters/group-key-management.js +23 -23
- package/dist/cjs/clusters/groups.d.ts +78 -78
- package/dist/cjs/clusters/groups.js +21 -21
- package/dist/cjs/clusters/icd-management.d.ts +131 -131
- package/dist/cjs/clusters/icd-management.js +29 -29
- package/dist/cjs/clusters/identify.d.ts +16 -16
- package/dist/cjs/clusters/identify.js +6 -6
- package/dist/cjs/clusters/illuminance-measurement.d.ts +7 -7
- package/dist/cjs/clusters/illuminance-measurement.js +5 -5
- package/dist/cjs/clusters/joint-fabric-administrator.d.ts +34 -34
- package/dist/cjs/clusters/joint-fabric-administrator.js +10 -10
- package/dist/cjs/clusters/joint-fabric-datastore.d.ts +232 -232
- package/dist/cjs/clusters/joint-fabric-datastore.js +73 -73
- package/dist/cjs/clusters/keypad-input.d.ts +18 -18
- package/dist/cjs/clusters/keypad-input.js +3 -3
- package/dist/cjs/clusters/label.d.ts +10 -10
- package/dist/cjs/clusters/label.js +3 -3
- package/dist/cjs/clusters/laundry-dryer-controls.d.ts +4 -4
- package/dist/cjs/clusters/laundry-dryer-controls.js +2 -2
- package/dist/cjs/clusters/laundry-washer-controls.d.ts +23 -23
- package/dist/cjs/clusters/laundry-washer-controls.js +6 -6
- package/dist/cjs/clusters/laundry-washer-mode.d.ts +34 -34
- package/dist/cjs/clusters/laundry-washer-mode.js +5 -5
- package/dist/cjs/clusters/level-control.d.ts +303 -303
- package/dist/cjs/clusters/level-control.js +32 -32
- package/dist/cjs/clusters/localization-configuration.d.ts +3 -3
- package/dist/cjs/clusters/localization-configuration.js +2 -2
- package/dist/cjs/clusters/low-power.d.ts +2 -2
- package/dist/cjs/clusters/low-power.js +1 -1
- package/dist/cjs/clusters/media-input.d.ts +47 -47
- package/dist/cjs/clusters/media-input.js +11 -11
- package/dist/cjs/clusters/media-playback.d.ts +390 -390
- package/dist/cjs/clusters/media-playback.js +57 -57
- package/dist/cjs/clusters/messages.d.ts +154 -154
- package/dist/cjs/clusters/messages.js +38 -38
- package/dist/cjs/clusters/microwave-oven-control.d.ts +63 -63
- package/dist/cjs/clusters/microwave-oven-control.js +17 -17
- package/dist/cjs/clusters/microwave-oven-mode.d.ts +39 -39
- package/dist/cjs/clusters/microwave-oven-mode.js +7 -7
- package/dist/cjs/clusters/mode-base.d.ts +59 -59
- package/dist/cjs/clusters/mode-base.js +13 -13
- package/dist/cjs/clusters/mode-select.d.ts +51 -51
- package/dist/cjs/clusters/mode-select.js +13 -13
- package/dist/cjs/clusters/network-commissioning.d.ts +325 -325
- package/dist/cjs/clusters/network-commissioning.js +46 -46
- package/dist/cjs/clusters/occupancy-sensing.d.ts +78 -78
- package/dist/cjs/clusters/occupancy-sensing.js +20 -20
- package/dist/cjs/clusters/on-off.d.ts +103 -103
- package/dist/cjs/clusters/on-off.js +19 -19
- package/dist/cjs/clusters/operational-credentials.d.ts +106 -106
- package/dist/cjs/clusters/operational-credentials.js +38 -38
- package/dist/cjs/clusters/operational-state.d.ts +67 -67
- package/dist/cjs/clusters/operational-state.js +21 -21
- package/dist/cjs/clusters/ota-software-update-provider.d.ts +65 -65
- package/dist/cjs/clusters/ota-software-update-provider.js +25 -25
- package/dist/cjs/clusters/ota-software-update-requestor.d.ts +72 -72
- package/dist/cjs/clusters/ota-software-update-requestor.js +25 -25
- package/dist/cjs/clusters/oven-cavity-operational-state.d.ts +16 -16
- package/dist/cjs/clusters/oven-cavity-operational-state.js +11 -11
- package/dist/cjs/clusters/oven-mode.d.ts +49 -49
- package/dist/cjs/clusters/oven-mode.js +8 -8
- package/dist/cjs/clusters/power-source-configuration.d.ts +2 -2
- package/dist/cjs/clusters/power-source-configuration.js +1 -1
- package/dist/cjs/clusters/power-source.d.ts +155 -155
- package/dist/cjs/clusters/power-source.js +41 -41
- package/dist/cjs/clusters/power-topology.d.ts +8 -8
- package/dist/cjs/clusters/power-topology.js +2 -2
- package/dist/cjs/clusters/pressure-measurement.d.ts +25 -25
- package/dist/cjs/clusters/pressure-measurement.js +9 -9
- package/dist/cjs/clusters/pump-configuration-and-control.d.ts +189 -189
- package/dist/cjs/clusters/pump-configuration-and-control.js +57 -57
- package/dist/cjs/clusters/refrigerator-alarm.d.ts +43 -43
- package/dist/cjs/clusters/refrigerator-alarm.js +11 -11
- package/dist/cjs/clusters/refrigerator-and-temperature-controlled-cabinet-mode.d.ts +41 -41
- package/dist/cjs/clusters/refrigerator-and-temperature-controlled-cabinet-mode.js +8 -8
- package/dist/cjs/clusters/relative-humidity-measurement.d.ts +5 -5
- package/dist/cjs/clusters/relative-humidity-measurement.js +4 -4
- package/dist/cjs/clusters/resource-monitoring.d.ts +20 -20
- package/dist/cjs/clusters/resource-monitoring.js +7 -7
- package/dist/cjs/clusters/rvc-clean-mode.d.ts +49 -49
- package/dist/cjs/clusters/rvc-clean-mode.js +9 -9
- package/dist/cjs/clusters/rvc-operational-state.d.ts +54 -54
- package/dist/cjs/clusters/rvc-operational-state.js +17 -17
- package/dist/cjs/clusters/rvc-run-mode.d.ts +55 -55
- package/dist/cjs/clusters/rvc-run-mode.js +9 -9
- package/dist/cjs/clusters/scenes-management.d.ts +244 -244
- package/dist/cjs/clusters/scenes-management.js +69 -69
- package/dist/cjs/clusters/service-area.d.ts +128 -128
- package/dist/cjs/clusters/service-area.js +26 -26
- package/dist/cjs/clusters/smoke-co-alarm.d.ts +135 -135
- package/dist/cjs/clusters/smoke-co-alarm.js +30 -30
- package/dist/cjs/clusters/software-diagnostics.d.ts +53 -53
- package/dist/cjs/clusters/software-diagnostics.js +14 -14
- package/dist/cjs/clusters/switch.d.ts +105 -105
- package/dist/cjs/clusters/switch.js +23 -23
- package/dist/cjs/clusters/target-navigator.d.ts +32 -32
- package/dist/cjs/clusters/target-navigator.js +10 -10
- package/dist/cjs/clusters/temperature-control.d.ts +45 -45
- package/dist/cjs/clusters/temperature-control.js +12 -12
- package/dist/cjs/clusters/temperature-measurement.d.ts +5 -5
- package/dist/cjs/clusters/temperature-measurement.js +4 -4
- package/dist/cjs/clusters/thermostat-user-interface-configuration.d.ts +7 -7
- package/dist/cjs/clusters/thermostat-user-interface-configuration.js +3 -3
- package/dist/cjs/clusters/thermostat.d.ts +514 -514
- package/dist/cjs/clusters/thermostat.js +114 -114
- package/dist/cjs/clusters/thread-border-router-management.d.ts +58 -58
- package/dist/cjs/clusters/thread-border-router-management.js +14 -14
- package/dist/cjs/clusters/thread-network-diagnostics.d.ts +359 -359
- package/dist/cjs/clusters/thread-network-diagnostics.js +108 -108
- package/dist/cjs/clusters/thread-network-directory.d.ts +27 -27
- package/dist/cjs/clusters/thread-network-directory.js +11 -11
- package/dist/cjs/clusters/time-format-localization.d.ts +12 -12
- package/dist/cjs/clusters/time-format-localization.js +3 -3
- package/dist/cjs/clusters/time-synchronization.d.ts +246 -246
- package/dist/cjs/clusters/time-synchronization.js +47 -47
- package/dist/cjs/clusters/unit-localization.d.ts +9 -9
- package/dist/cjs/clusters/unit-localization.js +2 -2
- package/dist/cjs/clusters/user-label.d.ts +2 -2
- package/dist/cjs/clusters/user-label.js +1 -1
- package/dist/cjs/clusters/valve-configuration-and-control.d.ts +81 -81
- package/dist/cjs/clusters/valve-configuration-and-control.js +22 -22
- package/dist/cjs/clusters/wake-on-lan.d.ts +3 -3
- package/dist/cjs/clusters/wake-on-lan.js +2 -2
- package/dist/cjs/clusters/water-heater-management.d.ts +91 -91
- package/dist/cjs/clusters/water-heater-management.js +16 -16
- package/dist/cjs/clusters/water-heater-mode.d.ts +42 -42
- package/dist/cjs/clusters/water-heater-mode.js +8 -8
- package/dist/cjs/clusters/wi-fi-network-diagnostics.d.ts +69 -69
- package/dist/cjs/clusters/wi-fi-network-diagnostics.js +20 -20
- package/dist/cjs/clusters/wi-fi-network-management.d.ts +8 -8
- package/dist/cjs/clusters/wi-fi-network-management.js +4 -4
- package/dist/cjs/clusters/window-covering.d.ts +183 -183
- package/dist/cjs/clusters/window-covering.js +49 -49
- package/dist/cjs/dcl/operational-certificate.d.ts +8 -1
- package/dist/cjs/dcl/operational-certificate.d.ts.map +1 -1
- package/dist/cjs/globals/AtomicAttributeStatus.d.ts +4 -4
- package/dist/cjs/globals/AtomicAttributeStatus.js +2 -2
- package/dist/cjs/globals/AtomicRequestType.d.ts +1 -1
- package/dist/cjs/globals/Currency.d.ts +2 -2
- package/dist/cjs/globals/Locationdesc.d.ts +5 -5
- package/dist/cjs/globals/Locationdesc.js +3 -3
- package/dist/cjs/globals/MeasurementAccuracy.d.ts +5 -5
- package/dist/cjs/globals/MeasurementAccuracy.js +3 -3
- package/dist/cjs/globals/MeasurementAccuracyRange.d.ts +10 -10
- package/dist/cjs/globals/MeasurementAccuracyRange.js +8 -8
- package/dist/cjs/globals/MeasurementType.d.ts +1 -1
- package/dist/cjs/globals/Namespace.d.ts +1 -1
- package/dist/cjs/globals/Price.d.ts +2 -2
- package/dist/cjs/globals/Priority.d.ts +1 -1
- package/dist/cjs/globals/Semtag.d.ts +6 -6
- package/dist/cjs/globals/Semtag.js +4 -4
- package/dist/cjs/globals/SoftwareVersionCertificationStatus.d.ts +1 -1
- package/dist/cjs/globals/Status.d.ts +36 -36
- package/dist/cjs/globals/ThreeLevelAuto.d.ts +1 -1
- package/dist/cjs/globals/WildcardPathFlags.d.ts +1 -1
- package/dist/esm/clusters/access-control.d.ts +250 -250
- package/dist/esm/clusters/access-control.js +39 -39
- package/dist/esm/clusters/account-login.d.ts +29 -29
- package/dist/esm/clusters/account-login.js +11 -11
- package/dist/esm/clusters/actions.d.ts +108 -108
- package/dist/esm/clusters/actions.js +39 -39
- package/dist/esm/clusters/administrator-commissioning.d.ts +54 -54
- package/dist/esm/clusters/administrator-commissioning.js +12 -12
- package/dist/esm/clusters/air-quality.d.ts +5 -5
- package/dist/esm/clusters/air-quality.js +1 -1
- package/dist/esm/clusters/alarm-base.d.ts +43 -43
- package/dist/esm/clusters/alarm-base.js +14 -14
- package/dist/esm/clusters/application-basic.d.ts +16 -16
- package/dist/esm/clusters/application-basic.js +10 -10
- package/dist/esm/clusters/application-launcher.d.ts +104 -104
- package/dist/esm/clusters/application-launcher.js +13 -13
- package/dist/esm/clusters/audio-output.d.ts +37 -37
- package/dist/esm/clusters/audio-output.js +8 -8
- package/dist/esm/clusters/basic-information.d.ts +55 -55
- package/dist/esm/clusters/basic-information.js +35 -35
- package/dist/esm/clusters/binding.d.ts +12 -12
- package/dist/esm/clusters/binding.js +5 -5
- package/dist/esm/clusters/boolean-state-configuration.d.ts +92 -92
- package/dist/esm/clusters/boolean-state-configuration.js +18 -18
- package/dist/esm/clusters/boolean-state.d.ts +7 -7
- package/dist/esm/clusters/boolean-state.js +3 -3
- package/dist/esm/clusters/bridged-device-basic-information.d.ts +105 -105
- package/dist/esm/clusters/bridged-device-basic-information.js +29 -29
- package/dist/esm/clusters/channel.d.ts +561 -561
- package/dist/esm/clusters/channel.js +73 -73
- package/dist/esm/clusters/color-control.d.ts +658 -658
- package/dist/esm/clusters/color-control.js +116 -116
- package/dist/esm/clusters/commissioner-control.d.ts +16 -16
- package/dist/esm/clusters/commissioner-control.js +5 -5
- package/dist/esm/clusters/concentration-measurement.d.ts +26 -26
- package/dist/esm/clusters/concentration-measurement.js +11 -11
- package/dist/esm/clusters/content-app-observer.d.ts +18 -18
- package/dist/esm/clusters/content-app-observer.js +6 -6
- package/dist/esm/clusters/content-control.d.ts +366 -366
- package/dist/esm/clusters/content-control.js +58 -58
- package/dist/esm/clusters/content-launcher.d.ts +479 -479
- package/dist/esm/clusters/content-launcher.js +39 -39
- package/dist/esm/clusters/descriptor.d.ts +30 -30
- package/dist/esm/clusters/descriptor.js +9 -9
- package/dist/esm/clusters/device-energy-management-mode.d.ts +43 -43
- package/dist/esm/clusters/device-energy-management-mode.js +8 -8
- package/dist/esm/clusters/device-energy-management.d.ts +544 -544
- package/dist/esm/clusters/device-energy-management.js +87 -87
- package/dist/esm/clusters/diagnostic-logs.d.ts +37 -37
- package/dist/esm/clusters/diagnostic-logs.js +8 -8
- package/dist/esm/clusters/dishwasher-alarm.d.ts +57 -57
- package/dist/esm/clusters/dishwasher-alarm.js +14 -14
- package/dist/esm/clusters/dishwasher-mode.d.ts +42 -42
- package/dist/esm/clusters/dishwasher-mode.js +8 -8
- package/dist/esm/clusters/door-lock.d.ts +1349 -1349
- package/dist/esm/clusters/door-lock.js +227 -227
- package/dist/esm/clusters/ecosystem-information.d.ts +35 -35
- package/dist/esm/clusters/ecosystem-information.js +14 -14
- package/dist/esm/clusters/electrical-energy-measurement.d.ts +276 -276
- package/dist/esm/clusters/electrical-energy-measurement.js +25 -25
- package/dist/esm/clusters/electrical-power-measurement.d.ts +200 -200
- package/dist/esm/clusters/electrical-power-measurement.js +39 -39
- package/dist/esm/clusters/energy-evse-mode.d.ts +43 -43
- package/dist/esm/clusters/energy-evse-mode.js +8 -8
- package/dist/esm/clusters/energy-evse.d.ts +323 -323
- package/dist/esm/clusters/energy-evse.js +73 -73
- package/dist/esm/clusters/energy-preference.d.ts +49 -49
- package/dist/esm/clusters/energy-preference.js +9 -9
- package/dist/esm/clusters/ethernet-network-diagnostics.d.ts +31 -31
- package/dist/esm/clusters/ethernet-network-diagnostics.js +10 -10
- package/dist/esm/clusters/fan-control.d.ts +83 -83
- package/dist/esm/clusters/fan-control.js +19 -19
- package/dist/esm/clusters/fixed-label.d.ts +2 -2
- package/dist/esm/clusters/fixed-label.js +1 -1
- package/dist/esm/clusters/flow-measurement.d.ts +5 -5
- package/dist/esm/clusters/flow-measurement.js +4 -4
- package/dist/esm/clusters/general-commissioning.d.ts +104 -104
- package/dist/esm/clusters/general-commissioning.js +25 -25
- package/dist/esm/clusters/general-diagnostics.d.ts +174 -174
- package/dist/esm/clusters/general-diagnostics.js +40 -40
- package/dist/esm/clusters/group-key-management.d.ts +119 -119
- package/dist/esm/clusters/group-key-management.js +23 -23
- package/dist/esm/clusters/groups.d.ts +78 -78
- package/dist/esm/clusters/groups.js +21 -21
- package/dist/esm/clusters/icd-management.d.ts +131 -131
- package/dist/esm/clusters/icd-management.js +29 -29
- package/dist/esm/clusters/identify.d.ts +16 -16
- package/dist/esm/clusters/identify.js +6 -6
- package/dist/esm/clusters/illuminance-measurement.d.ts +7 -7
- package/dist/esm/clusters/illuminance-measurement.js +5 -5
- package/dist/esm/clusters/joint-fabric-administrator.d.ts +34 -34
- package/dist/esm/clusters/joint-fabric-administrator.js +10 -10
- package/dist/esm/clusters/joint-fabric-datastore.d.ts +232 -232
- package/dist/esm/clusters/joint-fabric-datastore.js +73 -73
- package/dist/esm/clusters/keypad-input.d.ts +18 -18
- package/dist/esm/clusters/keypad-input.js +3 -3
- package/dist/esm/clusters/label.d.ts +10 -10
- package/dist/esm/clusters/label.js +3 -3
- package/dist/esm/clusters/laundry-dryer-controls.d.ts +4 -4
- package/dist/esm/clusters/laundry-dryer-controls.js +2 -2
- package/dist/esm/clusters/laundry-washer-controls.d.ts +23 -23
- package/dist/esm/clusters/laundry-washer-controls.js +6 -6
- package/dist/esm/clusters/laundry-washer-mode.d.ts +34 -34
- package/dist/esm/clusters/laundry-washer-mode.js +5 -5
- package/dist/esm/clusters/level-control.d.ts +303 -303
- package/dist/esm/clusters/level-control.js +32 -32
- package/dist/esm/clusters/localization-configuration.d.ts +3 -3
- package/dist/esm/clusters/localization-configuration.js +2 -2
- package/dist/esm/clusters/low-power.d.ts +2 -2
- package/dist/esm/clusters/low-power.js +1 -1
- package/dist/esm/clusters/media-input.d.ts +47 -47
- package/dist/esm/clusters/media-input.js +11 -11
- package/dist/esm/clusters/media-playback.d.ts +390 -390
- package/dist/esm/clusters/media-playback.js +57 -57
- package/dist/esm/clusters/messages.d.ts +154 -154
- package/dist/esm/clusters/messages.js +38 -38
- package/dist/esm/clusters/microwave-oven-control.d.ts +63 -63
- package/dist/esm/clusters/microwave-oven-control.js +17 -17
- package/dist/esm/clusters/microwave-oven-mode.d.ts +39 -39
- package/dist/esm/clusters/microwave-oven-mode.js +7 -7
- package/dist/esm/clusters/mode-base.d.ts +59 -59
- package/dist/esm/clusters/mode-base.js +13 -13
- package/dist/esm/clusters/mode-select.d.ts +51 -51
- package/dist/esm/clusters/mode-select.js +13 -13
- package/dist/esm/clusters/network-commissioning.d.ts +325 -325
- package/dist/esm/clusters/network-commissioning.js +46 -46
- package/dist/esm/clusters/occupancy-sensing.d.ts +78 -78
- package/dist/esm/clusters/occupancy-sensing.js +20 -20
- package/dist/esm/clusters/on-off.d.ts +103 -103
- package/dist/esm/clusters/on-off.js +19 -19
- package/dist/esm/clusters/operational-credentials.d.ts +106 -106
- package/dist/esm/clusters/operational-credentials.js +38 -38
- package/dist/esm/clusters/operational-state.d.ts +67 -67
- package/dist/esm/clusters/operational-state.js +21 -21
- package/dist/esm/clusters/ota-software-update-provider.d.ts +65 -65
- package/dist/esm/clusters/ota-software-update-provider.js +25 -25
- package/dist/esm/clusters/ota-software-update-requestor.d.ts +72 -72
- package/dist/esm/clusters/ota-software-update-requestor.js +25 -25
- package/dist/esm/clusters/oven-cavity-operational-state.d.ts +16 -16
- package/dist/esm/clusters/oven-cavity-operational-state.js +11 -11
- package/dist/esm/clusters/oven-mode.d.ts +49 -49
- package/dist/esm/clusters/oven-mode.js +8 -8
- package/dist/esm/clusters/power-source-configuration.d.ts +2 -2
- package/dist/esm/clusters/power-source-configuration.js +1 -1
- package/dist/esm/clusters/power-source.d.ts +155 -155
- package/dist/esm/clusters/power-source.js +41 -41
- package/dist/esm/clusters/power-topology.d.ts +8 -8
- package/dist/esm/clusters/power-topology.js +2 -2
- package/dist/esm/clusters/pressure-measurement.d.ts +25 -25
- package/dist/esm/clusters/pressure-measurement.js +9 -9
- package/dist/esm/clusters/pump-configuration-and-control.d.ts +189 -189
- package/dist/esm/clusters/pump-configuration-and-control.js +57 -57
- package/dist/esm/clusters/refrigerator-alarm.d.ts +43 -43
- package/dist/esm/clusters/refrigerator-alarm.js +11 -11
- package/dist/esm/clusters/refrigerator-and-temperature-controlled-cabinet-mode.d.ts +41 -41
- package/dist/esm/clusters/refrigerator-and-temperature-controlled-cabinet-mode.js +8 -8
- package/dist/esm/clusters/relative-humidity-measurement.d.ts +5 -5
- package/dist/esm/clusters/relative-humidity-measurement.js +4 -4
- package/dist/esm/clusters/resource-monitoring.d.ts +20 -20
- package/dist/esm/clusters/resource-monitoring.js +7 -7
- package/dist/esm/clusters/rvc-clean-mode.d.ts +49 -49
- package/dist/esm/clusters/rvc-clean-mode.js +9 -9
- package/dist/esm/clusters/rvc-operational-state.d.ts +54 -54
- package/dist/esm/clusters/rvc-operational-state.js +17 -17
- package/dist/esm/clusters/rvc-run-mode.d.ts +55 -55
- package/dist/esm/clusters/rvc-run-mode.js +9 -9
- package/dist/esm/clusters/scenes-management.d.ts +244 -244
- package/dist/esm/clusters/scenes-management.js +69 -69
- package/dist/esm/clusters/service-area.d.ts +128 -128
- package/dist/esm/clusters/service-area.js +26 -26
- package/dist/esm/clusters/smoke-co-alarm.d.ts +135 -135
- package/dist/esm/clusters/smoke-co-alarm.js +30 -30
- package/dist/esm/clusters/software-diagnostics.d.ts +53 -53
- package/dist/esm/clusters/software-diagnostics.js +14 -14
- package/dist/esm/clusters/switch.d.ts +105 -105
- package/dist/esm/clusters/switch.js +23 -23
- package/dist/esm/clusters/target-navigator.d.ts +32 -32
- package/dist/esm/clusters/target-navigator.js +10 -10
- package/dist/esm/clusters/temperature-control.d.ts +45 -45
- package/dist/esm/clusters/temperature-control.js +12 -12
- package/dist/esm/clusters/temperature-measurement.d.ts +5 -5
- package/dist/esm/clusters/temperature-measurement.js +4 -4
- package/dist/esm/clusters/thermostat-user-interface-configuration.d.ts +7 -7
- package/dist/esm/clusters/thermostat-user-interface-configuration.js +3 -3
- package/dist/esm/clusters/thermostat.d.ts +514 -514
- package/dist/esm/clusters/thermostat.js +114 -114
- package/dist/esm/clusters/thread-border-router-management.d.ts +58 -58
- package/dist/esm/clusters/thread-border-router-management.js +14 -14
- package/dist/esm/clusters/thread-network-diagnostics.d.ts +359 -359
- package/dist/esm/clusters/thread-network-diagnostics.js +108 -108
- package/dist/esm/clusters/thread-network-directory.d.ts +27 -27
- package/dist/esm/clusters/thread-network-directory.js +11 -11
- package/dist/esm/clusters/time-format-localization.d.ts +12 -12
- package/dist/esm/clusters/time-format-localization.js +3 -3
- package/dist/esm/clusters/time-synchronization.d.ts +246 -246
- package/dist/esm/clusters/time-synchronization.js +47 -47
- package/dist/esm/clusters/unit-localization.d.ts +9 -9
- package/dist/esm/clusters/unit-localization.js +2 -2
- package/dist/esm/clusters/user-label.d.ts +2 -2
- package/dist/esm/clusters/user-label.js +1 -1
- package/dist/esm/clusters/valve-configuration-and-control.d.ts +81 -81
- package/dist/esm/clusters/valve-configuration-and-control.js +22 -22
- package/dist/esm/clusters/wake-on-lan.d.ts +3 -3
- package/dist/esm/clusters/wake-on-lan.js +2 -2
- package/dist/esm/clusters/water-heater-management.d.ts +91 -91
- package/dist/esm/clusters/water-heater-management.js +16 -16
- package/dist/esm/clusters/water-heater-mode.d.ts +42 -42
- package/dist/esm/clusters/water-heater-mode.js +8 -8
- package/dist/esm/clusters/wi-fi-network-diagnostics.d.ts +69 -69
- package/dist/esm/clusters/wi-fi-network-diagnostics.js +20 -20
- package/dist/esm/clusters/wi-fi-network-management.d.ts +8 -8
- package/dist/esm/clusters/wi-fi-network-management.js +4 -4
- package/dist/esm/clusters/window-covering.d.ts +183 -183
- package/dist/esm/clusters/window-covering.js +49 -49
- package/dist/esm/dcl/operational-certificate.d.ts +8 -1
- package/dist/esm/dcl/operational-certificate.d.ts.map +1 -1
- package/dist/esm/globals/AtomicAttributeStatus.d.ts +4 -4
- package/dist/esm/globals/AtomicAttributeStatus.js +2 -2
- package/dist/esm/globals/AtomicRequestType.d.ts +1 -1
- package/dist/esm/globals/Currency.d.ts +2 -2
- package/dist/esm/globals/Locationdesc.d.ts +5 -5
- package/dist/esm/globals/Locationdesc.js +3 -3
- package/dist/esm/globals/MeasurementAccuracy.d.ts +5 -5
- package/dist/esm/globals/MeasurementAccuracy.js +3 -3
- package/dist/esm/globals/MeasurementAccuracyRange.d.ts +10 -10
- package/dist/esm/globals/MeasurementAccuracyRange.js +8 -8
- package/dist/esm/globals/MeasurementType.d.ts +1 -1
- package/dist/esm/globals/Namespace.d.ts +1 -1
- package/dist/esm/globals/Price.d.ts +2 -2
- package/dist/esm/globals/Priority.d.ts +1 -1
- package/dist/esm/globals/Semtag.d.ts +6 -6
- package/dist/esm/globals/Semtag.js +4 -4
- package/dist/esm/globals/SoftwareVersionCertificationStatus.d.ts +1 -1
- package/dist/esm/globals/Status.d.ts +36 -36
- package/dist/esm/globals/ThreeLevelAuto.d.ts +1 -1
- package/dist/esm/globals/WildcardPathFlags.d.ts +1 -1
- package/package.json +5 -5
- package/src/clusters/access-control.ts +72 -72
- package/src/clusters/account-login.ts +22 -22
- package/src/clusters/actions.ts +86 -86
- package/src/clusters/administrator-commissioning.ts +23 -23
- package/src/clusters/air-quality.ts +4 -4
- package/src/clusters/alarm-base.ts +22 -22
- package/src/clusters/application-basic.ts +14 -14
- package/src/clusters/application-launcher.ts +33 -33
- package/src/clusters/audio-output.ts +17 -17
- package/src/clusters/basic-information.ts +48 -48
- package/src/clusters/binding.ts +8 -8
- package/src/clusters/boolean-state-configuration.ts +31 -31
- package/src/clusters/boolean-state.ts +6 -6
- package/src/clusters/bridged-device-basic-information.ts +39 -39
- package/src/clusters/channel.ts +113 -113
- package/src/clusters/color-control.ts +168 -168
- package/src/clusters/commissioner-control.ts +15 -15
- package/src/clusters/concentration-measurement.ts +15 -15
- package/src/clusters/content-app-observer.ts +13 -13
- package/src/clusters/content-control.ts +106 -106
- package/src/clusters/content-launcher.ts +73 -73
- package/src/clusters/descriptor.ts +14 -14
- package/src/clusters/device-energy-management-mode.ts +28 -28
- package/src/clusters/device-energy-management.ts +136 -136
- package/src/clusters/diagnostic-logs.ts +30 -30
- package/src/clusters/dishwasher-alarm.ts +24 -24
- package/src/clusters/dishwasher-mode.ts +27 -27
- package/src/clusters/door-lock.ts +378 -378
- package/src/clusters/ecosystem-information.ts +21 -21
- package/src/clusters/electrical-energy-measurement.ts +40 -40
- package/src/clusters/electrical-power-measurement.ts +54 -54
- package/src/clusters/energy-evse-mode.ts +28 -28
- package/src/clusters/energy-evse.ts +109 -109
- package/src/clusters/energy-preference.ts +19 -19
- package/src/clusters/ethernet-network-diagnostics.ts +13 -13
- package/src/clusters/fan-control.ts +30 -30
- package/src/clusters/fixed-label.ts +2 -2
- package/src/clusters/flow-measurement.ts +5 -5
- package/src/clusters/general-commissioning.ts +45 -45
- package/src/clusters/general-diagnostics.ts +66 -66
- package/src/clusters/group-key-management.ts +45 -45
- package/src/clusters/groups.ts +44 -44
- package/src/clusters/icd-management.ts +50 -50
- package/src/clusters/identify.ts +14 -14
- package/src/clusters/illuminance-measurement.ts +7 -7
- package/src/clusters/joint-fabric-administrator.ts +31 -31
- package/src/clusters/joint-fabric-datastore.ts +145 -145
- package/src/clusters/keypad-input.ts +13 -13
- package/src/clusters/label.ts +5 -5
- package/src/clusters/laundry-dryer-controls.ts +4 -4
- package/src/clusters/laundry-washer-controls.ts +11 -11
- package/src/clusters/laundry-washer-mode.ts +25 -25
- package/src/clusters/level-control.ts +49 -49
- package/src/clusters/localization-configuration.ts +3 -3
- package/src/clusters/low-power.ts +2 -2
- package/src/clusters/media-input.ts +20 -20
- package/src/clusters/media-playback.ts +96 -96
- package/src/clusters/messages.ts +61 -61
- package/src/clusters/microwave-oven-control.ts +23 -23
- package/src/clusters/microwave-oven-mode.ts +25 -25
- package/src/clusters/mode-base.ts +37 -37
- package/src/clusters/mode-select.ts +22 -22
- package/src/clusters/network-commissioning.ts +76 -76
- package/src/clusters/occupancy-sensing.ts +29 -29
- package/src/clusters/on-off.ts +33 -33
- package/src/clusters/operational-credentials.ts +75 -75
- package/src/clusters/operational-state.ts +34 -34
- package/src/clusters/ota-software-update-provider.ts +43 -43
- package/src/clusters/ota-software-update-requestor.ts +55 -55
- package/src/clusters/oven-cavity-operational-state.ts +14 -14
- package/src/clusters/oven-mode.ts +34 -34
- package/src/clusters/power-source-configuration.ts +2 -2
- package/src/clusters/power-source.ts +59 -59
- package/src/clusters/power-topology.ts +4 -4
- package/src/clusters/pressure-measurement.ts +11 -11
- package/src/clusters/pump-configuration-and-control.ts +69 -69
- package/src/clusters/refrigerator-alarm.ts +18 -18
- package/src/clusters/refrigerator-and-temperature-controlled-cabinet-mode.ts +26 -26
- package/src/clusters/relative-humidity-measurement.ts +5 -5
- package/src/clusters/resource-monitoring.ts +13 -13
- package/src/clusters/rvc-clean-mode.ts +32 -32
- package/src/clusters/rvc-operational-state.ts +28 -28
- package/src/clusters/rvc-run-mode.ts +38 -38
- package/src/clusters/scenes-management.ts +111 -111
- package/src/clusters/service-area.ts +50 -50
- package/src/clusters/smoke-co-alarm.ts +66 -66
- package/src/clusters/software-diagnostics.ts +20 -20
- package/src/clusters/switch.ts +45 -45
- package/src/clusters/target-navigator.ts +22 -22
- package/src/clusters/temperature-control.ts +19 -19
- package/src/clusters/temperature-measurement.ts +5 -5
- package/src/clusters/thermostat-user-interface-configuration.ts +7 -7
- package/src/clusters/thermostat.ts +172 -172
- package/src/clusters/thread-border-router-management.ts +23 -23
- package/src/clusters/thread-network-diagnostics.ts +125 -125
- package/src/clusters/thread-network-directory.ts +22 -22
- package/src/clusters/time-format-localization.ts +7 -7
- package/src/clusters/time-synchronization.ts +82 -82
- package/src/clusters/unit-localization.ts +5 -5
- package/src/clusters/user-label.ts +2 -2
- package/src/clusters/valve-configuration-and-control.ts +36 -36
- package/src/clusters/wake-on-lan.ts +3 -3
- package/src/clusters/water-heater-management.ts +26 -26
- package/src/clusters/water-heater-mode.ts +27 -27
- package/src/clusters/wi-fi-network-diagnostics.ts +32 -32
- package/src/clusters/wi-fi-network-management.ts +7 -7
- package/src/clusters/window-covering.ts +68 -68
- package/src/dcl/operational-certificate.ts +9 -1
- package/src/globals/AtomicAttributeStatus.ts +4 -4
- package/src/globals/AtomicRequestType.ts +1 -1
- package/src/globals/Currency.ts +2 -2
- package/src/globals/Locationdesc.ts +5 -5
- package/src/globals/MeasurementAccuracy.ts +5 -5
- package/src/globals/MeasurementAccuracyRange.ts +10 -10
- package/src/globals/MeasurementType.ts +1 -1
- package/src/globals/Namespace.ts +1 -1
- package/src/globals/Price.ts +2 -2
- package/src/globals/Priority.ts +1 -1
- package/src/globals/Semtag.ts +6 -6
- package/src/globals/SoftwareVersionCertificationStatus.ts +1 -1
- package/src/globals/Status.ts +36 -36
- package/src/globals/ThreeLevelAuto.ts +1 -1
- package/src/globals/WildcardPathFlags.ts +1 -1
- package/dist/cjs/common/DeviceClassification.d.ts +0 -44
- package/dist/cjs/common/DeviceClassification.d.ts.map +0 -1
- package/dist/cjs/common/DeviceClassification.js +0 -38
- package/dist/cjs/common/DeviceClassification.js.map +0 -6
- package/dist/esm/common/DeviceClassification.d.ts +0 -44
- package/dist/esm/common/DeviceClassification.d.ts.map +0 -1
- package/dist/esm/common/DeviceClassification.js +0 -18
- package/dist/esm/common/DeviceClassification.js.map +0 -6
- package/src/common/DeviceClassification.ts +0 -49
package/src/clusters/actions.ts
CHANGED
|
@@ -21,7 +21,7 @@ import { ClusterRegistry } from "../cluster/ClusterRegistry.js";
|
|
|
21
21
|
|
|
22
22
|
export namespace Actions {
|
|
23
23
|
/**
|
|
24
|
-
* @see {@link MatterSpecification.
|
|
24
|
+
* @see {@link MatterSpecification.v142.Core} § 9.14.4.2
|
|
25
25
|
*/
|
|
26
26
|
export enum ActionType {
|
|
27
27
|
/**
|
|
@@ -41,7 +41,7 @@ export namespace Actions {
|
|
|
41
41
|
* Example: see Section 9.14.8.1, “Example 1: Scene recall” and Section 9.14.8.2, “Example 2: Set dynamic light
|
|
42
42
|
* effect”.
|
|
43
43
|
*
|
|
44
|
-
* @see {@link MatterSpecification.
|
|
44
|
+
* @see {@link MatterSpecification.v142.Core} § 9.14.4.2.1
|
|
45
45
|
*/
|
|
46
46
|
Scene = 1,
|
|
47
47
|
|
|
@@ -53,7 +53,7 @@ export namespace Actions {
|
|
|
53
53
|
*
|
|
54
54
|
* Example: see Section 9.14.8.4, “Example 4: Wake-up routine”.
|
|
55
55
|
*
|
|
56
|
-
* @see {@link MatterSpecification.
|
|
56
|
+
* @see {@link MatterSpecification.v142.Core} § 9.14.4.2.2
|
|
57
57
|
*/
|
|
58
58
|
Sequence = 2,
|
|
59
59
|
|
|
@@ -65,7 +65,7 @@ export namespace Actions {
|
|
|
65
65
|
*
|
|
66
66
|
* Example: see Section 9.14.8.3, “Example 3: Pause sensor automation”.
|
|
67
67
|
*
|
|
68
|
-
* @see {@link MatterSpecification.
|
|
68
|
+
* @see {@link MatterSpecification.v142.Core} § 9.14.4.2.3
|
|
69
69
|
*/
|
|
70
70
|
Automation = 3,
|
|
71
71
|
|
|
@@ -78,7 +78,7 @@ export namespace Actions {
|
|
|
78
78
|
* Example: lock the doors when the server’s system has detected no one is at home while the doors are in the
|
|
79
79
|
* 'unlocked' state.
|
|
80
80
|
*
|
|
81
|
-
* @see {@link MatterSpecification.
|
|
81
|
+
* @see {@link MatterSpecification.v142.Core} § 9.14.4.2.4
|
|
82
82
|
*/
|
|
83
83
|
Exception = 4,
|
|
84
84
|
|
|
@@ -89,7 +89,7 @@ export namespace Actions {
|
|
|
89
89
|
*
|
|
90
90
|
* Example: play a pattern on the lights in the living room if there is someone in the garden in the evening.
|
|
91
91
|
*
|
|
92
|
-
* @see {@link MatterSpecification.
|
|
92
|
+
* @see {@link MatterSpecification.v142.Core} § 9.14.4.2.5
|
|
93
93
|
*/
|
|
94
94
|
Notification = 5,
|
|
95
95
|
|
|
@@ -101,7 +101,7 @@ export namespace Actions {
|
|
|
101
101
|
*
|
|
102
102
|
* Example: flash all lights in the house when CO sensor triggers.
|
|
103
103
|
*
|
|
104
|
-
* @see {@link MatterSpecification.
|
|
104
|
+
* @see {@link MatterSpecification.v142.Core} § 9.14.4.2.6
|
|
105
105
|
*/
|
|
106
106
|
Alarm = 6
|
|
107
107
|
}
|
|
@@ -109,7 +109,7 @@ export namespace Actions {
|
|
|
109
109
|
/**
|
|
110
110
|
* Note - The bit allocation of this bitmap shall follow the ID’s of the Commands of this cluster.
|
|
111
111
|
*
|
|
112
|
-
* @see {@link MatterSpecification.
|
|
112
|
+
* @see {@link MatterSpecification.v142.Core} § 9.14.4.1
|
|
113
113
|
*/
|
|
114
114
|
export const CommandBits = {
|
|
115
115
|
/**
|
|
@@ -176,7 +176,7 @@ export namespace Actions {
|
|
|
176
176
|
/**
|
|
177
177
|
* Note that some of these states are applicable only for certain actions, as determined by their SupportedCommands.
|
|
178
178
|
*
|
|
179
|
-
* @see {@link MatterSpecification.
|
|
179
|
+
* @see {@link MatterSpecification.v142.Core} § 9.14.4.3
|
|
180
180
|
*/
|
|
181
181
|
export enum ActionState {
|
|
182
182
|
/**
|
|
@@ -203,13 +203,13 @@ export namespace Actions {
|
|
|
203
203
|
/**
|
|
204
204
|
* This data type holds the details of a single action, and contains the data fields below.
|
|
205
205
|
*
|
|
206
|
-
* @see {@link MatterSpecification.
|
|
206
|
+
* @see {@link MatterSpecification.v142.Core} § 9.14.4.6
|
|
207
207
|
*/
|
|
208
208
|
export const TlvAction = TlvObject({
|
|
209
209
|
/**
|
|
210
210
|
* This field shall provide an unique identifier used to identify an action.
|
|
211
211
|
*
|
|
212
|
-
* @see {@link MatterSpecification.
|
|
212
|
+
* @see {@link MatterSpecification.v142.Core} § 9.14.4.6.1
|
|
213
213
|
*/
|
|
214
214
|
actionId: TlvField(0, TlvUInt16),
|
|
215
215
|
|
|
@@ -218,7 +218,7 @@ export namespace Actions {
|
|
|
218
218
|
* this action. This can be used for identifying the action to the user by the client. Example: "my colorful
|
|
219
219
|
* scene".
|
|
220
220
|
*
|
|
221
|
-
* @see {@link MatterSpecification.
|
|
221
|
+
* @see {@link MatterSpecification.v142.Core} § 9.14.4.6.2
|
|
222
222
|
*/
|
|
223
223
|
name: TlvField(1, TlvString.bound({ maxLength: 128 })),
|
|
224
224
|
|
|
@@ -227,7 +227,7 @@ export namespace Actions {
|
|
|
227
227
|
* SupportedCommands can be used by the client in its UX or logic to determine how to present or use such
|
|
228
228
|
* action. See ActionTypeEnum for details and examples.
|
|
229
229
|
*
|
|
230
|
-
* @see {@link MatterSpecification.
|
|
230
|
+
* @see {@link MatterSpecification.v142.Core} § 9.14.4.6.3
|
|
231
231
|
*/
|
|
232
232
|
type: TlvField(2, TlvEnum<ActionType>()),
|
|
233
233
|
|
|
@@ -235,7 +235,7 @@ export namespace Actions {
|
|
|
235
235
|
* This field shall provide a reference to the associated endpoint list, which specifies the endpoints on this
|
|
236
236
|
* Node which will be impacted by this ActionID.
|
|
237
237
|
*
|
|
238
|
-
* @see {@link MatterSpecification.
|
|
238
|
+
* @see {@link MatterSpecification.v142.Core} § 9.14.4.6.4
|
|
239
239
|
*/
|
|
240
240
|
endpointListId: TlvField(3, TlvUInt16),
|
|
241
241
|
|
|
@@ -244,14 +244,14 @@ export namespace Actions {
|
|
|
244
244
|
* particular action, with a bit set to 1 for each supported command according to the table below. Other bits
|
|
245
245
|
* shall be set to 0.
|
|
246
246
|
*
|
|
247
|
-
* @see {@link MatterSpecification.
|
|
247
|
+
* @see {@link MatterSpecification.v142.Core} § 9.14.4.6.5
|
|
248
248
|
*/
|
|
249
249
|
supportedCommands: TlvField(4, TlvBitmap(TlvUInt16, CommandBits)),
|
|
250
250
|
|
|
251
251
|
/**
|
|
252
252
|
* This field shall indicate the current state of this action.
|
|
253
253
|
*
|
|
254
|
-
* @see {@link MatterSpecification.
|
|
254
|
+
* @see {@link MatterSpecification.v142.Core} § 9.14.4.6.6
|
|
255
255
|
*/
|
|
256
256
|
state: TlvField(5, TlvEnum<ActionState>())
|
|
257
257
|
});
|
|
@@ -259,7 +259,7 @@ export namespace Actions {
|
|
|
259
259
|
/**
|
|
260
260
|
* This data type holds the details of a single action, and contains the data fields below.
|
|
261
261
|
*
|
|
262
|
-
* @see {@link MatterSpecification.
|
|
262
|
+
* @see {@link MatterSpecification.v142.Core} § 9.14.4.6
|
|
263
263
|
*/
|
|
264
264
|
export interface Action extends TypeFromSchema<typeof TlvAction> {}
|
|
265
265
|
|
|
@@ -267,7 +267,7 @@ export namespace Actions {
|
|
|
267
267
|
* The Room and Zone values are provided for the cases where a user (or the system on behalf of the user) has
|
|
268
268
|
* created logical grouping of the endpoints (e.g. bridged devices) based on location.
|
|
269
269
|
*
|
|
270
|
-
* @see {@link MatterSpecification.
|
|
270
|
+
* @see {@link MatterSpecification.v142.Core} § 9.14.4.5
|
|
271
271
|
*/
|
|
272
272
|
export enum EndpointListType {
|
|
273
273
|
/**
|
|
@@ -277,7 +277,7 @@ export namespace Actions {
|
|
|
277
277
|
* independently created by the user. For Type=Other the Name may be empty. A Matter controller would typically
|
|
278
278
|
* not use this for anything else than just to know which endpoints would be affected by the action.
|
|
279
279
|
*
|
|
280
|
-
* @see {@link MatterSpecification.
|
|
280
|
+
* @see {@link MatterSpecification.v142.Core} § 9.14.4.5.1
|
|
281
281
|
*/
|
|
282
282
|
Other = 0,
|
|
283
283
|
|
|
@@ -290,7 +290,7 @@ export namespace Actions {
|
|
|
290
290
|
* device in each system - both at first contact and upon later updates to the endpoints (e.g. user adds a
|
|
291
291
|
* bridged device or creates a new room).
|
|
292
292
|
*
|
|
293
|
-
* @see {@link MatterSpecification.
|
|
293
|
+
* @see {@link MatterSpecification.v142.Core} § 9.14.4.5.2
|
|
294
294
|
*/
|
|
295
295
|
Room = 1,
|
|
296
296
|
|
|
@@ -303,7 +303,7 @@ export namespace Actions {
|
|
|
303
303
|
* This indicates that a user has defined this list of endpoints as something they logically would like to
|
|
304
304
|
* control as a group, so Matter controllers could provide the user with a way to do as such.
|
|
305
305
|
*
|
|
306
|
-
* @see {@link MatterSpecification.
|
|
306
|
+
* @see {@link MatterSpecification.v142.Core} § 9.14.4.5.3
|
|
307
307
|
*/
|
|
308
308
|
Zone = 2
|
|
309
309
|
}
|
|
@@ -312,13 +312,13 @@ export namespace Actions {
|
|
|
312
312
|
* This data type holds the details of a single endpoint list, which relates to a set of endpoints that have some
|
|
313
313
|
* logical relation, and contains the data fields below.
|
|
314
314
|
*
|
|
315
|
-
* @see {@link MatterSpecification.
|
|
315
|
+
* @see {@link MatterSpecification.v142.Core} § 9.14.4.7
|
|
316
316
|
*/
|
|
317
317
|
export const TlvEndpointList = TlvObject({
|
|
318
318
|
/**
|
|
319
319
|
* This field shall provide an unique identifier used to identify the endpoint list.
|
|
320
320
|
*
|
|
321
|
-
* @see {@link MatterSpecification.
|
|
321
|
+
* @see {@link MatterSpecification.v142.Core} § 9.14.4.7.1
|
|
322
322
|
*/
|
|
323
323
|
endpointListId: TlvField(0, TlvUInt16),
|
|
324
324
|
|
|
@@ -327,21 +327,21 @@ export namespace Actions {
|
|
|
327
327
|
* the set of endpoints in this list. This can be used for identifying the action to the user by the client.
|
|
328
328
|
* Example: "living room".
|
|
329
329
|
*
|
|
330
|
-
* @see {@link MatterSpecification.
|
|
330
|
+
* @see {@link MatterSpecification.v142.Core} § 9.14.4.7.2
|
|
331
331
|
*/
|
|
332
332
|
name: TlvField(1, TlvString.bound({ maxLength: 128 })),
|
|
333
333
|
|
|
334
334
|
/**
|
|
335
335
|
* This field shall indicate the type of endpoint list, see EndpointListTypeEnum.
|
|
336
336
|
*
|
|
337
|
-
* @see {@link MatterSpecification.
|
|
337
|
+
* @see {@link MatterSpecification.v142.Core} § 9.14.4.7.3
|
|
338
338
|
*/
|
|
339
339
|
type: TlvField(2, TlvEnum<EndpointListType>()),
|
|
340
340
|
|
|
341
341
|
/**
|
|
342
342
|
* This field shall provide a list of endpoint numbers.
|
|
343
343
|
*
|
|
344
|
-
* @see {@link MatterSpecification.
|
|
344
|
+
* @see {@link MatterSpecification.v142.Core} § 9.14.4.7.4
|
|
345
345
|
*/
|
|
346
346
|
endpoints: TlvField(3, TlvArray(TlvEndpointNumber, { maxLength: 256 }))
|
|
347
347
|
});
|
|
@@ -350,14 +350,14 @@ export namespace Actions {
|
|
|
350
350
|
* This data type holds the details of a single endpoint list, which relates to a set of endpoints that have some
|
|
351
351
|
* logical relation, and contains the data fields below.
|
|
352
352
|
*
|
|
353
|
-
* @see {@link MatterSpecification.
|
|
353
|
+
* @see {@link MatterSpecification.v142.Core} § 9.14.4.7
|
|
354
354
|
*/
|
|
355
355
|
export interface EndpointList extends TypeFromSchema<typeof TlvEndpointList> {}
|
|
356
356
|
|
|
357
357
|
/**
|
|
358
358
|
* Input to the Actions instantAction command
|
|
359
359
|
*
|
|
360
|
-
* @see {@link MatterSpecification.
|
|
360
|
+
* @see {@link MatterSpecification.v142.Core} § 9.14.6.1
|
|
361
361
|
*/
|
|
362
362
|
export const TlvInstantActionRequest = TlvObject({
|
|
363
363
|
actionId: TlvField(0, TlvUInt16),
|
|
@@ -367,14 +367,14 @@ export namespace Actions {
|
|
|
367
367
|
/**
|
|
368
368
|
* Input to the Actions instantAction command
|
|
369
369
|
*
|
|
370
|
-
* @see {@link MatterSpecification.
|
|
370
|
+
* @see {@link MatterSpecification.v142.Core} § 9.14.6.1
|
|
371
371
|
*/
|
|
372
372
|
export interface InstantActionRequest extends TypeFromSchema<typeof TlvInstantActionRequest> {}
|
|
373
373
|
|
|
374
374
|
/**
|
|
375
375
|
* Input to the Actions instantActionWithTransition command
|
|
376
376
|
*
|
|
377
|
-
* @see {@link MatterSpecification.
|
|
377
|
+
* @see {@link MatterSpecification.v142.Core} § 9.14.6.2
|
|
378
378
|
*/
|
|
379
379
|
export const TlvInstantActionWithTransitionRequest = TlvObject({
|
|
380
380
|
actionId: TlvField(0, TlvUInt16),
|
|
@@ -383,7 +383,7 @@ export namespace Actions {
|
|
|
383
383
|
/**
|
|
384
384
|
* This field shall indicate the transition time in 1/10th of seconds.
|
|
385
385
|
*
|
|
386
|
-
* @see {@link MatterSpecification.
|
|
386
|
+
* @see {@link MatterSpecification.v142.Core} § 9.14.6.2.1
|
|
387
387
|
*/
|
|
388
388
|
transitionTime: TlvField(2, TlvUInt16)
|
|
389
389
|
});
|
|
@@ -391,14 +391,14 @@ export namespace Actions {
|
|
|
391
391
|
/**
|
|
392
392
|
* Input to the Actions instantActionWithTransition command
|
|
393
393
|
*
|
|
394
|
-
* @see {@link MatterSpecification.
|
|
394
|
+
* @see {@link MatterSpecification.v142.Core} § 9.14.6.2
|
|
395
395
|
*/
|
|
396
396
|
export interface InstantActionWithTransitionRequest extends TypeFromSchema<typeof TlvInstantActionWithTransitionRequest> {}
|
|
397
397
|
|
|
398
398
|
/**
|
|
399
399
|
* Input to the Actions startAction command
|
|
400
400
|
*
|
|
401
|
-
* @see {@link MatterSpecification.
|
|
401
|
+
* @see {@link MatterSpecification.v142.Core} § 9.14.6.3
|
|
402
402
|
*/
|
|
403
403
|
export const TlvStartActionRequest = TlvObject({
|
|
404
404
|
actionId: TlvField(0, TlvUInt16),
|
|
@@ -408,14 +408,14 @@ export namespace Actions {
|
|
|
408
408
|
/**
|
|
409
409
|
* Input to the Actions startAction command
|
|
410
410
|
*
|
|
411
|
-
* @see {@link MatterSpecification.
|
|
411
|
+
* @see {@link MatterSpecification.v142.Core} § 9.14.6.3
|
|
412
412
|
*/
|
|
413
413
|
export interface StartActionRequest extends TypeFromSchema<typeof TlvStartActionRequest> {}
|
|
414
414
|
|
|
415
415
|
/**
|
|
416
416
|
* Input to the Actions startActionWithDuration command
|
|
417
417
|
*
|
|
418
|
-
* @see {@link MatterSpecification.
|
|
418
|
+
* @see {@link MatterSpecification.v142.Core} § 9.14.6.4
|
|
419
419
|
*/
|
|
420
420
|
export const TlvStartActionWithDurationRequest = TlvObject({
|
|
421
421
|
actionId: TlvField(0, TlvUInt16),
|
|
@@ -424,7 +424,7 @@ export namespace Actions {
|
|
|
424
424
|
/**
|
|
425
425
|
* This field shall indicate the requested duration in seconds.
|
|
426
426
|
*
|
|
427
|
-
* @see {@link MatterSpecification.
|
|
427
|
+
* @see {@link MatterSpecification.v142.Core} § 9.14.6.4.1
|
|
428
428
|
*/
|
|
429
429
|
duration: TlvField(2, TlvUInt32)
|
|
430
430
|
});
|
|
@@ -432,14 +432,14 @@ export namespace Actions {
|
|
|
432
432
|
/**
|
|
433
433
|
* Input to the Actions startActionWithDuration command
|
|
434
434
|
*
|
|
435
|
-
* @see {@link MatterSpecification.
|
|
435
|
+
* @see {@link MatterSpecification.v142.Core} § 9.14.6.4
|
|
436
436
|
*/
|
|
437
437
|
export interface StartActionWithDurationRequest extends TypeFromSchema<typeof TlvStartActionWithDurationRequest> {}
|
|
438
438
|
|
|
439
439
|
/**
|
|
440
440
|
* Input to the Actions stopAction command
|
|
441
441
|
*
|
|
442
|
-
* @see {@link MatterSpecification.
|
|
442
|
+
* @see {@link MatterSpecification.v142.Core} § 9.14.6.5
|
|
443
443
|
*/
|
|
444
444
|
export const TlvStopActionRequest = TlvObject({
|
|
445
445
|
actionId: TlvField(0, TlvUInt16),
|
|
@@ -449,14 +449,14 @@ export namespace Actions {
|
|
|
449
449
|
/**
|
|
450
450
|
* Input to the Actions stopAction command
|
|
451
451
|
*
|
|
452
|
-
* @see {@link MatterSpecification.
|
|
452
|
+
* @see {@link MatterSpecification.v142.Core} § 9.14.6.5
|
|
453
453
|
*/
|
|
454
454
|
export interface StopActionRequest extends TypeFromSchema<typeof TlvStopActionRequest> {}
|
|
455
455
|
|
|
456
456
|
/**
|
|
457
457
|
* Input to the Actions pauseAction command
|
|
458
458
|
*
|
|
459
|
-
* @see {@link MatterSpecification.
|
|
459
|
+
* @see {@link MatterSpecification.v142.Core} § 9.14.6.6
|
|
460
460
|
*/
|
|
461
461
|
export const TlvPauseActionRequest = TlvObject({
|
|
462
462
|
actionId: TlvField(0, TlvUInt16),
|
|
@@ -466,14 +466,14 @@ export namespace Actions {
|
|
|
466
466
|
/**
|
|
467
467
|
* Input to the Actions pauseAction command
|
|
468
468
|
*
|
|
469
|
-
* @see {@link MatterSpecification.
|
|
469
|
+
* @see {@link MatterSpecification.v142.Core} § 9.14.6.6
|
|
470
470
|
*/
|
|
471
471
|
export interface PauseActionRequest extends TypeFromSchema<typeof TlvPauseActionRequest> {}
|
|
472
472
|
|
|
473
473
|
/**
|
|
474
474
|
* Input to the Actions pauseActionWithDuration command
|
|
475
475
|
*
|
|
476
|
-
* @see {@link MatterSpecification.
|
|
476
|
+
* @see {@link MatterSpecification.v142.Core} § 9.14.6.7
|
|
477
477
|
*/
|
|
478
478
|
export const TlvPauseActionWithDurationRequest = TlvObject({
|
|
479
479
|
actionId: TlvField(0, TlvUInt16),
|
|
@@ -482,7 +482,7 @@ export namespace Actions {
|
|
|
482
482
|
/**
|
|
483
483
|
* This field shall indicate the requested duration in seconds.
|
|
484
484
|
*
|
|
485
|
-
* @see {@link MatterSpecification.
|
|
485
|
+
* @see {@link MatterSpecification.v142.Core} § 9.14.6.7.1
|
|
486
486
|
*/
|
|
487
487
|
duration: TlvField(2, TlvUInt32)
|
|
488
488
|
});
|
|
@@ -490,14 +490,14 @@ export namespace Actions {
|
|
|
490
490
|
/**
|
|
491
491
|
* Input to the Actions pauseActionWithDuration command
|
|
492
492
|
*
|
|
493
|
-
* @see {@link MatterSpecification.
|
|
493
|
+
* @see {@link MatterSpecification.v142.Core} § 9.14.6.7
|
|
494
494
|
*/
|
|
495
495
|
export interface PauseActionWithDurationRequest extends TypeFromSchema<typeof TlvPauseActionWithDurationRequest> {}
|
|
496
496
|
|
|
497
497
|
/**
|
|
498
498
|
* Input to the Actions resumeAction command
|
|
499
499
|
*
|
|
500
|
-
* @see {@link MatterSpecification.
|
|
500
|
+
* @see {@link MatterSpecification.v142.Core} § 9.14.6.8
|
|
501
501
|
*/
|
|
502
502
|
export const TlvResumeActionRequest = TlvObject({
|
|
503
503
|
actionId: TlvField(0, TlvUInt16),
|
|
@@ -507,14 +507,14 @@ export namespace Actions {
|
|
|
507
507
|
/**
|
|
508
508
|
* Input to the Actions resumeAction command
|
|
509
509
|
*
|
|
510
|
-
* @see {@link MatterSpecification.
|
|
510
|
+
* @see {@link MatterSpecification.v142.Core} § 9.14.6.8
|
|
511
511
|
*/
|
|
512
512
|
export interface ResumeActionRequest extends TypeFromSchema<typeof TlvResumeActionRequest> {}
|
|
513
513
|
|
|
514
514
|
/**
|
|
515
515
|
* Input to the Actions enableAction command
|
|
516
516
|
*
|
|
517
|
-
* @see {@link MatterSpecification.
|
|
517
|
+
* @see {@link MatterSpecification.v142.Core} § 9.14.6.9
|
|
518
518
|
*/
|
|
519
519
|
export const TlvEnableActionRequest = TlvObject({
|
|
520
520
|
actionId: TlvField(0, TlvUInt16),
|
|
@@ -524,14 +524,14 @@ export namespace Actions {
|
|
|
524
524
|
/**
|
|
525
525
|
* Input to the Actions enableAction command
|
|
526
526
|
*
|
|
527
|
-
* @see {@link MatterSpecification.
|
|
527
|
+
* @see {@link MatterSpecification.v142.Core} § 9.14.6.9
|
|
528
528
|
*/
|
|
529
529
|
export interface EnableActionRequest extends TypeFromSchema<typeof TlvEnableActionRequest> {}
|
|
530
530
|
|
|
531
531
|
/**
|
|
532
532
|
* Input to the Actions enableActionWithDuration command
|
|
533
533
|
*
|
|
534
|
-
* @see {@link MatterSpecification.
|
|
534
|
+
* @see {@link MatterSpecification.v142.Core} § 9.14.6.10
|
|
535
535
|
*/
|
|
536
536
|
export const TlvEnableActionWithDurationRequest = TlvObject({
|
|
537
537
|
actionId: TlvField(0, TlvUInt16),
|
|
@@ -540,7 +540,7 @@ export namespace Actions {
|
|
|
540
540
|
/**
|
|
541
541
|
* This field shall indicate the requested duration in seconds.
|
|
542
542
|
*
|
|
543
|
-
* @see {@link MatterSpecification.
|
|
543
|
+
* @see {@link MatterSpecification.v142.Core} § 9.14.6.10.1
|
|
544
544
|
*/
|
|
545
545
|
duration: TlvField(2, TlvUInt32)
|
|
546
546
|
});
|
|
@@ -548,14 +548,14 @@ export namespace Actions {
|
|
|
548
548
|
/**
|
|
549
549
|
* Input to the Actions enableActionWithDuration command
|
|
550
550
|
*
|
|
551
|
-
* @see {@link MatterSpecification.
|
|
551
|
+
* @see {@link MatterSpecification.v142.Core} § 9.14.6.10
|
|
552
552
|
*/
|
|
553
553
|
export interface EnableActionWithDurationRequest extends TypeFromSchema<typeof TlvEnableActionWithDurationRequest> {}
|
|
554
554
|
|
|
555
555
|
/**
|
|
556
556
|
* Input to the Actions disableAction command
|
|
557
557
|
*
|
|
558
|
-
* @see {@link MatterSpecification.
|
|
558
|
+
* @see {@link MatterSpecification.v142.Core} § 9.14.6.11
|
|
559
559
|
*/
|
|
560
560
|
export const TlvDisableActionRequest = TlvObject({
|
|
561
561
|
actionId: TlvField(0, TlvUInt16),
|
|
@@ -565,14 +565,14 @@ export namespace Actions {
|
|
|
565
565
|
/**
|
|
566
566
|
* Input to the Actions disableAction command
|
|
567
567
|
*
|
|
568
|
-
* @see {@link MatterSpecification.
|
|
568
|
+
* @see {@link MatterSpecification.v142.Core} § 9.14.6.11
|
|
569
569
|
*/
|
|
570
570
|
export interface DisableActionRequest extends TypeFromSchema<typeof TlvDisableActionRequest> {}
|
|
571
571
|
|
|
572
572
|
/**
|
|
573
573
|
* Input to the Actions disableActionWithDuration command
|
|
574
574
|
*
|
|
575
|
-
* @see {@link MatterSpecification.
|
|
575
|
+
* @see {@link MatterSpecification.v142.Core} § 9.14.6.12
|
|
576
576
|
*/
|
|
577
577
|
export const TlvDisableActionWithDurationRequest = TlvObject({
|
|
578
578
|
actionId: TlvField(0, TlvUInt16),
|
|
@@ -581,7 +581,7 @@ export namespace Actions {
|
|
|
581
581
|
/**
|
|
582
582
|
* This field shall indicate the requested duration in seconds.
|
|
583
583
|
*
|
|
584
|
-
* @see {@link MatterSpecification.
|
|
584
|
+
* @see {@link MatterSpecification.v142.Core} § 9.14.6.12.1
|
|
585
585
|
*/
|
|
586
586
|
duration: TlvField(2, TlvUInt32)
|
|
587
587
|
});
|
|
@@ -589,20 +589,20 @@ export namespace Actions {
|
|
|
589
589
|
/**
|
|
590
590
|
* Input to the Actions disableActionWithDuration command
|
|
591
591
|
*
|
|
592
|
-
* @see {@link MatterSpecification.
|
|
592
|
+
* @see {@link MatterSpecification.v142.Core} § 9.14.6.12
|
|
593
593
|
*/
|
|
594
594
|
export interface DisableActionWithDurationRequest extends TypeFromSchema<typeof TlvDisableActionWithDurationRequest> {}
|
|
595
595
|
|
|
596
596
|
/**
|
|
597
597
|
* Body of the Actions stateChanged event
|
|
598
598
|
*
|
|
599
|
-
* @see {@link MatterSpecification.
|
|
599
|
+
* @see {@link MatterSpecification.v142.Core} § 9.14.7.1
|
|
600
600
|
*/
|
|
601
601
|
export const TlvStateChangedEvent = TlvObject({
|
|
602
602
|
/**
|
|
603
603
|
* This field shall be set to the ActionID of the action which has changed state.
|
|
604
604
|
*
|
|
605
|
-
* @see {@link MatterSpecification.
|
|
605
|
+
* @see {@link MatterSpecification.v142.Core} § 9.14.7.1.1
|
|
606
606
|
*/
|
|
607
607
|
actionId: TlvField(0, TlvUInt16),
|
|
608
608
|
|
|
@@ -610,14 +610,14 @@ export namespace Actions {
|
|
|
610
610
|
* This field shall be set to the InvokeID which was provided to the most recent command referencing this
|
|
611
611
|
* ActionID.
|
|
612
612
|
*
|
|
613
|
-
* @see {@link MatterSpecification.
|
|
613
|
+
* @see {@link MatterSpecification.v142.Core} § 9.14.7.1.2
|
|
614
614
|
*/
|
|
615
615
|
invokeId: TlvField(1, TlvUInt32),
|
|
616
616
|
|
|
617
617
|
/**
|
|
618
618
|
* This field shall be set to state that the action has changed to.
|
|
619
619
|
*
|
|
620
|
-
* @see {@link MatterSpecification.
|
|
620
|
+
* @see {@link MatterSpecification.v142.Core} § 9.14.7.1.3
|
|
621
621
|
*/
|
|
622
622
|
newState: TlvField(2, TlvEnum<ActionState>())
|
|
623
623
|
});
|
|
@@ -625,12 +625,12 @@ export namespace Actions {
|
|
|
625
625
|
/**
|
|
626
626
|
* Body of the Actions stateChanged event
|
|
627
627
|
*
|
|
628
|
-
* @see {@link MatterSpecification.
|
|
628
|
+
* @see {@link MatterSpecification.v142.Core} § 9.14.7.1
|
|
629
629
|
*/
|
|
630
630
|
export interface StateChangedEvent extends TypeFromSchema<typeof TlvStateChangedEvent> {}
|
|
631
631
|
|
|
632
632
|
/**
|
|
633
|
-
* @see {@link MatterSpecification.
|
|
633
|
+
* @see {@link MatterSpecification.v142.Core} § 9.14.4.4
|
|
634
634
|
*/
|
|
635
635
|
export enum ActionError {
|
|
636
636
|
/**
|
|
@@ -647,13 +647,13 @@ export namespace Actions {
|
|
|
647
647
|
/**
|
|
648
648
|
* Body of the Actions actionFailed event
|
|
649
649
|
*
|
|
650
|
-
* @see {@link MatterSpecification.
|
|
650
|
+
* @see {@link MatterSpecification.v142.Core} § 9.14.7.2
|
|
651
651
|
*/
|
|
652
652
|
export const TlvActionFailedEvent = TlvObject({
|
|
653
653
|
/**
|
|
654
654
|
* This field shall be set to the ActionID of the action which encountered an error.
|
|
655
655
|
*
|
|
656
|
-
* @see {@link MatterSpecification.
|
|
656
|
+
* @see {@link MatterSpecification.v142.Core} § 9.14.7.2.1
|
|
657
657
|
*/
|
|
658
658
|
actionId: TlvField(0, TlvUInt16),
|
|
659
659
|
|
|
@@ -661,21 +661,21 @@ export namespace Actions {
|
|
|
661
661
|
* This field shall be set to the InvokeID which was provided to the most recent command referencing this
|
|
662
662
|
* ActionID.
|
|
663
663
|
*
|
|
664
|
-
* @see {@link MatterSpecification.
|
|
664
|
+
* @see {@link MatterSpecification.v142.Core} § 9.14.7.2.2
|
|
665
665
|
*/
|
|
666
666
|
invokeId: TlvField(1, TlvUInt32),
|
|
667
667
|
|
|
668
668
|
/**
|
|
669
669
|
* This field shall be set to state that the action is in at the time of generating the event.
|
|
670
670
|
*
|
|
671
|
-
* @see {@link MatterSpecification.
|
|
671
|
+
* @see {@link MatterSpecification.v142.Core} § 9.14.7.2.3
|
|
672
672
|
*/
|
|
673
673
|
newState: TlvField(2, TlvEnum<ActionState>()),
|
|
674
674
|
|
|
675
675
|
/**
|
|
676
676
|
* This field shall be set to indicate the reason for non-successful progress of the action.
|
|
677
677
|
*
|
|
678
|
-
* @see {@link MatterSpecification.
|
|
678
|
+
* @see {@link MatterSpecification.v142.Core} § 9.14.7.2.4
|
|
679
679
|
*/
|
|
680
680
|
error: TlvField(3, TlvEnum<ActionError>())
|
|
681
681
|
});
|
|
@@ -683,7 +683,7 @@ export namespace Actions {
|
|
|
683
683
|
/**
|
|
684
684
|
* Body of the Actions actionFailed event
|
|
685
685
|
*
|
|
686
|
-
* @see {@link MatterSpecification.
|
|
686
|
+
* @see {@link MatterSpecification.v142.Core} § 9.14.7.2
|
|
687
687
|
*/
|
|
688
688
|
export interface ActionFailedEvent extends TypeFromSchema<typeof TlvActionFailedEvent> {}
|
|
689
689
|
|
|
@@ -700,7 +700,7 @@ export namespace Actions {
|
|
|
700
700
|
* The ActionList attribute holds the list of actions. Each entry shall have an unique ActionID, and its
|
|
701
701
|
* EndpointListID shall exist in the EndpointLists attribute.
|
|
702
702
|
*
|
|
703
|
-
* @see {@link MatterSpecification.
|
|
703
|
+
* @see {@link MatterSpecification.v142.Core} § 9.14.5.1
|
|
704
704
|
*/
|
|
705
705
|
actionList: Attribute(0x0, TlvArray(TlvAction, { maxLength: 256 }), { default: [] }),
|
|
706
706
|
|
|
@@ -708,7 +708,7 @@ export namespace Actions {
|
|
|
708
708
|
* The EndpointLists attribute holds the list of endpoint lists. Each entry shall have an unique
|
|
709
709
|
* EndpointListID.
|
|
710
710
|
*
|
|
711
|
-
* @see {@link MatterSpecification.
|
|
711
|
+
* @see {@link MatterSpecification.v142.Core} § 9.14.5.2
|
|
712
712
|
*/
|
|
713
713
|
endpointLists: Attribute(0x1, TlvArray(TlvEndpointList, { maxLength: 256 }), { default: [] }),
|
|
714
714
|
|
|
@@ -734,7 +734,7 @@ export namespace Actions {
|
|
|
734
734
|
* https://domain.example/Matter/bridgev1/Actions/?a=12345 for linking to specific info/editing of the
|
|
735
735
|
* action with ActionID 0x3039.
|
|
736
736
|
*
|
|
737
|
-
* @see {@link MatterSpecification.
|
|
737
|
+
* @see {@link MatterSpecification.v142.Core} § 9.14.5.3
|
|
738
738
|
*/
|
|
739
739
|
setupUrl: OptionalAttribute(0x2, TlvString.bound({ maxLength: 512 }))
|
|
740
740
|
},
|
|
@@ -748,7 +748,7 @@ export namespace Actions {
|
|
|
748
748
|
*
|
|
749
749
|
* Example: recall a scene on a number of lights.
|
|
750
750
|
*
|
|
751
|
-
* @see {@link MatterSpecification.
|
|
751
|
+
* @see {@link MatterSpecification.v142.Core} § 9.14.6.1
|
|
752
752
|
*/
|
|
753
753
|
instantAction: OptionalCommand(0x0, TlvInstantActionRequest, 0x0, TlvNoResponse),
|
|
754
754
|
|
|
@@ -765,7 +765,7 @@ export namespace Actions {
|
|
|
765
765
|
*
|
|
766
766
|
* Example: recall a scene on a number of lights, with a specified transition time.
|
|
767
767
|
*
|
|
768
|
-
* @see {@link MatterSpecification.
|
|
768
|
+
* @see {@link MatterSpecification.v142.Core} § 9.14.6.2
|
|
769
769
|
*/
|
|
770
770
|
instantActionWithTransition: OptionalCommand(
|
|
771
771
|
0x1,
|
|
@@ -786,7 +786,7 @@ export namespace Actions {
|
|
|
786
786
|
* Example: start a sequence of events such as a wake-up experience involving lights moving through several
|
|
787
787
|
* brightness/color combinations and the window covering gradually opening.
|
|
788
788
|
*
|
|
789
|
-
* @see {@link MatterSpecification.
|
|
789
|
+
* @see {@link MatterSpecification.v142.Core} § 9.14.6.3
|
|
790
790
|
*/
|
|
791
791
|
startAction: OptionalCommand(0x2, TlvStartActionRequest, 0x2, TlvNoResponse),
|
|
792
792
|
|
|
@@ -800,7 +800,7 @@ export namespace Actions {
|
|
|
800
800
|
* Example: start a dynamic lighting pattern (such as gradually rotating the colors around the setpoints of
|
|
801
801
|
* the scene) on a set of lights for 1 hour (Duration=3600).
|
|
802
802
|
*
|
|
803
|
-
* @see {@link MatterSpecification.
|
|
803
|
+
* @see {@link MatterSpecification.v142.Core} § 9.14.6.4
|
|
804
804
|
*/
|
|
805
805
|
startActionWithDuration: OptionalCommand(0x3, TlvStartActionWithDurationRequest, 0x3, TlvNoResponse),
|
|
806
806
|
|
|
@@ -812,7 +812,7 @@ export namespace Actions {
|
|
|
812
812
|
*
|
|
813
813
|
* Example: stop a dynamic lighting pattern which was previously started with StartAction.
|
|
814
814
|
*
|
|
815
|
-
* @see {@link MatterSpecification.
|
|
815
|
+
* @see {@link MatterSpecification.v142.Core} § 9.14.6.5
|
|
816
816
|
*/
|
|
817
817
|
stopAction: OptionalCommand(0x4, TlvStopActionRequest, 0x4, TlvNoResponse),
|
|
818
818
|
|
|
@@ -824,7 +824,7 @@ export namespace Actions {
|
|
|
824
824
|
* Example: pause a dynamic lighting effect (the lights stay at their current color) which was previously
|
|
825
825
|
* started with StartAction.
|
|
826
826
|
*
|
|
827
|
-
* @see {@link MatterSpecification.
|
|
827
|
+
* @see {@link MatterSpecification.v142.Core} § 9.14.6.6
|
|
828
828
|
*/
|
|
829
829
|
pauseAction: OptionalCommand(0x5, TlvPauseActionRequest, 0x5, TlvNoResponse),
|
|
830
830
|
|
|
@@ -844,7 +844,7 @@ export namespace Actions {
|
|
|
844
844
|
* after some hours or during a nightly reset, while an Disable would remain in effect until explicitly
|
|
845
845
|
* enabled again).
|
|
846
846
|
*
|
|
847
|
-
* @see {@link MatterSpecification.
|
|
847
|
+
* @see {@link MatterSpecification.v142.Core} § 9.14.6.7
|
|
848
848
|
*/
|
|
849
849
|
pauseActionWithDuration: OptionalCommand(0x6, TlvPauseActionWithDurationRequest, 0x6, TlvNoResponse),
|
|
850
850
|
|
|
@@ -859,7 +859,7 @@ export namespace Actions {
|
|
|
859
859
|
* Example: resume a dynamic lighting effect (the lights' colors will change gradually, continuing from the
|
|
860
860
|
* point they were paused).
|
|
861
861
|
*
|
|
862
|
-
* @see {@link MatterSpecification.
|
|
862
|
+
* @see {@link MatterSpecification.v142.Core} § 9.14.6.8
|
|
863
863
|
*/
|
|
864
864
|
resumeAction: OptionalCommand(0x7, TlvResumeActionRequest, 0x7, TlvNoResponse),
|
|
865
865
|
|
|
@@ -870,7 +870,7 @@ export namespace Actions {
|
|
|
870
870
|
*
|
|
871
871
|
* Example: enable a motion sensor to control the lights in an area.
|
|
872
872
|
*
|
|
873
|
-
* @see {@link MatterSpecification.
|
|
873
|
+
* @see {@link MatterSpecification.v142.Core} § 9.14.6.9
|
|
874
874
|
*/
|
|
875
875
|
enableAction: OptionalCommand(0x8, TlvEnableActionRequest, 0x8, TlvNoResponse),
|
|
876
876
|
|
|
@@ -885,7 +885,7 @@ export namespace Actions {
|
|
|
885
885
|
* Duration field is used to indicated the length of your absence from home. After that period, the presence
|
|
886
886
|
* mimicking behavior will no longer control these lights.
|
|
887
887
|
*
|
|
888
|
-
* @see {@link MatterSpecification.
|
|
888
|
+
* @see {@link MatterSpecification.v142.Core} § 9.14.6.10
|
|
889
889
|
*/
|
|
890
890
|
enableActionWithDuration: OptionalCommand(0x9, TlvEnableActionWithDurationRequest, 0x9, TlvNoResponse),
|
|
891
891
|
|
|
@@ -896,7 +896,7 @@ export namespace Actions {
|
|
|
896
896
|
*
|
|
897
897
|
* Example: disable a motion sensor to no longer control the lights in an area.
|
|
898
898
|
*
|
|
899
|
-
* @see {@link MatterSpecification.
|
|
899
|
+
* @see {@link MatterSpecification.v142.Core} § 9.14.6.11
|
|
900
900
|
*/
|
|
901
901
|
disableAction: OptionalCommand(0xa, TlvDisableActionRequest, 0xa, TlvNoResponse),
|
|
902
902
|
|
|
@@ -912,7 +912,7 @@ export namespace Actions {
|
|
|
912
912
|
* turning on in the morning while you’re not at home). After this period, the wakeup experience will
|
|
913
913
|
* control the lights as before.
|
|
914
914
|
*
|
|
915
|
-
* @see {@link MatterSpecification.
|
|
915
|
+
* @see {@link MatterSpecification.v142.Core} § 9.14.6.12
|
|
916
916
|
*/
|
|
917
917
|
disableActionWithDuration: OptionalCommand(0xb, TlvDisableActionWithDurationRequest, 0xb, TlvNoResponse)
|
|
918
918
|
},
|
|
@@ -931,7 +931,7 @@ export namespace Actions {
|
|
|
931
931
|
*
|
|
932
932
|
* • one when the transition completed (NewState=Inactive)
|
|
933
933
|
*
|
|
934
|
-
* @see {@link MatterSpecification.
|
|
934
|
+
* @see {@link MatterSpecification.v142.Core} § 9.14.7.1
|
|
935
935
|
*/
|
|
936
936
|
stateChanged: Event(0x0, Priority.Info, TlvStateChangedEvent),
|
|
937
937
|
|
|
@@ -960,7 +960,7 @@ export namespace Actions {
|
|
|
960
960
|
*
|
|
961
961
|
* • StateChanged (InvokeID=2, NewState=Inactive) upon the execution of the action for the second command
|
|
962
962
|
*
|
|
963
|
-
* @see {@link MatterSpecification.
|
|
963
|
+
* @see {@link MatterSpecification.v142.Core} § 9.14.7.2
|
|
964
964
|
*/
|
|
965
965
|
actionFailed: Event(0x1, Priority.Info, TlvActionFailedEvent)
|
|
966
966
|
}
|
|
@@ -1002,7 +1002,7 @@ export namespace Actions {
|
|
|
1002
1002
|
* The term 'action' in the description of this cluster should not be confused with the term 'action' as used in the
|
|
1003
1003
|
* Interaction Model.
|
|
1004
1004
|
*
|
|
1005
|
-
* @see {@link MatterSpecification.
|
|
1005
|
+
* @see {@link MatterSpecification.v142.Core} § 9.14
|
|
1006
1006
|
*/
|
|
1007
1007
|
export interface Cluster extends Identity<typeof ClusterInstance> {}
|
|
1008
1008
|
|