@matter/types 0.14.0-alpha.0-20250531-7ed2d6da8 → 0.14.0-alpha.0-20250602-37f27bb02
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 +77 -51
- package/dist/cjs/clusters/administrator-commissioning.d.ts.map +1 -1
- package/dist/cjs/clusters/administrator-commissioning.js +32 -12
- package/dist/cjs/clusters/administrator-commissioning.js.map +1 -1
- 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 +141 -99
- package/dist/cjs/clusters/application-launcher.d.ts.map +1 -1
- package/dist/cjs/clusters/application-launcher.js +45 -13
- package/dist/cjs/clusters/application-launcher.js.map +2 -2
- package/dist/cjs/clusters/audio-output.d.ts +37 -37
- package/dist/cjs/clusters/audio-output.js +8 -8
- package/dist/cjs/clusters/ballast-configuration.d.ts +23 -23
- package/dist/cjs/clusters/ballast-configuration.js +17 -17
- package/dist/cjs/clusters/basic-information.d.ts +54 -54
- package/dist/cjs/clusters/basic-information.js +34 -34
- 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 +102 -102
- package/dist/cjs/clusters/bridged-device-basic-information.js +28 -28
- package/dist/cjs/clusters/channel.d.ts +577 -559
- package/dist/cjs/clusters/channel.d.ts.map +1 -1
- package/dist/cjs/clusters/channel.js +87 -73
- package/dist/cjs/clusters/channel.js.map +2 -2
- 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 +27 -17
- package/dist/cjs/clusters/content-app-observer.d.ts.map +1 -1
- package/dist/cjs/clusters/content-app-observer.js +14 -6
- package/dist/cjs/clusters/content-app-observer.js.map +2 -2
- package/dist/cjs/clusters/content-control.d.ts +438 -356
- package/dist/cjs/clusters/content-control.d.ts.map +1 -1
- package/dist/cjs/clusters/content-control.js +120 -58
- package/dist/cjs/clusters/content-control.js.map +1 -1
- package/dist/cjs/clusters/content-launcher.d.ts +509 -475
- package/dist/cjs/clusters/content-launcher.d.ts.map +1 -1
- package/dist/cjs/clusters/content-launcher.js +65 -39
- package/dist/cjs/clusters/content-launcher.js.map +2 -2
- package/dist/cjs/clusters/descriptor.d.ts +28 -28
- package/dist/cjs/clusters/descriptor.js +8 -8
- 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 +67 -33
- package/dist/cjs/clusters/diagnostic-logs.d.ts.map +1 -1
- package/dist/cjs/clusters/diagnostic-logs.js +34 -8
- package/dist/cjs/clusters/diagnostic-logs.js.map +2 -2
- 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 +1367 -1350
- package/dist/cjs/clusters/door-lock.d.ts.map +1 -1
- package/dist/cjs/clusters/door-lock.js +242 -228
- package/dist/cjs/clusters/door-lock.js.map +1 -1
- package/dist/cjs/clusters/ecosystem-information.d.ts +27 -27
- package/dist/cjs/clusters/ecosystem-information.js +12 -12
- package/dist/cjs/clusters/electrical-energy-measurement.d.ts +275 -275
- package/dist/cjs/clusters/electrical-energy-measurement.js +25 -25
- package/dist/cjs/clusters/electrical-power-measurement.d.ts +199 -199
- 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 +67 -67
- package/dist/cjs/clusters/fan-control.js +17 -17
- 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-datastore.d.ts +175 -175
- package/dist/cjs/clusters/joint-fabric-datastore.js +62 -62
- package/dist/cjs/clusters/joint-fabric-pki.d.ts +14 -14
- package/dist/cjs/clusters/joint-fabric-pki.js +5 -5
- package/dist/cjs/clusters/keypad-input.d.ts +34 -16
- package/dist/cjs/clusters/keypad-input.d.ts.map +1 -1
- package/dist/cjs/clusters/keypad-input.js +17 -3
- package/dist/cjs/clusters/keypad-input.js.map +2 -2
- 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 +427 -385
- package/dist/cjs/clusters/media-playback.d.ts.map +1 -1
- package/dist/cjs/clusters/media-playback.js +89 -57
- package/dist/cjs/clusters/media-playback.js.map +2 -2
- 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 +94 -94
- package/dist/cjs/clusters/operational-credentials.js +34 -34
- 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 +95 -61
- package/dist/cjs/clusters/ota-software-update-provider.d.ts.map +1 -1
- package/dist/cjs/clusters/ota-software-update-provider.js +51 -25
- package/dist/cjs/clusters/ota-software-update-provider.js.map +2 -2
- 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 +40 -40
- package/dist/cjs/clusters/oven-mode.js +5 -5
- 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/proxy-configuration.d.ts +8 -8
- package/dist/cjs/clusters/proxy-configuration.js +3 -3
- package/dist/cjs/clusters/proxy-discovery.d.ts +10 -10
- package/dist/cjs/clusters/proxy-discovery.js +4 -4
- 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 +48 -48
- 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 +246 -246
- package/dist/cjs/clusters/scenes-management.js +70 -70
- 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 +137 -137
- 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 +48 -30
- package/dist/cjs/clusters/target-navigator.d.ts.map +1 -1
- package/dist/cjs/clusters/target-navigator.js +24 -10
- package/dist/cjs/clusters/target-navigator.js.map +2 -2
- 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 +515 -515
- 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 +255 -245
- package/dist/cjs/clusters/time-synchronization.d.ts.map +1 -1
- package/dist/cjs/clusters/time-synchronization.js +55 -47
- package/dist/cjs/clusters/time-synchronization.js.map +1 -1
- package/dist/cjs/clusters/unit-localization.d.ts +6 -6
- package/dist/cjs/clusters/unit-localization.js +1 -1
- package/dist/cjs/clusters/user-label.d.ts +2 -2
- package/dist/cjs/clusters/user-label.js +1 -1
- package/dist/cjs/clusters/valid-proxies.d.ts +7 -7
- package/dist/cjs/clusters/valid-proxies.js +2 -2
- package/dist/cjs/clusters/valve-configuration-and-control.d.ts +90 -80
- package/dist/cjs/clusters/valve-configuration-and-control.d.ts.map +1 -1
- package/dist/cjs/clusters/valve-configuration-and-control.js +30 -22
- package/dist/cjs/clusters/valve-configuration-and-control.js.map +1 -1
- 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 +6 -6
- package/dist/cjs/clusters/wi-fi-network-management.js +3 -3
- package/dist/cjs/clusters/window-covering.d.ts +183 -183
- package/dist/cjs/clusters/window-covering.js +49 -49
- package/dist/cjs/common/StatusCode.d.ts +2 -11
- package/dist/cjs/common/StatusCode.d.ts.map +1 -1
- package/dist/cjs/common/StatusCode.js +1 -17
- package/dist/cjs/common/StatusCode.js.map +1 -1
- package/dist/cjs/common/StatusResponseError.d.ts +21 -0
- package/dist/cjs/common/StatusResponseError.d.ts.map +1 -0
- package/dist/cjs/common/StatusResponseError.js +54 -0
- package/dist/cjs/common/StatusResponseError.js.map +6 -0
- package/dist/cjs/common/ValidationError.d.ts +1 -1
- package/dist/cjs/common/ValidationError.d.ts.map +1 -1
- package/dist/cjs/common/ValidationError.js +2 -1
- package/dist/cjs/common/ValidationError.js.map +1 -1
- package/dist/cjs/common/index.d.ts +1 -0
- package/dist/cjs/common/index.d.ts.map +1 -1
- package/dist/cjs/common/index.js +1 -0
- package/dist/cjs/common/index.js.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/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/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 +33 -33
- package/dist/cjs/globals/Tod.d.ts +2 -2
- 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 +77 -51
- package/dist/esm/clusters/administrator-commissioning.d.ts.map +1 -1
- package/dist/esm/clusters/administrator-commissioning.js +32 -12
- package/dist/esm/clusters/administrator-commissioning.js.map +1 -1
- 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 +141 -99
- package/dist/esm/clusters/application-launcher.d.ts.map +1 -1
- package/dist/esm/clusters/application-launcher.js +45 -13
- package/dist/esm/clusters/application-launcher.js.map +1 -1
- package/dist/esm/clusters/audio-output.d.ts +37 -37
- package/dist/esm/clusters/audio-output.js +8 -8
- package/dist/esm/clusters/ballast-configuration.d.ts +23 -23
- package/dist/esm/clusters/ballast-configuration.js +17 -17
- package/dist/esm/clusters/basic-information.d.ts +54 -54
- package/dist/esm/clusters/basic-information.js +34 -34
- 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 +102 -102
- package/dist/esm/clusters/bridged-device-basic-information.js +28 -28
- package/dist/esm/clusters/channel.d.ts +577 -559
- package/dist/esm/clusters/channel.d.ts.map +1 -1
- package/dist/esm/clusters/channel.js +87 -73
- package/dist/esm/clusters/channel.js.map +1 -1
- 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 +27 -17
- package/dist/esm/clusters/content-app-observer.d.ts.map +1 -1
- package/dist/esm/clusters/content-app-observer.js +14 -6
- package/dist/esm/clusters/content-app-observer.js.map +1 -1
- package/dist/esm/clusters/content-control.d.ts +438 -356
- package/dist/esm/clusters/content-control.d.ts.map +1 -1
- package/dist/esm/clusters/content-control.js +120 -58
- package/dist/esm/clusters/content-control.js.map +1 -1
- package/dist/esm/clusters/content-launcher.d.ts +509 -475
- package/dist/esm/clusters/content-launcher.d.ts.map +1 -1
- package/dist/esm/clusters/content-launcher.js +65 -39
- package/dist/esm/clusters/content-launcher.js.map +1 -1
- package/dist/esm/clusters/descriptor.d.ts +28 -28
- package/dist/esm/clusters/descriptor.js +8 -8
- 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 +67 -33
- package/dist/esm/clusters/diagnostic-logs.d.ts.map +1 -1
- package/dist/esm/clusters/diagnostic-logs.js +34 -8
- package/dist/esm/clusters/diagnostic-logs.js.map +1 -1
- 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 +1367 -1350
- package/dist/esm/clusters/door-lock.d.ts.map +1 -1
- package/dist/esm/clusters/door-lock.js +242 -228
- package/dist/esm/clusters/door-lock.js.map +1 -1
- package/dist/esm/clusters/ecosystem-information.d.ts +27 -27
- package/dist/esm/clusters/ecosystem-information.js +12 -12
- package/dist/esm/clusters/electrical-energy-measurement.d.ts +275 -275
- package/dist/esm/clusters/electrical-energy-measurement.js +25 -25
- package/dist/esm/clusters/electrical-power-measurement.d.ts +199 -199
- 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 +67 -67
- package/dist/esm/clusters/fan-control.js +17 -17
- 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-datastore.d.ts +175 -175
- package/dist/esm/clusters/joint-fabric-datastore.js +62 -62
- package/dist/esm/clusters/joint-fabric-pki.d.ts +14 -14
- package/dist/esm/clusters/joint-fabric-pki.js +5 -5
- package/dist/esm/clusters/keypad-input.d.ts +34 -16
- package/dist/esm/clusters/keypad-input.d.ts.map +1 -1
- package/dist/esm/clusters/keypad-input.js +17 -3
- package/dist/esm/clusters/keypad-input.js.map +1 -1
- 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 +427 -385
- package/dist/esm/clusters/media-playback.d.ts.map +1 -1
- package/dist/esm/clusters/media-playback.js +89 -57
- package/dist/esm/clusters/media-playback.js.map +1 -1
- 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 +94 -94
- package/dist/esm/clusters/operational-credentials.js +34 -34
- 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 +95 -61
- package/dist/esm/clusters/ota-software-update-provider.d.ts.map +1 -1
- package/dist/esm/clusters/ota-software-update-provider.js +51 -25
- package/dist/esm/clusters/ota-software-update-provider.js.map +1 -1
- 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 +40 -40
- package/dist/esm/clusters/oven-mode.js +5 -5
- 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/proxy-configuration.d.ts +8 -8
- package/dist/esm/clusters/proxy-configuration.js +3 -3
- package/dist/esm/clusters/proxy-discovery.d.ts +10 -10
- package/dist/esm/clusters/proxy-discovery.js +4 -4
- 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 +48 -48
- 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 +246 -246
- package/dist/esm/clusters/scenes-management.js +70 -70
- 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 +137 -137
- 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 +48 -30
- package/dist/esm/clusters/target-navigator.d.ts.map +1 -1
- package/dist/esm/clusters/target-navigator.js +24 -10
- package/dist/esm/clusters/target-navigator.js.map +1 -1
- 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 +515 -515
- 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 +255 -245
- package/dist/esm/clusters/time-synchronization.d.ts.map +1 -1
- package/dist/esm/clusters/time-synchronization.js +55 -47
- package/dist/esm/clusters/time-synchronization.js.map +1 -1
- package/dist/esm/clusters/unit-localization.d.ts +6 -6
- package/dist/esm/clusters/unit-localization.js +1 -1
- package/dist/esm/clusters/user-label.d.ts +2 -2
- package/dist/esm/clusters/user-label.js +1 -1
- package/dist/esm/clusters/valid-proxies.d.ts +7 -7
- package/dist/esm/clusters/valid-proxies.js +2 -2
- package/dist/esm/clusters/valve-configuration-and-control.d.ts +90 -80
- package/dist/esm/clusters/valve-configuration-and-control.d.ts.map +1 -1
- package/dist/esm/clusters/valve-configuration-and-control.js +30 -22
- package/dist/esm/clusters/valve-configuration-and-control.js.map +1 -1
- 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 +6 -6
- package/dist/esm/clusters/wi-fi-network-management.js +3 -3
- package/dist/esm/clusters/window-covering.d.ts +183 -183
- package/dist/esm/clusters/window-covering.js +49 -49
- package/dist/esm/common/StatusCode.d.ts +2 -11
- package/dist/esm/common/StatusCode.d.ts.map +1 -1
- package/dist/esm/common/StatusCode.js +1 -17
- package/dist/esm/common/StatusCode.js.map +1 -1
- package/dist/esm/common/StatusResponseError.d.ts +21 -0
- package/dist/esm/common/StatusResponseError.d.ts.map +1 -0
- package/dist/esm/common/StatusResponseError.js +34 -0
- package/dist/esm/common/StatusResponseError.js.map +6 -0
- package/dist/esm/common/ValidationError.d.ts +1 -1
- package/dist/esm/common/ValidationError.d.ts.map +1 -1
- package/dist/esm/common/ValidationError.js +2 -1
- package/dist/esm/common/ValidationError.js.map +1 -1
- package/dist/esm/common/index.d.ts +1 -0
- package/dist/esm/common/index.d.ts.map +1 -1
- package/dist/esm/common/index.js +1 -0
- package/dist/esm/common/index.js.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/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/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 +33 -33
- package/dist/esm/globals/Tod.d.ts +2 -2
- 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 +67 -20
- 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 +105 -28
- package/src/clusters/audio-output.ts +17 -17
- package/src/clusters/ballast-configuration.ts +20 -20
- package/src/clusters/basic-information.ts +47 -47
- 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 +38 -38
- package/src/clusters/channel.ts +143 -111
- 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 +29 -12
- package/src/clusters/content-control.ts +248 -96
- package/src/clusters/content-launcher.ts +131 -69
- package/src/clusters/descriptor.ts +13 -13
- 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 +88 -26
- package/src/clusters/dishwasher-alarm.ts +24 -24
- package/src/clusters/dishwasher-mode.ts +27 -27
- package/src/clusters/door-lock.ts +408 -377
- package/src/clusters/ecosystem-information.ts +17 -17
- package/src/clusters/electrical-energy-measurement.ts +39 -39
- package/src/clusters/electrical-power-measurement.ts +53 -53
- 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-datastore.ts +82 -82
- package/src/clusters/joint-fabric-pki.ts +12 -12
- package/src/clusters/keypad-input.ts +43 -11
- 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 +168 -91
- 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 +65 -65
- package/src/clusters/operational-state.ts +34 -34
- package/src/clusters/ota-software-update-provider.ts +101 -39
- 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 +31 -31
- 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/proxy-configuration.ts +6 -6
- package/src/clusters/proxy-discovery.ts +7 -7
- 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 +31 -31
- package/src/clusters/rvc-operational-state.ts +28 -28
- package/src/clusters/rvc-run-mode.ts +38 -38
- package/src/clusters/scenes-management.ts +112 -112
- package/src/clusters/service-area.ts +50 -50
- package/src/clusters/smoke-co-alarm.ts +68 -68
- package/src/clusters/software-diagnostics.ts +20 -20
- package/src/clusters/switch.ts +45 -45
- package/src/clusters/target-navigator.ts +52 -20
- 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 +98 -81
- package/src/clusters/unit-localization.ts +4 -4
- package/src/clusters/user-label.ts +2 -2
- package/src/clusters/valid-proxies.ts +7 -7
- package/src/clusters/valve-configuration-and-control.ts +52 -35
- 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 +6 -6
- package/src/clusters/window-covering.ts +68 -68
- package/src/common/StatusCode.ts +3 -21
- package/src/common/StatusResponseError.ts +41 -0
- package/src/common/ValidationError.ts +2 -1
- package/src/common/index.ts +1 -0
- package/src/globals/AtomicAttributeStatus.ts +4 -4
- package/src/globals/AtomicRequestType.ts +1 -1
- 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/Priority.ts +1 -1
- package/src/globals/Semtag.ts +6 -6
- package/src/globals/SoftwareVersionCertificationStatus.ts +1 -1
- package/src/globals/Status.ts +33 -33
- package/src/globals/Tod.ts +2 -2
- package/src/globals/WildcardPathFlags.ts +1 -1
package/src/clusters/actions.ts
CHANGED
|
@@ -27,7 +27,7 @@ import { ClusterRegistry } from "../cluster/ClusterRegistry.js";
|
|
|
27
27
|
|
|
28
28
|
export namespace Actions {
|
|
29
29
|
/**
|
|
30
|
-
* @see {@link MatterSpecification.
|
|
30
|
+
* @see {@link MatterSpecification.v141.Core} § 9.14.4.2
|
|
31
31
|
*/
|
|
32
32
|
export enum ActionType {
|
|
33
33
|
/**
|
|
@@ -46,7 +46,7 @@ export namespace Actions {
|
|
|
46
46
|
*
|
|
47
47
|
* Example: see examples 1 and 2.
|
|
48
48
|
*
|
|
49
|
-
* @see {@link MatterSpecification.
|
|
49
|
+
* @see {@link MatterSpecification.v141.Core} § 9.14.4.2.1
|
|
50
50
|
*/
|
|
51
51
|
Scene = 1,
|
|
52
52
|
|
|
@@ -58,7 +58,7 @@ export namespace Actions {
|
|
|
58
58
|
*
|
|
59
59
|
* Example: see example 4.
|
|
60
60
|
*
|
|
61
|
-
* @see {@link MatterSpecification.
|
|
61
|
+
* @see {@link MatterSpecification.v141.Core} § 9.14.4.2.2
|
|
62
62
|
*/
|
|
63
63
|
Sequence = 2,
|
|
64
64
|
|
|
@@ -68,7 +68,7 @@ export namespace Actions {
|
|
|
68
68
|
* Indications an automation (e.g. a motion sensor controlling lights, an alarm system) which can bee.g.
|
|
69
69
|
* started, stopped, paused, resumed. Example: see example 3.
|
|
70
70
|
*
|
|
71
|
-
* @see {@link MatterSpecification.
|
|
71
|
+
* @see {@link MatterSpecification.v141.Core} § 9.14.4.2.3
|
|
72
72
|
*/
|
|
73
73
|
Automation = 3,
|
|
74
74
|
|
|
@@ -81,7 +81,7 @@ export namespace Actions {
|
|
|
81
81
|
* Example: lock the doors when the server’s system has detected no one is at home while the doors are in the
|
|
82
82
|
* 'unlocked' state.
|
|
83
83
|
*
|
|
84
|
-
* @see {@link MatterSpecification.
|
|
84
|
+
* @see {@link MatterSpecification.v141.Core} § 9.14.4.2.4
|
|
85
85
|
*/
|
|
86
86
|
Exception = 4,
|
|
87
87
|
|
|
@@ -92,7 +92,7 @@ export namespace Actions {
|
|
|
92
92
|
*
|
|
93
93
|
* Example: play a pattern on the lights in the living room if there is someone in the garden in the evening.
|
|
94
94
|
*
|
|
95
|
-
* @see {@link MatterSpecification.
|
|
95
|
+
* @see {@link MatterSpecification.v141.Core} § 9.14.4.2.5
|
|
96
96
|
*/
|
|
97
97
|
Notification = 5,
|
|
98
98
|
|
|
@@ -104,7 +104,7 @@ export namespace Actions {
|
|
|
104
104
|
*
|
|
105
105
|
* Example: flash all lights in the house when CO sensor triggers.
|
|
106
106
|
*
|
|
107
|
-
* @see {@link MatterSpecification.
|
|
107
|
+
* @see {@link MatterSpecification.v141.Core} § 9.14.4.2.6
|
|
108
108
|
*/
|
|
109
109
|
Alarm = 6
|
|
110
110
|
}
|
|
@@ -112,7 +112,7 @@ export namespace Actions {
|
|
|
112
112
|
/**
|
|
113
113
|
* Note - The bit allocation of this bitmap shall follow the ID’s of the Commands of this cluster.
|
|
114
114
|
*
|
|
115
|
-
* @see {@link MatterSpecification.
|
|
115
|
+
* @see {@link MatterSpecification.v141.Core} § 9.14.4.1
|
|
116
116
|
*/
|
|
117
117
|
export const CommandBits = {
|
|
118
118
|
/**
|
|
@@ -179,7 +179,7 @@ export namespace Actions {
|
|
|
179
179
|
/**
|
|
180
180
|
* Note that some of these states are applicable only for certain actions, as determined by their SupportedCommands.
|
|
181
181
|
*
|
|
182
|
-
* @see {@link MatterSpecification.
|
|
182
|
+
* @see {@link MatterSpecification.v141.Core} § 9.14.4.3
|
|
183
183
|
*/
|
|
184
184
|
export enum ActionState {
|
|
185
185
|
/**
|
|
@@ -206,13 +206,13 @@ export namespace Actions {
|
|
|
206
206
|
/**
|
|
207
207
|
* This data type holds the details of a single action, and contains the data fields below.
|
|
208
208
|
*
|
|
209
|
-
* @see {@link MatterSpecification.
|
|
209
|
+
* @see {@link MatterSpecification.v141.Core} § 9.14.4.6
|
|
210
210
|
*/
|
|
211
211
|
export const TlvAction = TlvObject({
|
|
212
212
|
/**
|
|
213
213
|
* This field shall provide an unique identifier used to identify an action.
|
|
214
214
|
*
|
|
215
|
-
* @see {@link MatterSpecification.
|
|
215
|
+
* @see {@link MatterSpecification.v141.Core} § 9.14.4.6.1
|
|
216
216
|
*/
|
|
217
217
|
actionId: TlvField(0, TlvUInt16),
|
|
218
218
|
|
|
@@ -221,7 +221,7 @@ export namespace Actions {
|
|
|
221
221
|
* this action. This can be used for identifying the action to the user by the client. Example: "my colorful
|
|
222
222
|
* scene".
|
|
223
223
|
*
|
|
224
|
-
* @see {@link MatterSpecification.
|
|
224
|
+
* @see {@link MatterSpecification.v141.Core} § 9.14.4.6.2
|
|
225
225
|
*/
|
|
226
226
|
name: TlvField(1, TlvString.bound({ maxLength: 128 })),
|
|
227
227
|
|
|
@@ -230,7 +230,7 @@ export namespace Actions {
|
|
|
230
230
|
* SupportedCommands can be used by the client in its UX or logic to determine how to present or use such
|
|
231
231
|
* action. See ActionTypeEnum for details and examples.
|
|
232
232
|
*
|
|
233
|
-
* @see {@link MatterSpecification.
|
|
233
|
+
* @see {@link MatterSpecification.v141.Core} § 9.14.4.6.3
|
|
234
234
|
*/
|
|
235
235
|
type: TlvField(2, TlvEnum<ActionType>()),
|
|
236
236
|
|
|
@@ -238,7 +238,7 @@ export namespace Actions {
|
|
|
238
238
|
* This field shall provide a reference to the associated endpoint list, which specifies the endpoints on this
|
|
239
239
|
* Node which will be impacted by this ActionID.
|
|
240
240
|
*
|
|
241
|
-
* @see {@link MatterSpecification.
|
|
241
|
+
* @see {@link MatterSpecification.v141.Core} § 9.14.4.6.4
|
|
242
242
|
*/
|
|
243
243
|
endpointListId: TlvField(3, TlvUInt16),
|
|
244
244
|
|
|
@@ -247,14 +247,14 @@ export namespace Actions {
|
|
|
247
247
|
* particular action, with a bit set to 1 for each supported command according to the table below. Other bits
|
|
248
248
|
* shall be set to 0.
|
|
249
249
|
*
|
|
250
|
-
* @see {@link MatterSpecification.
|
|
250
|
+
* @see {@link MatterSpecification.v141.Core} § 9.14.4.6.5
|
|
251
251
|
*/
|
|
252
252
|
supportedCommands: TlvField(4, TlvBitmap(TlvUInt16, CommandBits)),
|
|
253
253
|
|
|
254
254
|
/**
|
|
255
255
|
* This field shall indicate the current state of this action.
|
|
256
256
|
*
|
|
257
|
-
* @see {@link MatterSpecification.
|
|
257
|
+
* @see {@link MatterSpecification.v141.Core} § 9.14.4.6.6
|
|
258
258
|
*/
|
|
259
259
|
state: TlvField(5, TlvEnum<ActionState>())
|
|
260
260
|
});
|
|
@@ -262,7 +262,7 @@ export namespace Actions {
|
|
|
262
262
|
/**
|
|
263
263
|
* This data type holds the details of a single action, and contains the data fields below.
|
|
264
264
|
*
|
|
265
|
-
* @see {@link MatterSpecification.
|
|
265
|
+
* @see {@link MatterSpecification.v141.Core} § 9.14.4.6
|
|
266
266
|
*/
|
|
267
267
|
export interface Action extends TypeFromSchema<typeof TlvAction> {}
|
|
268
268
|
|
|
@@ -270,7 +270,7 @@ export namespace Actions {
|
|
|
270
270
|
* The Room and Zone values are provided for the cases where a user (or the system on behalf of the user) has
|
|
271
271
|
* created logical grouping of the endpoints (e.g. bridged devices) based on location.
|
|
272
272
|
*
|
|
273
|
-
* @see {@link MatterSpecification.
|
|
273
|
+
* @see {@link MatterSpecification.v141.Core} § 9.14.4.5
|
|
274
274
|
*/
|
|
275
275
|
export enum EndpointListType {
|
|
276
276
|
/**
|
|
@@ -280,7 +280,7 @@ export namespace Actions {
|
|
|
280
280
|
* independently created by the user. For Type=Other the Name may be empty. A Matter controller would typically
|
|
281
281
|
* not use this for anything else than just to know which endpoints would be affected by the action.
|
|
282
282
|
*
|
|
283
|
-
* @see {@link MatterSpecification.
|
|
283
|
+
* @see {@link MatterSpecification.v141.Core} § 9.14.4.5.1
|
|
284
284
|
*/
|
|
285
285
|
Other = 0,
|
|
286
286
|
|
|
@@ -293,7 +293,7 @@ export namespace Actions {
|
|
|
293
293
|
* device in each system - both at first contact and upon later updates to the endpoints (e.g. user adds a
|
|
294
294
|
* bridged device or creates a new room).
|
|
295
295
|
*
|
|
296
|
-
* @see {@link MatterSpecification.
|
|
296
|
+
* @see {@link MatterSpecification.v141.Core} § 9.14.4.5.2
|
|
297
297
|
*/
|
|
298
298
|
Room = 1,
|
|
299
299
|
|
|
@@ -306,7 +306,7 @@ export namespace Actions {
|
|
|
306
306
|
* This indicates that a user has defined this list of endpoints as something they logically would like to
|
|
307
307
|
* control as a group, so Matter controllers could provide the user with a way to do as such.
|
|
308
308
|
*
|
|
309
|
-
* @see {@link MatterSpecification.
|
|
309
|
+
* @see {@link MatterSpecification.v141.Core} § 9.14.4.5.3
|
|
310
310
|
*/
|
|
311
311
|
Zone = 2
|
|
312
312
|
}
|
|
@@ -315,13 +315,13 @@ export namespace Actions {
|
|
|
315
315
|
* This data type holds the details of a single endpoint list, which relates to a set of endpoints that have some
|
|
316
316
|
* logical relation, and contains the data fields below.
|
|
317
317
|
*
|
|
318
|
-
* @see {@link MatterSpecification.
|
|
318
|
+
* @see {@link MatterSpecification.v141.Core} § 9.14.4.7
|
|
319
319
|
*/
|
|
320
320
|
export const TlvEndpointList = TlvObject({
|
|
321
321
|
/**
|
|
322
322
|
* This field shall provide an unique identifier used to identify the endpoint list.
|
|
323
323
|
*
|
|
324
|
-
* @see {@link MatterSpecification.
|
|
324
|
+
* @see {@link MatterSpecification.v141.Core} § 9.14.4.7.1
|
|
325
325
|
*/
|
|
326
326
|
endpointListId: TlvField(0, TlvUInt16),
|
|
327
327
|
|
|
@@ -330,21 +330,21 @@ export namespace Actions {
|
|
|
330
330
|
* the set of endpoints in this list. This can be used for identifying the action to the user by the client.
|
|
331
331
|
* Example: "living room".
|
|
332
332
|
*
|
|
333
|
-
* @see {@link MatterSpecification.
|
|
333
|
+
* @see {@link MatterSpecification.v141.Core} § 9.14.4.7.2
|
|
334
334
|
*/
|
|
335
335
|
name: TlvField(1, TlvString.bound({ maxLength: 128 })),
|
|
336
336
|
|
|
337
337
|
/**
|
|
338
338
|
* This field shall indicate the type of endpoint list, see EndpointListTypeEnum.
|
|
339
339
|
*
|
|
340
|
-
* @see {@link MatterSpecification.
|
|
340
|
+
* @see {@link MatterSpecification.v141.Core} § 9.14.4.7.3
|
|
341
341
|
*/
|
|
342
342
|
type: TlvField(2, TlvEnum<EndpointListType>()),
|
|
343
343
|
|
|
344
344
|
/**
|
|
345
345
|
* This field shall provide a list of endpoint numbers.
|
|
346
346
|
*
|
|
347
|
-
* @see {@link MatterSpecification.
|
|
347
|
+
* @see {@link MatterSpecification.v141.Core} § 9.14.4.7.4
|
|
348
348
|
*/
|
|
349
349
|
endpoints: TlvField(3, TlvArray(TlvEndpointNumber, { maxLength: 256 }))
|
|
350
350
|
});
|
|
@@ -353,14 +353,14 @@ export namespace Actions {
|
|
|
353
353
|
* This data type holds the details of a single endpoint list, which relates to a set of endpoints that have some
|
|
354
354
|
* logical relation, and contains the data fields below.
|
|
355
355
|
*
|
|
356
|
-
* @see {@link MatterSpecification.
|
|
356
|
+
* @see {@link MatterSpecification.v141.Core} § 9.14.4.7
|
|
357
357
|
*/
|
|
358
358
|
export interface EndpointList extends TypeFromSchema<typeof TlvEndpointList> {}
|
|
359
359
|
|
|
360
360
|
/**
|
|
361
361
|
* Input to the Actions instantAction command
|
|
362
362
|
*
|
|
363
|
-
* @see {@link MatterSpecification.
|
|
363
|
+
* @see {@link MatterSpecification.v141.Core} § 9.14.6.1
|
|
364
364
|
*/
|
|
365
365
|
export const TlvInstantActionRequest = TlvObject({
|
|
366
366
|
actionId: TlvField(0, TlvUInt16),
|
|
@@ -370,14 +370,14 @@ export namespace Actions {
|
|
|
370
370
|
/**
|
|
371
371
|
* Input to the Actions instantAction command
|
|
372
372
|
*
|
|
373
|
-
* @see {@link MatterSpecification.
|
|
373
|
+
* @see {@link MatterSpecification.v141.Core} § 9.14.6.1
|
|
374
374
|
*/
|
|
375
375
|
export interface InstantActionRequest extends TypeFromSchema<typeof TlvInstantActionRequest> {}
|
|
376
376
|
|
|
377
377
|
/**
|
|
378
378
|
* Input to the Actions instantActionWithTransition command
|
|
379
379
|
*
|
|
380
|
-
* @see {@link MatterSpecification.
|
|
380
|
+
* @see {@link MatterSpecification.v141.Core} § 9.14.6.2
|
|
381
381
|
*/
|
|
382
382
|
export const TlvInstantActionWithTransitionRequest = TlvObject({
|
|
383
383
|
actionId: TlvField(0, TlvUInt16),
|
|
@@ -386,7 +386,7 @@ export namespace Actions {
|
|
|
386
386
|
/**
|
|
387
387
|
* This field shall indicate the transition time in 1/10th of seconds.
|
|
388
388
|
*
|
|
389
|
-
* @see {@link MatterSpecification.
|
|
389
|
+
* @see {@link MatterSpecification.v141.Core} § 9.14.6.2.1
|
|
390
390
|
*/
|
|
391
391
|
transitionTime: TlvField(2, TlvUInt16)
|
|
392
392
|
});
|
|
@@ -394,14 +394,14 @@ export namespace Actions {
|
|
|
394
394
|
/**
|
|
395
395
|
* Input to the Actions instantActionWithTransition command
|
|
396
396
|
*
|
|
397
|
-
* @see {@link MatterSpecification.
|
|
397
|
+
* @see {@link MatterSpecification.v141.Core} § 9.14.6.2
|
|
398
398
|
*/
|
|
399
399
|
export interface InstantActionWithTransitionRequest extends TypeFromSchema<typeof TlvInstantActionWithTransitionRequest> {}
|
|
400
400
|
|
|
401
401
|
/**
|
|
402
402
|
* Input to the Actions startAction command
|
|
403
403
|
*
|
|
404
|
-
* @see {@link MatterSpecification.
|
|
404
|
+
* @see {@link MatterSpecification.v141.Core} § 9.14.6.3
|
|
405
405
|
*/
|
|
406
406
|
export const TlvStartActionRequest = TlvObject({
|
|
407
407
|
actionId: TlvField(0, TlvUInt16),
|
|
@@ -411,14 +411,14 @@ export namespace Actions {
|
|
|
411
411
|
/**
|
|
412
412
|
* Input to the Actions startAction command
|
|
413
413
|
*
|
|
414
|
-
* @see {@link MatterSpecification.
|
|
414
|
+
* @see {@link MatterSpecification.v141.Core} § 9.14.6.3
|
|
415
415
|
*/
|
|
416
416
|
export interface StartActionRequest extends TypeFromSchema<typeof TlvStartActionRequest> {}
|
|
417
417
|
|
|
418
418
|
/**
|
|
419
419
|
* Input to the Actions startActionWithDuration command
|
|
420
420
|
*
|
|
421
|
-
* @see {@link MatterSpecification.
|
|
421
|
+
* @see {@link MatterSpecification.v141.Core} § 9.14.6.4
|
|
422
422
|
*/
|
|
423
423
|
export const TlvStartActionWithDurationRequest = TlvObject({
|
|
424
424
|
actionId: TlvField(0, TlvUInt16),
|
|
@@ -427,7 +427,7 @@ export namespace Actions {
|
|
|
427
427
|
/**
|
|
428
428
|
* This field shall indicate the requested duration in seconds.
|
|
429
429
|
*
|
|
430
|
-
* @see {@link MatterSpecification.
|
|
430
|
+
* @see {@link MatterSpecification.v141.Core} § 9.14.6.4.1
|
|
431
431
|
*/
|
|
432
432
|
duration: TlvField(2, TlvUInt32)
|
|
433
433
|
});
|
|
@@ -435,14 +435,14 @@ export namespace Actions {
|
|
|
435
435
|
/**
|
|
436
436
|
* Input to the Actions startActionWithDuration command
|
|
437
437
|
*
|
|
438
|
-
* @see {@link MatterSpecification.
|
|
438
|
+
* @see {@link MatterSpecification.v141.Core} § 9.14.6.4
|
|
439
439
|
*/
|
|
440
440
|
export interface StartActionWithDurationRequest extends TypeFromSchema<typeof TlvStartActionWithDurationRequest> {}
|
|
441
441
|
|
|
442
442
|
/**
|
|
443
443
|
* Input to the Actions stopAction command
|
|
444
444
|
*
|
|
445
|
-
* @see {@link MatterSpecification.
|
|
445
|
+
* @see {@link MatterSpecification.v141.Core} § 9.14.6.5
|
|
446
446
|
*/
|
|
447
447
|
export const TlvStopActionRequest = TlvObject({
|
|
448
448
|
actionId: TlvField(0, TlvUInt16),
|
|
@@ -452,14 +452,14 @@ export namespace Actions {
|
|
|
452
452
|
/**
|
|
453
453
|
* Input to the Actions stopAction command
|
|
454
454
|
*
|
|
455
|
-
* @see {@link MatterSpecification.
|
|
455
|
+
* @see {@link MatterSpecification.v141.Core} § 9.14.6.5
|
|
456
456
|
*/
|
|
457
457
|
export interface StopActionRequest extends TypeFromSchema<typeof TlvStopActionRequest> {}
|
|
458
458
|
|
|
459
459
|
/**
|
|
460
460
|
* Input to the Actions pauseAction command
|
|
461
461
|
*
|
|
462
|
-
* @see {@link MatterSpecification.
|
|
462
|
+
* @see {@link MatterSpecification.v141.Core} § 9.14.6.6
|
|
463
463
|
*/
|
|
464
464
|
export const TlvPauseActionRequest = TlvObject({
|
|
465
465
|
actionId: TlvField(0, TlvUInt16),
|
|
@@ -469,14 +469,14 @@ export namespace Actions {
|
|
|
469
469
|
/**
|
|
470
470
|
* Input to the Actions pauseAction command
|
|
471
471
|
*
|
|
472
|
-
* @see {@link MatterSpecification.
|
|
472
|
+
* @see {@link MatterSpecification.v141.Core} § 9.14.6.6
|
|
473
473
|
*/
|
|
474
474
|
export interface PauseActionRequest extends TypeFromSchema<typeof TlvPauseActionRequest> {}
|
|
475
475
|
|
|
476
476
|
/**
|
|
477
477
|
* Input to the Actions pauseActionWithDuration command
|
|
478
478
|
*
|
|
479
|
-
* @see {@link MatterSpecification.
|
|
479
|
+
* @see {@link MatterSpecification.v141.Core} § 9.14.6.7
|
|
480
480
|
*/
|
|
481
481
|
export const TlvPauseActionWithDurationRequest = TlvObject({
|
|
482
482
|
actionId: TlvField(0, TlvUInt16),
|
|
@@ -485,7 +485,7 @@ export namespace Actions {
|
|
|
485
485
|
/**
|
|
486
486
|
* This field shall indicate the requested duration in seconds.
|
|
487
487
|
*
|
|
488
|
-
* @see {@link MatterSpecification.
|
|
488
|
+
* @see {@link MatterSpecification.v141.Core} § 9.14.6.7.1
|
|
489
489
|
*/
|
|
490
490
|
duration: TlvField(2, TlvUInt32)
|
|
491
491
|
});
|
|
@@ -493,14 +493,14 @@ export namespace Actions {
|
|
|
493
493
|
/**
|
|
494
494
|
* Input to the Actions pauseActionWithDuration command
|
|
495
495
|
*
|
|
496
|
-
* @see {@link MatterSpecification.
|
|
496
|
+
* @see {@link MatterSpecification.v141.Core} § 9.14.6.7
|
|
497
497
|
*/
|
|
498
498
|
export interface PauseActionWithDurationRequest extends TypeFromSchema<typeof TlvPauseActionWithDurationRequest> {}
|
|
499
499
|
|
|
500
500
|
/**
|
|
501
501
|
* Input to the Actions resumeAction command
|
|
502
502
|
*
|
|
503
|
-
* @see {@link MatterSpecification.
|
|
503
|
+
* @see {@link MatterSpecification.v141.Core} § 9.14.6.8
|
|
504
504
|
*/
|
|
505
505
|
export const TlvResumeActionRequest = TlvObject({
|
|
506
506
|
actionId: TlvField(0, TlvUInt16),
|
|
@@ -510,14 +510,14 @@ export namespace Actions {
|
|
|
510
510
|
/**
|
|
511
511
|
* Input to the Actions resumeAction command
|
|
512
512
|
*
|
|
513
|
-
* @see {@link MatterSpecification.
|
|
513
|
+
* @see {@link MatterSpecification.v141.Core} § 9.14.6.8
|
|
514
514
|
*/
|
|
515
515
|
export interface ResumeActionRequest extends TypeFromSchema<typeof TlvResumeActionRequest> {}
|
|
516
516
|
|
|
517
517
|
/**
|
|
518
518
|
* Input to the Actions enableAction command
|
|
519
519
|
*
|
|
520
|
-
* @see {@link MatterSpecification.
|
|
520
|
+
* @see {@link MatterSpecification.v141.Core} § 9.14.6.9
|
|
521
521
|
*/
|
|
522
522
|
export const TlvEnableActionRequest = TlvObject({
|
|
523
523
|
actionId: TlvField(0, TlvUInt16),
|
|
@@ -527,14 +527,14 @@ export namespace Actions {
|
|
|
527
527
|
/**
|
|
528
528
|
* Input to the Actions enableAction command
|
|
529
529
|
*
|
|
530
|
-
* @see {@link MatterSpecification.
|
|
530
|
+
* @see {@link MatterSpecification.v141.Core} § 9.14.6.9
|
|
531
531
|
*/
|
|
532
532
|
export interface EnableActionRequest extends TypeFromSchema<typeof TlvEnableActionRequest> {}
|
|
533
533
|
|
|
534
534
|
/**
|
|
535
535
|
* Input to the Actions enableActionWithDuration command
|
|
536
536
|
*
|
|
537
|
-
* @see {@link MatterSpecification.
|
|
537
|
+
* @see {@link MatterSpecification.v141.Core} § 9.14.6.10
|
|
538
538
|
*/
|
|
539
539
|
export const TlvEnableActionWithDurationRequest = TlvObject({
|
|
540
540
|
actionId: TlvField(0, TlvUInt16),
|
|
@@ -543,7 +543,7 @@ export namespace Actions {
|
|
|
543
543
|
/**
|
|
544
544
|
* This field shall indicate the requested duration in seconds.
|
|
545
545
|
*
|
|
546
|
-
* @see {@link MatterSpecification.
|
|
546
|
+
* @see {@link MatterSpecification.v141.Core} § 9.14.6.10.1
|
|
547
547
|
*/
|
|
548
548
|
duration: TlvField(2, TlvUInt32)
|
|
549
549
|
});
|
|
@@ -551,14 +551,14 @@ export namespace Actions {
|
|
|
551
551
|
/**
|
|
552
552
|
* Input to the Actions enableActionWithDuration command
|
|
553
553
|
*
|
|
554
|
-
* @see {@link MatterSpecification.
|
|
554
|
+
* @see {@link MatterSpecification.v141.Core} § 9.14.6.10
|
|
555
555
|
*/
|
|
556
556
|
export interface EnableActionWithDurationRequest extends TypeFromSchema<typeof TlvEnableActionWithDurationRequest> {}
|
|
557
557
|
|
|
558
558
|
/**
|
|
559
559
|
* Input to the Actions disableAction command
|
|
560
560
|
*
|
|
561
|
-
* @see {@link MatterSpecification.
|
|
561
|
+
* @see {@link MatterSpecification.v141.Core} § 9.14.6.11
|
|
562
562
|
*/
|
|
563
563
|
export const TlvDisableActionRequest = TlvObject({
|
|
564
564
|
actionId: TlvField(0, TlvUInt16),
|
|
@@ -568,14 +568,14 @@ export namespace Actions {
|
|
|
568
568
|
/**
|
|
569
569
|
* Input to the Actions disableAction command
|
|
570
570
|
*
|
|
571
|
-
* @see {@link MatterSpecification.
|
|
571
|
+
* @see {@link MatterSpecification.v141.Core} § 9.14.6.11
|
|
572
572
|
*/
|
|
573
573
|
export interface DisableActionRequest extends TypeFromSchema<typeof TlvDisableActionRequest> {}
|
|
574
574
|
|
|
575
575
|
/**
|
|
576
576
|
* Input to the Actions disableActionWithDuration command
|
|
577
577
|
*
|
|
578
|
-
* @see {@link MatterSpecification.
|
|
578
|
+
* @see {@link MatterSpecification.v141.Core} § 9.14.6.12
|
|
579
579
|
*/
|
|
580
580
|
export const TlvDisableActionWithDurationRequest = TlvObject({
|
|
581
581
|
actionId: TlvField(0, TlvUInt16),
|
|
@@ -584,7 +584,7 @@ export namespace Actions {
|
|
|
584
584
|
/**
|
|
585
585
|
* This field shall indicate the requested duration in seconds.
|
|
586
586
|
*
|
|
587
|
-
* @see {@link MatterSpecification.
|
|
587
|
+
* @see {@link MatterSpecification.v141.Core} § 9.14.6.12.1
|
|
588
588
|
*/
|
|
589
589
|
duration: TlvField(2, TlvUInt32)
|
|
590
590
|
});
|
|
@@ -592,20 +592,20 @@ export namespace Actions {
|
|
|
592
592
|
/**
|
|
593
593
|
* Input to the Actions disableActionWithDuration command
|
|
594
594
|
*
|
|
595
|
-
* @see {@link MatterSpecification.
|
|
595
|
+
* @see {@link MatterSpecification.v141.Core} § 9.14.6.12
|
|
596
596
|
*/
|
|
597
597
|
export interface DisableActionWithDurationRequest extends TypeFromSchema<typeof TlvDisableActionWithDurationRequest> {}
|
|
598
598
|
|
|
599
599
|
/**
|
|
600
600
|
* Body of the Actions stateChanged event
|
|
601
601
|
*
|
|
602
|
-
* @see {@link MatterSpecification.
|
|
602
|
+
* @see {@link MatterSpecification.v141.Core} § 9.14.7.1
|
|
603
603
|
*/
|
|
604
604
|
export const TlvStateChangedEvent = TlvObject({
|
|
605
605
|
/**
|
|
606
606
|
* This field shall be set to the ActionID of the action which has changed state.
|
|
607
607
|
*
|
|
608
|
-
* @see {@link MatterSpecification.
|
|
608
|
+
* @see {@link MatterSpecification.v141.Core} § 9.14.7.1.1
|
|
609
609
|
*/
|
|
610
610
|
actionId: TlvField(0, TlvUInt16),
|
|
611
611
|
|
|
@@ -613,14 +613,14 @@ export namespace Actions {
|
|
|
613
613
|
* This field shall be set to the InvokeID which was provided to the most recent command referencing this
|
|
614
614
|
* ActionID.
|
|
615
615
|
*
|
|
616
|
-
* @see {@link MatterSpecification.
|
|
616
|
+
* @see {@link MatterSpecification.v141.Core} § 9.14.7.1.2
|
|
617
617
|
*/
|
|
618
618
|
invokeId: TlvField(1, TlvUInt32),
|
|
619
619
|
|
|
620
620
|
/**
|
|
621
621
|
* This field shall be set to state that the action has changed to.
|
|
622
622
|
*
|
|
623
|
-
* @see {@link MatterSpecification.
|
|
623
|
+
* @see {@link MatterSpecification.v141.Core} § 9.14.7.1.3
|
|
624
624
|
*/
|
|
625
625
|
newState: TlvField(2, TlvEnum<ActionState>())
|
|
626
626
|
});
|
|
@@ -628,12 +628,12 @@ export namespace Actions {
|
|
|
628
628
|
/**
|
|
629
629
|
* Body of the Actions stateChanged event
|
|
630
630
|
*
|
|
631
|
-
* @see {@link MatterSpecification.
|
|
631
|
+
* @see {@link MatterSpecification.v141.Core} § 9.14.7.1
|
|
632
632
|
*/
|
|
633
633
|
export interface StateChangedEvent extends TypeFromSchema<typeof TlvStateChangedEvent> {}
|
|
634
634
|
|
|
635
635
|
/**
|
|
636
|
-
* @see {@link MatterSpecification.
|
|
636
|
+
* @see {@link MatterSpecification.v141.Core} § 9.14.4.4
|
|
637
637
|
*/
|
|
638
638
|
export enum ActionError {
|
|
639
639
|
/**
|
|
@@ -650,13 +650,13 @@ export namespace Actions {
|
|
|
650
650
|
/**
|
|
651
651
|
* Body of the Actions actionFailed event
|
|
652
652
|
*
|
|
653
|
-
* @see {@link MatterSpecification.
|
|
653
|
+
* @see {@link MatterSpecification.v141.Core} § 9.14.7.2
|
|
654
654
|
*/
|
|
655
655
|
export const TlvActionFailedEvent = TlvObject({
|
|
656
656
|
/**
|
|
657
657
|
* This field shall be set to the ActionID of the action which encountered an error.
|
|
658
658
|
*
|
|
659
|
-
* @see {@link MatterSpecification.
|
|
659
|
+
* @see {@link MatterSpecification.v141.Core} § 9.14.7.2.1
|
|
660
660
|
*/
|
|
661
661
|
actionId: TlvField(0, TlvUInt16),
|
|
662
662
|
|
|
@@ -664,21 +664,21 @@ export namespace Actions {
|
|
|
664
664
|
* This field shall be set to the InvokeID which was provided to the most recent command referencing this
|
|
665
665
|
* ActionID.
|
|
666
666
|
*
|
|
667
|
-
* @see {@link MatterSpecification.
|
|
667
|
+
* @see {@link MatterSpecification.v141.Core} § 9.14.7.2.2
|
|
668
668
|
*/
|
|
669
669
|
invokeId: TlvField(1, TlvUInt32),
|
|
670
670
|
|
|
671
671
|
/**
|
|
672
672
|
* This field shall be set to state that the action is in at the time of generating the event.
|
|
673
673
|
*
|
|
674
|
-
* @see {@link MatterSpecification.
|
|
674
|
+
* @see {@link MatterSpecification.v141.Core} § 9.14.7.2.3
|
|
675
675
|
*/
|
|
676
676
|
newState: TlvField(2, TlvEnum<ActionState>()),
|
|
677
677
|
|
|
678
678
|
/**
|
|
679
679
|
* This field shall be set to indicate the reason for non-successful progress of the action.
|
|
680
680
|
*
|
|
681
|
-
* @see {@link MatterSpecification.
|
|
681
|
+
* @see {@link MatterSpecification.v141.Core} § 9.14.7.2.4
|
|
682
682
|
*/
|
|
683
683
|
error: TlvField(3, TlvEnum<ActionError>())
|
|
684
684
|
});
|
|
@@ -686,7 +686,7 @@ export namespace Actions {
|
|
|
686
686
|
/**
|
|
687
687
|
* Body of the Actions actionFailed event
|
|
688
688
|
*
|
|
689
|
-
* @see {@link MatterSpecification.
|
|
689
|
+
* @see {@link MatterSpecification.v141.Core} § 9.14.7.2
|
|
690
690
|
*/
|
|
691
691
|
export interface ActionFailedEvent extends TypeFromSchema<typeof TlvActionFailedEvent> {}
|
|
692
692
|
|
|
@@ -703,7 +703,7 @@ export namespace Actions {
|
|
|
703
703
|
* The ActionList attribute holds the list of actions. Each entry shall have an unique ActionID, and its
|
|
704
704
|
* EndpointListID shall exist in the EndpointLists attribute.
|
|
705
705
|
*
|
|
706
|
-
* @see {@link MatterSpecification.
|
|
706
|
+
* @see {@link MatterSpecification.v141.Core} § 9.14.5.1
|
|
707
707
|
*/
|
|
708
708
|
actionList: Attribute(0x0, TlvArray(TlvAction, { maxLength: 256 }), { default: [] }),
|
|
709
709
|
|
|
@@ -711,7 +711,7 @@ export namespace Actions {
|
|
|
711
711
|
* The EndpointLists attribute holds the list of endpoint lists. Each entry shall have an unique
|
|
712
712
|
* EndpointListID.
|
|
713
713
|
*
|
|
714
|
-
* @see {@link MatterSpecification.
|
|
714
|
+
* @see {@link MatterSpecification.v141.Core} § 9.14.5.2
|
|
715
715
|
*/
|
|
716
716
|
endpointLists: Attribute(0x1, TlvArray(TlvEndpointList, { maxLength: 256 }), { default: [] }),
|
|
717
717
|
|
|
@@ -737,7 +737,7 @@ export namespace Actions {
|
|
|
737
737
|
* https://domain.example/Matter/bridgev1/Actions/?a=12345 for linking to specific info/editing of the
|
|
738
738
|
* action with ActionID 0x3039.
|
|
739
739
|
*
|
|
740
|
-
* @see {@link MatterSpecification.
|
|
740
|
+
* @see {@link MatterSpecification.v141.Core} § 9.14.5.3
|
|
741
741
|
*/
|
|
742
742
|
setupUrl: OptionalAttribute(0x2, TlvString.bound({ maxLength: 512 }))
|
|
743
743
|
},
|
|
@@ -749,7 +749,7 @@ export namespace Actions {
|
|
|
749
749
|
*
|
|
750
750
|
* Example: recall a scene on a number of lights.
|
|
751
751
|
*
|
|
752
|
-
* @see {@link MatterSpecification.
|
|
752
|
+
* @see {@link MatterSpecification.v141.Core} § 9.14.6.1
|
|
753
753
|
*/
|
|
754
754
|
instantAction: OptionalCommand(0x0, TlvInstantActionRequest, 0x0, TlvNoResponse),
|
|
755
755
|
|
|
@@ -764,7 +764,7 @@ export namespace Actions {
|
|
|
764
764
|
*
|
|
765
765
|
* Example: recall a scene on a number of lights, with a specified transition time.
|
|
766
766
|
*
|
|
767
|
-
* @see {@link MatterSpecification.
|
|
767
|
+
* @see {@link MatterSpecification.v141.Core} § 9.14.6.2
|
|
768
768
|
*/
|
|
769
769
|
instantActionWithTransition: OptionalCommand(
|
|
770
770
|
0x1,
|
|
@@ -783,7 +783,7 @@ export namespace Actions {
|
|
|
783
783
|
* Example: start a sequence of events such as a wake-up experience involving lights moving through several
|
|
784
784
|
* brightness/color combinations and the window covering gradually opening.
|
|
785
785
|
*
|
|
786
|
-
* @see {@link MatterSpecification.
|
|
786
|
+
* @see {@link MatterSpecification.v141.Core} § 9.14.6.3
|
|
787
787
|
*/
|
|
788
788
|
startAction: OptionalCommand(0x2, TlvStartActionRequest, 0x2, TlvNoResponse),
|
|
789
789
|
|
|
@@ -795,7 +795,7 @@ export namespace Actions {
|
|
|
795
795
|
* Example: start a dynamic lighting pattern (such as gradually rotating the colors around the setpoints of
|
|
796
796
|
* the scene) on a set of lights for 1 hour (Duration=3600).
|
|
797
797
|
*
|
|
798
|
-
* @see {@link MatterSpecification.
|
|
798
|
+
* @see {@link MatterSpecification.v141.Core} § 9.14.6.4
|
|
799
799
|
*/
|
|
800
800
|
startActionWithDuration: OptionalCommand(0x3, TlvStartActionWithDurationRequest, 0x3, TlvNoResponse),
|
|
801
801
|
|
|
@@ -805,7 +805,7 @@ export namespace Actions {
|
|
|
805
805
|
*
|
|
806
806
|
* Example: stop a dynamic lighting pattern which was previously started with StartAction.
|
|
807
807
|
*
|
|
808
|
-
* @see {@link MatterSpecification.
|
|
808
|
+
* @see {@link MatterSpecification.v141.Core} § 9.14.6.5
|
|
809
809
|
*/
|
|
810
810
|
stopAction: OptionalCommand(0x4, TlvStopActionRequest, 0x4, TlvNoResponse),
|
|
811
811
|
|
|
@@ -815,7 +815,7 @@ export namespace Actions {
|
|
|
815
815
|
* Example: pause a dynamic lighting effect (the lights stay at their current color) which was previously
|
|
816
816
|
* started with StartAction.
|
|
817
817
|
*
|
|
818
|
-
* @see {@link MatterSpecification.
|
|
818
|
+
* @see {@link MatterSpecification.v141.Core} § 9.14.6.6
|
|
819
819
|
*/
|
|
820
820
|
pauseAction: OptionalCommand(0x5, TlvPauseActionRequest, 0x5, TlvNoResponse),
|
|
821
821
|
|
|
@@ -833,7 +833,7 @@ export namespace Actions {
|
|
|
833
833
|
* after some hours or during a nightly reset, while an Disable would remain in effect until explicitly
|
|
834
834
|
* enabled again).
|
|
835
835
|
*
|
|
836
|
-
* @see {@link MatterSpecification.
|
|
836
|
+
* @see {@link MatterSpecification.v141.Core} § 9.14.6.7
|
|
837
837
|
*/
|
|
838
838
|
pauseActionWithDuration: OptionalCommand(0x6, TlvPauseActionWithDurationRequest, 0x6, TlvNoResponse),
|
|
839
839
|
|
|
@@ -846,7 +846,7 @@ export namespace Actions {
|
|
|
846
846
|
* Example: resume a dynamic lighting effect (the lights' colors will change gradually, continuing from the
|
|
847
847
|
* point they were paused).
|
|
848
848
|
*
|
|
849
|
-
* @see {@link MatterSpecification.
|
|
849
|
+
* @see {@link MatterSpecification.v141.Core} § 9.14.6.8
|
|
850
850
|
*/
|
|
851
851
|
resumeAction: OptionalCommand(0x7, TlvResumeActionRequest, 0x7, TlvNoResponse),
|
|
852
852
|
|
|
@@ -855,7 +855,7 @@ export namespace Actions {
|
|
|
855
855
|
*
|
|
856
856
|
* Example: enable a motion sensor to control the lights in an area.
|
|
857
857
|
*
|
|
858
|
-
* @see {@link MatterSpecification.
|
|
858
|
+
* @see {@link MatterSpecification.v141.Core} § 9.14.6.9
|
|
859
859
|
*/
|
|
860
860
|
enableAction: OptionalCommand(0x8, TlvEnableActionRequest, 0x8, TlvNoResponse),
|
|
861
861
|
|
|
@@ -868,7 +868,7 @@ export namespace Actions {
|
|
|
868
868
|
* Duration field is used to indicated the length of your absence from home. After that period, the presence
|
|
869
869
|
* mimicking behavior will no longer control these lights.
|
|
870
870
|
*
|
|
871
|
-
* @see {@link MatterSpecification.
|
|
871
|
+
* @see {@link MatterSpecification.v141.Core} § 9.14.6.10
|
|
872
872
|
*/
|
|
873
873
|
enableActionWithDuration: OptionalCommand(0x9, TlvEnableActionWithDurationRequest, 0x9, TlvNoResponse),
|
|
874
874
|
|
|
@@ -877,7 +877,7 @@ export namespace Actions {
|
|
|
877
877
|
*
|
|
878
878
|
* Example: disable a motion sensor to no longer control the lights in an area.
|
|
879
879
|
*
|
|
880
|
-
* @see {@link MatterSpecification.
|
|
880
|
+
* @see {@link MatterSpecification.v141.Core} § 9.14.6.11
|
|
881
881
|
*/
|
|
882
882
|
disableAction: OptionalCommand(0xa, TlvDisableActionRequest, 0xa, TlvNoResponse),
|
|
883
883
|
|
|
@@ -890,7 +890,7 @@ export namespace Actions {
|
|
|
890
890
|
* turning on in the morning while you’re not at home). After this period, the wakeup experience will
|
|
891
891
|
* control the lights as before.
|
|
892
892
|
*
|
|
893
|
-
* @see {@link MatterSpecification.
|
|
893
|
+
* @see {@link MatterSpecification.v141.Core} § 9.14.6.12
|
|
894
894
|
*/
|
|
895
895
|
disableActionWithDuration: OptionalCommand(0xb, TlvDisableActionWithDurationRequest, 0xb, TlvNoResponse)
|
|
896
896
|
},
|
|
@@ -909,7 +909,7 @@ export namespace Actions {
|
|
|
909
909
|
*
|
|
910
910
|
* • one when the transition completed (NewState=Inactive)
|
|
911
911
|
*
|
|
912
|
-
* @see {@link MatterSpecification.
|
|
912
|
+
* @see {@link MatterSpecification.v141.Core} § 9.14.7.1
|
|
913
913
|
*/
|
|
914
914
|
stateChanged: Event(0x0, EventPriority.Info, TlvStateChangedEvent),
|
|
915
915
|
|
|
@@ -938,7 +938,7 @@ export namespace Actions {
|
|
|
938
938
|
*
|
|
939
939
|
* • StateChanged (InvokeID=2, NewState=Inactive) upon the execution of the action for the second command
|
|
940
940
|
*
|
|
941
|
-
* @see {@link MatterSpecification.
|
|
941
|
+
* @see {@link MatterSpecification.v141.Core} § 9.14.7.2
|
|
942
942
|
*/
|
|
943
943
|
actionFailed: Event(0x1, EventPriority.Info, TlvActionFailedEvent)
|
|
944
944
|
}
|
|
@@ -977,7 +977,7 @@ export namespace Actions {
|
|
|
977
977
|
* The term 'action' in the description of this cluster should not be confused with the term 'action' as used in the
|
|
978
978
|
* Interaction Model.
|
|
979
979
|
*
|
|
980
|
-
* @see {@link MatterSpecification.
|
|
980
|
+
* @see {@link MatterSpecification.v141.Core} § 9.14
|
|
981
981
|
*/
|
|
982
982
|
export interface Cluster extends Identity<typeof ClusterInstance> {}
|
|
983
983
|
|