diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 5eb897a4da8d5d..ffc0644df2c889 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -116,6 +116,7 @@ jobs: src/app/zap-templates/zcl/data-model/chip/application-basic-cluster.xml \ src/app/zap-templates/zcl/data-model/chip/application-launcher-cluster.xml \ src/app/zap-templates/zcl/data-model/chip/audio-output-cluster.xml \ + src/app/zap-templates/zcl/data-model/chip/ballast-configuration-cluster.xml \ src/app/zap-templates/zcl/data-model/chip/basic-information-cluster.xml \ src/app/zap-templates/zcl/data-model/chip/binding-cluster.xml \ src/app/zap-templates/zcl/data-model/chip/boolean-state-cluster.xml \ @@ -131,6 +132,7 @@ jobs: src/app/zap-templates/zcl/data-model/chip/diagnostic-logs-cluster.xml \ src/app/zap-templates/zcl/data-model/chip/door-lock-cluster.xml \ src/app/zap-templates/zcl/data-model/chip/ethernet-network-diagnostics-cluster.xml \ + src/app/zap-templates/zcl/data-model/chip/fan-control-cluster.xml \ src/app/zap-templates/zcl/data-model/chip/fault-injection-cluster.xml \ src/app/zap-templates/zcl/data-model/chip/fixed-label-cluster.xml \ src/app/zap-templates/zcl/data-model/chip/flow-measurement-cluster.xml \ @@ -149,6 +151,7 @@ jobs: src/app/zap-templates/zcl/data-model/chip/media-playback-cluster.xml \ src/app/zap-templates/zcl/data-model/chip/mode-select-cluster.xml \ src/app/zap-templates/zcl/data-model/chip/network-commissioning-cluster.xml \ + src/app/zap-templates/zcl/data-model/chip/occupancy-sensing-cluster.xml \ src/app/zap-templates/zcl/data-model/chip/onoff-cluster.xml \ src/app/zap-templates/zcl/data-model/chip/operational-credentials-cluster.xml \ src/app/zap-templates/zcl/data-model/chip/pressure-measurement-cluster.xml \ @@ -166,6 +169,7 @@ jobs: src/app/zap-templates/zcl/data-model/chip/target-navigator-cluster.xml \ src/app/zap-templates/zcl/data-model/chip/temperature-measurement-cluster.xml \ src/app/zap-templates/zcl/data-model/chip/test-cluster.xml \ + src/app/zap-templates/zcl/data-model/chip/thermostat-user-interface-configuration-cluster.xml \ src/app/zap-templates/zcl/data-model/chip/thermostat-cluster.xml \ src/app/zap-templates/zcl/data-model/chip/thread-network-diagnostics-cluster.xml \ src/app/zap-templates/zcl/data-model/chip/time-format-localization-cluster.xml \ @@ -177,10 +181,10 @@ jobs: src/app/zap-templates/zcl/data-model/chip/window-covering.xml \ src/app/zap-templates/zcl/data-model/chip/matter-devices.xml \ src/app/zap-templates/zcl/data-model/draft/barrier-control-cluster.xml \ + src/app/zap-templates/zcl/data-model/draft/electrical-measurement-cluster.xml \ src/app/zap-templates/zcl/data-model/draft/input-output-value-clusters.xml \ src/app/zap-templates/zcl/data-model/draft/onoff-switch-configuration-cluster.xml \ src/app/zap-templates/zcl/data-model/silabs/ha-devices.xml \ - src/app/zap-templates/zcl/data-model/silabs/ha.xml \ src/app/zap-templates/zcl/data-model/silabs/lo-devices.xml \ src/app/zap-templates/zcl/data-model/silabs/types-silabs.xml \ src/app/zap-templates/zcl/data-model/silabs/zll-devices.xml \ diff --git a/scripts/rules.matterlint b/scripts/rules.matterlint index 18f2c3bd94259e..21609bd813f5ca 100644 --- a/scripts/rules.matterlint +++ b/scripts/rules.matterlint @@ -8,6 +8,7 @@ load "../src/app/zap-templates/zcl/data-model/chip/administrator-commissioning-c load "../src/app/zap-templates/zcl/data-model/chip/application-basic-cluster.xml"; load "../src/app/zap-templates/zcl/data-model/chip/application-launcher-cluster.xml"; load "../src/app/zap-templates/zcl/data-model/chip/audio-output-cluster.xml"; +load "../src/app/zap-templates/zcl/data-model/chip/ballast-configuration-cluster.xml"; load "../src/app/zap-templates/zcl/data-model/chip/basic-information-cluster.xml"; load "../src/app/zap-templates/zcl/data-model/chip/binding-cluster.xml"; load "../src/app/zap-templates/zcl/data-model/chip/boolean-state-cluster.xml"; @@ -23,6 +24,7 @@ load "../src/app/zap-templates/zcl/data-model/chip/descriptor-cluster.xml"; load "../src/app/zap-templates/zcl/data-model/chip/diagnostic-logs-cluster.xml"; load "../src/app/zap-templates/zcl/data-model/chip/door-lock-cluster.xml"; load "../src/app/zap-templates/zcl/data-model/chip/ethernet-network-diagnostics-cluster.xml"; +load "../src/app/zap-templates/zcl/data-model/chip/fan-control-cluster.xml"; load "../src/app/zap-templates/zcl/data-model/chip/fixed-label-cluster.xml"; load "../src/app/zap-templates/zcl/data-model/chip/flow-measurement-cluster.xml"; load "../src/app/zap-templates/zcl/data-model/chip/general-commissioning-cluster.xml"; @@ -41,6 +43,7 @@ load "../src/app/zap-templates/zcl/data-model/chip/media-input-cluster.xml"; load "../src/app/zap-templates/zcl/data-model/chip/media-playback-cluster.xml"; load "../src/app/zap-templates/zcl/data-model/chip/mode-select-cluster.xml"; load "../src/app/zap-templates/zcl/data-model/chip/network-commissioning-cluster.xml"; +load "../src/app/zap-templates/zcl/data-model/chip/occupancy-sensing-cluster.xml"; load "../src/app/zap-templates/zcl/data-model/chip/onoff-cluster.xml"; load "../src/app/zap-templates/zcl/data-model/chip/operational-credentials-cluster.xml"; load "../src/app/zap-templates/zcl/data-model/chip/power-source-cluster.xml"; @@ -58,6 +61,7 @@ load "../src/app/zap-templates/zcl/data-model/chip/switch-cluster.xml"; load "../src/app/zap-templates/zcl/data-model/chip/target-navigator-cluster.xml"; load "../src/app/zap-templates/zcl/data-model/chip/temperature-measurement-cluster.xml"; load "../src/app/zap-templates/zcl/data-model/chip/test-cluster.xml"; +load "../src/app/zap-templates/zcl/data-model/chip/thermostat-user-interface-configuration-cluster.xml"; load "../src/app/zap-templates/zcl/data-model/chip/thermostat-cluster.xml"; load "../src/app/zap-templates/zcl/data-model/chip/thread-network-diagnostics-cluster.xml"; load "../src/app/zap-templates/zcl/data-model/chip/time-format-localization-cluster.xml"; @@ -68,6 +72,7 @@ load "../src/app/zap-templates/zcl/data-model/chip/wake-on-lan-cluster.xml"; load "../src/app/zap-templates/zcl/data-model/chip/wifi-network-diagnostics-cluster.xml"; load "../src/app/zap-templates/zcl/data-model/chip/window-covering.xml"; load "../src/app/zap-templates/zcl/data-model/draft/barrier-control-cluster.xml"; +load "../src/app/zap-templates/zcl/data-model/draft/electrical-measurement-cluster.xml"; load "../src/app/zap-templates/zcl/data-model/draft/input-output-value-clusters.xml"; load "../src/app/zap-templates/zcl/data-model/draft/onoff-switch-configuration-cluster.xml"; diff --git a/scripts/tests/chiptest/yamltest_with_chip_repl_tester.py b/scripts/tests/chiptest/yamltest_with_chip_repl_tester.py index 7738539898c4c6..f852d30c9b4a53 100644 --- a/scripts/tests/chiptest/yamltest_with_chip_repl_tester.py +++ b/scripts/tests/chiptest/yamltest_with_chip_repl_tester.py @@ -96,9 +96,6 @@ def _StackShutDown(): # Creating Cluster definition. clusters_definitions = SpecDefinitionsFromPaths([ _CLUSTER_XML_DIRECTORY_PATH + '/chip/*.xml', - - # Some still-silabs clusters - _CLUSTER_XML_DIRECTORY_PATH + '/silabs/ha.xml', # For fan control ]) # Parsing YAML test and setting up chip-repl yamltests runner. diff --git a/src/app/zap-templates/zcl/data-model/all.xml b/src/app/zap-templates/zcl/data-model/all.xml index 70046f711b897c..8d9da386fbed1d 100644 --- a/src/app/zap-templates/zcl/data-model/all.xml +++ b/src/app/zap-templates/zcl/data-model/all.xml @@ -6,6 +6,7 @@ + @@ -21,6 +22,7 @@ + @@ -39,6 +41,7 @@ + @@ -56,6 +59,7 @@ + @@ -68,10 +72,10 @@ + - diff --git a/src/app/zap-templates/zcl/data-model/chip/ballast-configuration-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/ballast-configuration-cluster.xml new file mode 100644 index 00000000000000..90fb658802194f --- /dev/null +++ b/src/app/zap-templates/zcl/data-model/chip/ballast-configuration-cluster.xml @@ -0,0 +1,52 @@ + + + + + + + Ballast Configuration + Lighting + Attributes and commands for configuring a lighting ballast. + 0x0301 + BALLAST_CONFIGURATION_CLUSTER + + true + true + + + + + PhysicalMinLevel + PhysicalMaxLevel + BallastStatus + + MinLevel + MaxLevel + + IntrinsicBallastFactor + BallastFactorAdjustment + + LampQuantity + + LampType + LampManufacturer + LampRatedHours + LampBurnHours + LampAlarmMode + LampBurnHoursTripPoint + + diff --git a/src/app/zap-templates/zcl/data-model/chip/fan-control-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/fan-control-cluster.xml new file mode 100644 index 00000000000000..53d7b4c107c483 --- /dev/null +++ b/src/app/zap-templates/zcl/data-model/chip/fan-control-cluster.xml @@ -0,0 +1,90 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Fan Control + HVAC + An interface for controlling a fan in a heating/cooling system. + 0x0202 + FAN_CONTROL_CLUSTER + + true + true + + FanMode + FanModeSequence + PercentSetting + PercentCurrent + SpeedMax + SpeedSetting + SpeedCurrent + RockSupport + RockSetting + WindSupport + WindSetting + + diff --git a/src/app/zap-templates/zcl/data-model/chip/occupancy-sensing-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/occupancy-sensing-cluster.xml new file mode 100644 index 00000000000000..4b0e758e367df8 --- /dev/null +++ b/src/app/zap-templates/zcl/data-model/chip/occupancy-sensing-cluster.xml @@ -0,0 +1,90 @@ + + + + + + + Occupancy Sensing + Measurement & Sensing + Attributes and commands for configuring occupancy sensing, and reporting occupancy status. + 0x0406 + OCCUPANCY_SENSING_CLUSTER + + true + true + + + + Occupancy + OccupancySensorType + OccupancySensorTypeBitmap + + + PIROccupiedToUnoccupiedDelay + + + + + + PIRUnoccupiedToOccupiedDelay + + + + + + PIRUnoccupiedToOccupiedThreshold + + + + + + UltrasonicOccupiedToUnoccupiedDelay + + + + + + UltrasonicUnoccupiedToOccupiedDelay + + + + + + UltrasonicUnoccupiedToOccupiedThreshold + + + + + + PhysicalContactOccupiedToUnoccupiedDelay + + + + + + PhysicalContactUnoccupiedToOccupiedDelay + + + + + + PhysicalContactUnoccupiedToOccupiedThreshold + + + + + diff --git a/src/app/zap-templates/zcl/data-model/chip/thermostat-user-interface-configuration-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/thermostat-user-interface-configuration-cluster.xml new file mode 100644 index 00000000000000..c3c054d7462ed9 --- /dev/null +++ b/src/app/zap-templates/zcl/data-model/chip/thermostat-user-interface-configuration-cluster.xml @@ -0,0 +1,46 @@ + + + + + + + Thermostat User Interface Configuration + HVAC + An interface for configuring the user interface of a thermostat (which may be remote from the thermostat). + 0x0204 + THERMOSTAT_USER_INTERFACE_CONFIGURATION_CLUSTER + + true + true + + + + TemperatureDisplayMode + + + KeypadLockout + + + + + + ScheduleProgrammingVisibility + + + + + diff --git a/src/app/zap-templates/zcl/data-model/silabs/ha.xml b/src/app/zap-templates/zcl/data-model/draft/electrical-measurement-cluster.xml similarity index 68% rename from src/app/zap-templates/zcl/data-model/silabs/ha.xml rename to src/app/zap-templates/zcl/data-model/draft/electrical-measurement-cluster.xml index 96e38ca40b90a5..b1e8b72f0b2d13 100644 --- a/src/app/zap-templates/zcl/data-model/silabs/ha.xml +++ b/src/app/zap-templates/zcl/data-model/draft/electrical-measurement-cluster.xml @@ -1,6 +1,6 @@ - - - - - - - - - - - - - Fan Control - HVAC - An interface for controlling a fan in a heating/cooling system. - 0x0202 - FAN_CONTROL_CLUSTER - true - true - FanMode - FanModeSequence - PercentSetting - PercentCurrent - SpeedMax - SpeedSetting - SpeedCurrent - RockSupport - RockSetting - WindSupport - WindSetting - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Thermostat User Interface Configuration - HVAC - An interface for configuring the user interface of a thermostat (which may be remote from the thermostat). - 0x0204 - THERMOSTAT_USER_INTERFACE_CONFIGURATION_CLUSTER - true - true - - TemperatureDisplayMode - - KeypadLockout - - - - - ScheduleProgrammingVisibility - - - - - - Ballast Configuration - Lighting - Attributes and commands for configuring a lighting ballast. - 0x0301 - BALLAST_CONFIGURATION_CLUSTER - true - true - - - PhysicalMinLevel - PhysicalMaxLevel - BallastStatus - - MinLevel - MaxLevel - - IntrinsicBallastFactor - BallastFactorAdjustment - - LampQuantity - - LampType - LampManufacturer - LampRatedHours - LampBurnHours - LampAlarmMode - LampBurnHoursTripPoint - - - Occupancy Sensing - Measurement & Sensing - Attributes and commands for configuring occupancy sensing, and reporting occupancy status. - 0x0406 - OCCUPANCY_SENSING_CLUSTER - true - true - - Occupancy - OccupancySensorType - OccupancySensorTypeBitmap - - PIROccupiedToUnoccupiedDelay - - - - - PIRUnoccupiedToOccupiedDelay - - - - - PIRUnoccupiedToOccupiedThreshold - - - - - UltrasonicOccupiedToUnoccupiedDelay - - - - - UltrasonicUnoccupiedToOccupiedDelay - - - - - UltrasonicUnoccupiedToOccupiedThreshold - - - - - PhysicalContactOccupiedToUnoccupiedDelay - - - - - PhysicalContactUnoccupiedToOccupiedDelay - - - - - PhysicalContactUnoccupiedToOccupiedThreshold - - - - + + Electrical Measurement Home Automation Attributes related to the electrical properties of a device. This cluster is used by power outlets and other devices that need to provide instantaneous data as opposed to metrology data which should be retrieved from the metering cluster.. 0x0B04 ELECTRICAL_MEASUREMENT_CLUSTER + true true + + measurement type dc voltage dc voltage min @@ -334,6 +157,7 @@ limitations under the License. rms extreme under voltage period phase c rms voltage sag period phase c rms voltage swell period phase c + A function which returns the power profiling information requested in the GetProfileInfo command. The power profiling information consists of a list of attributes which are profiled along with the period used to profile them. @@ -343,6 +167,7 @@ limitations under the License. + A function which returns the electricity measurement profile. The electricity measurement profile includes information regarding the amount of time used to capture data related to the flow of electricity as well as the intervals thes @@ -354,11 +179,13 @@ limitations under the License. + A function which retrieves the power profiling information from the electrical measurement server. + A function which retrieves an electricity measurement profile from the electricity measurement server for a specific attribute Id requested. diff --git a/src/app/zap-templates/zcl/data-model/draft/types/ballast-configuration.xml b/src/app/zap-templates/zcl/data-model/draft/types/ballast-configuration.xml new file mode 100644 index 00000000000000..bf9a38ab833517 --- /dev/null +++ b/src/app/zap-templates/zcl/data-model/draft/types/ballast-configuration.xml @@ -0,0 +1,25 @@ + + + + + + + + + + + diff --git a/src/app/zap-templates/zcl/data-model/draft/types/occupancy-sensing.xml b/src/app/zap-templates/zcl/data-model/draft/types/occupancy-sensing.xml new file mode 100644 index 00000000000000..94478a8d5f96c7 --- /dev/null +++ b/src/app/zap-templates/zcl/data-model/draft/types/occupancy-sensing.xml @@ -0,0 +1,34 @@ + + + + + + + + + + + + + + + + + + + + diff --git a/src/app/zap-templates/zcl/data-model/draft/types/thermostat-user-interface-configuration.xml b/src/app/zap-templates/zcl/data-model/draft/types/thermostat-user-interface-configuration.xml new file mode 100644 index 00000000000000..cedbdcc1585094 --- /dev/null +++ b/src/app/zap-templates/zcl/data-model/draft/types/thermostat-user-interface-configuration.xml @@ -0,0 +1,31 @@ + + + + + + + + + + + + + + + + + diff --git a/src/app/zap-templates/zcl/data-model/silabs/types-silabs.xml b/src/app/zap-templates/zcl/data-model/silabs/types-silabs.xml index 0594d6a8f3e13d..10b1e35686fca3 100644 --- a/src/app/zap-templates/zcl/data-model/silabs/types-silabs.xml +++ b/src/app/zap-templates/zcl/data-model/silabs/types-silabs.xml @@ -43,16 +43,6 @@ limitations under the License. - - - - - - - - - - @@ -119,22 +109,6 @@ limitations under the License. - - - - - - - - - - - - - - - - @@ -147,34 +121,11 @@ limitations under the License. - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/app/zap-templates/zcl/zcl-with-test-extensions.json b/src/app/zap-templates/zcl/zcl-with-test-extensions.json index 13c9f2ad6ed45a..27c798c91a1b94 100644 --- a/src/app/zap-templates/zcl/zcl-with-test-extensions.json +++ b/src/app/zap-templates/zcl/zcl-with-test-extensions.json @@ -20,6 +20,7 @@ "application-basic-cluster.xml", "application-launcher-cluster.xml", "audio-output-cluster.xml", + "ballast-configuration-cluster.xml", "barrier-control-cluster.xml", "basic-information-cluster.xml", "binding-cluster.xml", @@ -35,7 +36,9 @@ "descriptor-cluster.xml", "diagnostic-logs-cluster.xml", "door-lock-cluster.xml", + "electrical-measurement-cluster.xml", "ethernet-network-diagnostics-cluster.xml", + "fan-control-cluster.xml", "fault-injection-cluster.xml", "fixed-label-cluster.xml", "flow-measurement-cluster.xml", @@ -56,6 +59,7 @@ "mode-select-cluster.xml", "mode-select-extensions.xml", "network-commissioning-cluster.xml", + "occupancy-sensing-cluster.xml", "onoff-cluster.xml", "onoff-switch-configuration-cluster.xml", "operational-credentials-cluster.xml", @@ -75,6 +79,7 @@ "temperature-measurement-cluster.xml", "test-cluster.xml", "thermostat-cluster.xml", + "thermostat-user-interface-configuration-cluster.xml", "thread-network-diagnostics-cluster.xml", "time-format-localization-cluster.xml", "time-synchronization-cluster.xml", @@ -85,10 +90,11 @@ "window-covering.xml", "matter-devices.xml", "ha-devices.xml", - "ha.xml", "lo-devices.xml", "zll-devices.xml", - "types/color-control.xml" + "types/color-control.xml", + "types/occupancy-sensing.xml", + "types/thermostat-user-interface-configuration.xml" ], "manufacturersXml": "../../../../src/app/zap-templates/zcl/data-model/manufacturers.xml", "options": { diff --git a/src/app/zap-templates/zcl/zcl.json b/src/app/zap-templates/zcl/zcl.json index 509e41fb7f9aee..41d08dc3c3afba 100644 --- a/src/app/zap-templates/zcl/zcl.json +++ b/src/app/zap-templates/zcl/zcl.json @@ -19,6 +19,7 @@ "application-basic-cluster.xml", "application-launcher-cluster.xml", "audio-output-cluster.xml", + "ballast-configuration-cluster.xml", "barrier-control-cluster.xml", "basic-information-cluster.xml", "binding-cluster.xml", @@ -34,7 +35,9 @@ "descriptor-cluster.xml", "diagnostic-logs-cluster.xml", "door-lock-cluster.xml", + "electrical-measurement-cluster.xml", "ethernet-network-diagnostics-cluster.xml", + "fan-control-cluster.xml", "fault-injection-cluster.xml", "fixed-label-cluster.xml", "flow-measurement-cluster.xml", @@ -54,6 +57,7 @@ "media-playback-cluster.xml", "mode-select-cluster.xml", "network-commissioning-cluster.xml", + "occupancy-sensing-cluster.xml", "onoff-cluster.xml", "onoff-switch-configuration-cluster.xml", "operational-credentials-cluster.xml", @@ -73,6 +77,7 @@ "temperature-measurement-cluster.xml", "test-cluster.xml", "thermostat-cluster.xml", + "thermostat-user-interface-configuration-cluster.xml", "thread-network-diagnostics-cluster.xml", "time-format-localization-cluster.xml", "time-synchronization-cluster.xml", @@ -83,10 +88,11 @@ "window-covering.xml", "matter-devices.xml", "ha-devices.xml", - "ha.xml", "lo-devices.xml", "zll-devices.xml", - "types/color-control.xml" + "types/color-control.xml", + "types/occupancy-sensing.xml", + "types/thermostat-user-interface-configuration.xml" ], "manufacturersXml": "../../../../src/app/zap-templates/zcl/data-model/manufacturers.xml", "options": { diff --git a/zzz_generated/app-common/app-common/zap-generated/enums.h b/zzz_generated/app-common/app-common/zap-generated/enums.h index f83ba8513ca2ee..d8c3a44aec3801 100644 --- a/zzz_generated/app-common/app-common/zap-generated/enums.h +++ b/zzz_generated/app-common/app-common/zap-generated/enums.h @@ -330,10 +330,6 @@ enum EmberAfWiFiVersionType : uint8_t #define EMBER_AF_APPLICATION_LAUNCHER_FEATURE_APPLICATION_PLATFORM_OFFSET (0) #define EMBER_AF_AUDIO_OUTPUT_FEATURE_NAME_UPDATES (1) #define EMBER_AF_AUDIO_OUTPUT_FEATURE_NAME_UPDATES_OFFSET (0) -#define EMBER_AF_BALLAST_STATUS_NON_OPERATIONAL (1) -#define EMBER_AF_BALLAST_STATUS_NON_OPERATIONAL_OFFSET (0) -#define EMBER_AF_BALLAST_STATUS_LAMP_NOT_IN_SOCKET (2) -#define EMBER_AF_BALLAST_STATUS_LAMP_NOT_IN_SOCKET_OFFSET (1) #define EMBER_AF_BARRIER_CONTROL_CAPABILITIES_PARTIAL_BARRIER (1) #define EMBER_AF_BARRIER_CONTROL_CAPABILITIES_PARTIAL_BARRIER_OFFSET (0) #define EMBER_AF_BARRIER_CONTROL_SAFETY_STATUS_REMOTE_LOCKOUT (1) @@ -718,8 +714,6 @@ enum EmberAfWiFiVersionType : uint8_t #define EMBER_AF_KEYPAD_INPUT_FEATURE_LOCATION_KEYS_OFFSET (1) #define EMBER_AF_KEYPAD_INPUT_FEATURE_NUMBER_KEYS (4) #define EMBER_AF_KEYPAD_INPUT_FEATURE_NUMBER_KEYS_OFFSET (2) -#define EMBER_AF_LAMP_ALARM_MODE_LAMP_BURN_HOURS (1) -#define EMBER_AF_LAMP_ALARM_MODE_LAMP_BURN_HOURS_OFFSET (0) #define EMBER_AF_LEVEL_CONTROL_FEATURE_ON_OFF (1) #define EMBER_AF_LEVEL_CONTROL_FEATURE_ON_OFF_OFFSET (0) #define EMBER_AF_LEVEL_CONTROL_FEATURE_LIGHTING (2)