diff --git a/scripts/tools/zap_regen_all.py b/scripts/tools/zap_regen_all.py index 1269ca78f3d49f..4ca6b6fdda6199 100755 --- a/scripts/tools/zap_regen_all.py +++ b/scripts/tools/zap_regen_all.py @@ -24,6 +24,8 @@ import sys import tempfile import time +import traceback +import urllib.request from dataclasses import dataclass from enum import Flag, auto from pathlib import Path @@ -211,9 +213,36 @@ def __init__(self, generator: str, output_directory: str, idl_path: str): self.command = ["./scripts/codegen.py", "--output-dir", output_directory, "--generator", generator, idl_path] + def runJavaPrettifier(self): + try: + java_outputs = subprocess.check_output(["./scripts/codegen.py", "--name-only", "--generator", + self.generator, "--log-level", "fatal", self.idl_path]).decode("utf8").split("\n") + java_outputs = [os.path.join(self.output_directory, name) for name in java_outputs if name] + + logging.info("Prettifying %d java files:", len(java_outputs)) + for name in java_outputs: + logging.info(" %s" % name) + + # Keep this version in sync with what restyler uses (https://github.com/project-chip/connectedhomeip/blob/master/.restyled.yaml). + FORMAT_VERSION = "1.6" + URL_PREFIX = 'https://github.com/google/google-java-format/releases/download/google-java-format' + JAR_NAME = f"google-java-format-{FORMAT_VERSION}-all-deps.jar" + jar_url = f"{URL_PREFIX}-{FORMAT_VERSION}/{JAR_NAME}" + + home = str(Path.home()) + path, http_message = urllib.request.urlretrieve(jar_url, Path.home().joinpath(JAR_NAME).as_posix()) + + subprocess.check_call(['java', '-jar', path, '--replace'] + java_outputs) + except Exception as err: + traceback.print_exception(err) + print('google-java-format error:', err) + def generate(self) -> TargetRunStats: generate_start = time.time() + subprocess.check_call(self.command) + self.runJavaPrettifier() + generate_end = time.time() return TargetRunStats( diff --git a/src/controller/java/generated/java/chip/devicecontroller/ClusterWriteMapping.java b/src/controller/java/generated/java/chip/devicecontroller/ClusterWriteMapping.java index 1eee99c7cd6182..badbfd0503386b 100644 --- a/src/controller/java/generated/java/chip/devicecontroller/ClusterWriteMapping.java +++ b/src/controller/java/generated/java/chip/devicecontroller/ClusterWriteMapping.java @@ -11,326 +11,255 @@ public class ClusterWriteMapping { public Map> getWriteAttributeMap() { Map> writeAttributeMap = new HashMap<>(); Map writeIdentifyInteractionInfo = new LinkedHashMap<>(); - Map writeIdentifyIdentifyTimeCommandParams = new LinkedHashMap(); + Map writeIdentifyIdentifyTimeCommandParams = + new LinkedHashMap(); CommandParameterInfo identifyidentifyTimeCommandParameterInfo = - new CommandParameterInfo( - "value", - Integer.class, - Integer.class - ); - writeIdentifyIdentifyTimeCommandParams.put( - "value", - identifyidentifyTimeCommandParameterInfo - ); - InteractionInfo writeIdentifyIdentifyTimeAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.IdentifyCluster) cluster).writeIdentifyTimeAttribute( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeIdentifyIdentifyTimeCommandParams - ); - writeIdentifyInteractionInfo.put("writeIdentifyTimeAttribute", writeIdentifyIdentifyTimeAttributeInteractionInfo); + new CommandParameterInfo("value", Integer.class, Integer.class); + writeIdentifyIdentifyTimeCommandParams.put("value", identifyidentifyTimeCommandParameterInfo); + InteractionInfo writeIdentifyIdentifyTimeAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.IdentifyCluster) cluster) + .writeIdentifyTimeAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeIdentifyIdentifyTimeCommandParams); + writeIdentifyInteractionInfo.put( + "writeIdentifyTimeAttribute", writeIdentifyIdentifyTimeAttributeInteractionInfo); writeAttributeMap.put("identify", writeIdentifyInteractionInfo); Map writeGroupsInteractionInfo = new LinkedHashMap<>(); writeAttributeMap.put("groups", writeGroupsInteractionInfo); Map writeScenesInteractionInfo = new LinkedHashMap<>(); writeAttributeMap.put("scenes", writeScenesInteractionInfo); Map writeOnOffInteractionInfo = new LinkedHashMap<>(); - Map writeOnOffOnTimeCommandParams = new LinkedHashMap(); + Map writeOnOffOnTimeCommandParams = + new LinkedHashMap(); CommandParameterInfo onOffonTimeCommandParameterInfo = - new CommandParameterInfo( - "value", - Integer.class, - Integer.class - ); - writeOnOffOnTimeCommandParams.put( - "value", - onOffonTimeCommandParameterInfo - ); - InteractionInfo writeOnOffOnTimeAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OnOffCluster) cluster).writeOnTimeAttribute( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeOnOffOnTimeCommandParams - ); + new CommandParameterInfo("value", Integer.class, Integer.class); + writeOnOffOnTimeCommandParams.put("value", onOffonTimeCommandParameterInfo); + InteractionInfo writeOnOffOnTimeAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OnOffCluster) cluster) + .writeOnTimeAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeOnOffOnTimeCommandParams); writeOnOffInteractionInfo.put("writeOnTimeAttribute", writeOnOffOnTimeAttributeInteractionInfo); - Map writeOnOffOffWaitTimeCommandParams = new LinkedHashMap(); + Map writeOnOffOffWaitTimeCommandParams = + new LinkedHashMap(); CommandParameterInfo onOffoffWaitTimeCommandParameterInfo = - new CommandParameterInfo( - "value", - Integer.class, - Integer.class - ); - writeOnOffOffWaitTimeCommandParams.put( - "value", - onOffoffWaitTimeCommandParameterInfo - ); - InteractionInfo writeOnOffOffWaitTimeAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OnOffCluster) cluster).writeOffWaitTimeAttribute( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeOnOffOffWaitTimeCommandParams - ); - writeOnOffInteractionInfo.put("writeOffWaitTimeAttribute", writeOnOffOffWaitTimeAttributeInteractionInfo); - Map writeOnOffStartUpOnOffCommandParams = new LinkedHashMap(); + new CommandParameterInfo("value", Integer.class, Integer.class); + writeOnOffOffWaitTimeCommandParams.put("value", onOffoffWaitTimeCommandParameterInfo); + InteractionInfo writeOnOffOffWaitTimeAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OnOffCluster) cluster) + .writeOffWaitTimeAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeOnOffOffWaitTimeCommandParams); + writeOnOffInteractionInfo.put( + "writeOffWaitTimeAttribute", writeOnOffOffWaitTimeAttributeInteractionInfo); + Map writeOnOffStartUpOnOffCommandParams = + new LinkedHashMap(); CommandParameterInfo onOffstartUpOnOffCommandParameterInfo = - new CommandParameterInfo( - "value", - Integer.class, - Integer.class - ); - writeOnOffStartUpOnOffCommandParams.put( - "value", - onOffstartUpOnOffCommandParameterInfo - ); - InteractionInfo writeOnOffStartUpOnOffAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OnOffCluster) cluster).writeStartUpOnOffAttribute( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeOnOffStartUpOnOffCommandParams - ); - writeOnOffInteractionInfo.put("writeStartUpOnOffAttribute", writeOnOffStartUpOnOffAttributeInteractionInfo); + new CommandParameterInfo("value", Integer.class, Integer.class); + writeOnOffStartUpOnOffCommandParams.put("value", onOffstartUpOnOffCommandParameterInfo); + InteractionInfo writeOnOffStartUpOnOffAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OnOffCluster) cluster) + .writeStartUpOnOffAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeOnOffStartUpOnOffCommandParams); + writeOnOffInteractionInfo.put( + "writeStartUpOnOffAttribute", writeOnOffStartUpOnOffAttributeInteractionInfo); writeAttributeMap.put("onOff", writeOnOffInteractionInfo); - Map writeOnOffSwitchConfigurationInteractionInfo = new LinkedHashMap<>(); - Map writeOnOffSwitchConfigurationSwitchActionsCommandParams = new LinkedHashMap(); + Map writeOnOffSwitchConfigurationInteractionInfo = + new LinkedHashMap<>(); + Map writeOnOffSwitchConfigurationSwitchActionsCommandParams = + new LinkedHashMap(); CommandParameterInfo onOffSwitchConfigurationswitchActionsCommandParameterInfo = - new CommandParameterInfo( - "value", - Integer.class, - Integer.class - ); + new CommandParameterInfo("value", Integer.class, Integer.class); writeOnOffSwitchConfigurationSwitchActionsCommandParams.put( - "value", - onOffSwitchConfigurationswitchActionsCommandParameterInfo - ); - InteractionInfo writeOnOffSwitchConfigurationSwitchActionsAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.OnOffSwitchConfigurationCluster) cluster).writeSwitchActionsAttribute( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeOnOffSwitchConfigurationSwitchActionsCommandParams - ); - writeOnOffSwitchConfigurationInteractionInfo.put("writeSwitchActionsAttribute", writeOnOffSwitchConfigurationSwitchActionsAttributeInteractionInfo); + "value", onOffSwitchConfigurationswitchActionsCommandParameterInfo); + InteractionInfo writeOnOffSwitchConfigurationSwitchActionsAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.OnOffSwitchConfigurationCluster) cluster) + .writeSwitchActionsAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeOnOffSwitchConfigurationSwitchActionsCommandParams); + writeOnOffSwitchConfigurationInteractionInfo.put( + "writeSwitchActionsAttribute", + writeOnOffSwitchConfigurationSwitchActionsAttributeInteractionInfo); writeAttributeMap.put("onOffSwitchConfiguration", writeOnOffSwitchConfigurationInteractionInfo); Map writeLevelControlInteractionInfo = new LinkedHashMap<>(); - Map writeLevelControlOptionsCommandParams = new LinkedHashMap(); + Map writeLevelControlOptionsCommandParams = + new LinkedHashMap(); CommandParameterInfo levelControloptionsCommandParameterInfo = - new CommandParameterInfo( - "value", - Integer.class, - Integer.class - ); - writeLevelControlOptionsCommandParams.put( - "value", - levelControloptionsCommandParameterInfo - ); - InteractionInfo writeLevelControlOptionsAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.LevelControlCluster) cluster).writeOptionsAttribute( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeLevelControlOptionsCommandParams - ); - writeLevelControlInteractionInfo.put("writeOptionsAttribute", writeLevelControlOptionsAttributeInteractionInfo); - Map writeLevelControlOnOffTransitionTimeCommandParams = new LinkedHashMap(); + new CommandParameterInfo("value", Integer.class, Integer.class); + writeLevelControlOptionsCommandParams.put("value", levelControloptionsCommandParameterInfo); + InteractionInfo writeLevelControlOptionsAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.LevelControlCluster) cluster) + .writeOptionsAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeLevelControlOptionsCommandParams); + writeLevelControlInteractionInfo.put( + "writeOptionsAttribute", writeLevelControlOptionsAttributeInteractionInfo); + Map writeLevelControlOnOffTransitionTimeCommandParams = + new LinkedHashMap(); CommandParameterInfo levelControlonOffTransitionTimeCommandParameterInfo = - new CommandParameterInfo( - "value", - Integer.class, - Integer.class - ); + new CommandParameterInfo("value", Integer.class, Integer.class); writeLevelControlOnOffTransitionTimeCommandParams.put( - "value", - levelControlonOffTransitionTimeCommandParameterInfo - ); - InteractionInfo writeLevelControlOnOffTransitionTimeAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.LevelControlCluster) cluster).writeOnOffTransitionTimeAttribute( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeLevelControlOnOffTransitionTimeCommandParams - ); - writeLevelControlInteractionInfo.put("writeOnOffTransitionTimeAttribute", writeLevelControlOnOffTransitionTimeAttributeInteractionInfo); - Map writeLevelControlOnLevelCommandParams = new LinkedHashMap(); + "value", levelControlonOffTransitionTimeCommandParameterInfo); + InteractionInfo writeLevelControlOnOffTransitionTimeAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.LevelControlCluster) cluster) + .writeOnOffTransitionTimeAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeLevelControlOnOffTransitionTimeCommandParams); + writeLevelControlInteractionInfo.put( + "writeOnOffTransitionTimeAttribute", + writeLevelControlOnOffTransitionTimeAttributeInteractionInfo); + Map writeLevelControlOnLevelCommandParams = + new LinkedHashMap(); CommandParameterInfo levelControlonLevelCommandParameterInfo = - new CommandParameterInfo( - "value", - Integer.class, - Integer.class - ); - writeLevelControlOnLevelCommandParams.put( - "value", - levelControlonLevelCommandParameterInfo - ); - InteractionInfo writeLevelControlOnLevelAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.LevelControlCluster) cluster).writeOnLevelAttribute( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeLevelControlOnLevelCommandParams - ); - writeLevelControlInteractionInfo.put("writeOnLevelAttribute", writeLevelControlOnLevelAttributeInteractionInfo); - Map writeLevelControlOnTransitionTimeCommandParams = new LinkedHashMap(); + new CommandParameterInfo("value", Integer.class, Integer.class); + writeLevelControlOnLevelCommandParams.put("value", levelControlonLevelCommandParameterInfo); + InteractionInfo writeLevelControlOnLevelAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.LevelControlCluster) cluster) + .writeOnLevelAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeLevelControlOnLevelCommandParams); + writeLevelControlInteractionInfo.put( + "writeOnLevelAttribute", writeLevelControlOnLevelAttributeInteractionInfo); + Map writeLevelControlOnTransitionTimeCommandParams = + new LinkedHashMap(); CommandParameterInfo levelControlonTransitionTimeCommandParameterInfo = - new CommandParameterInfo( - "value", - Integer.class, - Integer.class - ); + new CommandParameterInfo("value", Integer.class, Integer.class); writeLevelControlOnTransitionTimeCommandParams.put( - "value", - levelControlonTransitionTimeCommandParameterInfo - ); - InteractionInfo writeLevelControlOnTransitionTimeAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.LevelControlCluster) cluster).writeOnTransitionTimeAttribute( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeLevelControlOnTransitionTimeCommandParams - ); - writeLevelControlInteractionInfo.put("writeOnTransitionTimeAttribute", writeLevelControlOnTransitionTimeAttributeInteractionInfo); - Map writeLevelControlOffTransitionTimeCommandParams = new LinkedHashMap(); + "value", levelControlonTransitionTimeCommandParameterInfo); + InteractionInfo writeLevelControlOnTransitionTimeAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.LevelControlCluster) cluster) + .writeOnTransitionTimeAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeLevelControlOnTransitionTimeCommandParams); + writeLevelControlInteractionInfo.put( + "writeOnTransitionTimeAttribute", + writeLevelControlOnTransitionTimeAttributeInteractionInfo); + Map writeLevelControlOffTransitionTimeCommandParams = + new LinkedHashMap(); CommandParameterInfo levelControloffTransitionTimeCommandParameterInfo = - new CommandParameterInfo( - "value", - Integer.class, - Integer.class - ); + new CommandParameterInfo("value", Integer.class, Integer.class); writeLevelControlOffTransitionTimeCommandParams.put( - "value", - levelControloffTransitionTimeCommandParameterInfo - ); - InteractionInfo writeLevelControlOffTransitionTimeAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.LevelControlCluster) cluster).writeOffTransitionTimeAttribute( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeLevelControlOffTransitionTimeCommandParams - ); - writeLevelControlInteractionInfo.put("writeOffTransitionTimeAttribute", writeLevelControlOffTransitionTimeAttributeInteractionInfo); - Map writeLevelControlDefaultMoveRateCommandParams = new LinkedHashMap(); + "value", levelControloffTransitionTimeCommandParameterInfo); + InteractionInfo writeLevelControlOffTransitionTimeAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.LevelControlCluster) cluster) + .writeOffTransitionTimeAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeLevelControlOffTransitionTimeCommandParams); + writeLevelControlInteractionInfo.put( + "writeOffTransitionTimeAttribute", + writeLevelControlOffTransitionTimeAttributeInteractionInfo); + Map writeLevelControlDefaultMoveRateCommandParams = + new LinkedHashMap(); CommandParameterInfo levelControldefaultMoveRateCommandParameterInfo = - new CommandParameterInfo( - "value", - Integer.class, - Integer.class - ); + new CommandParameterInfo("value", Integer.class, Integer.class); writeLevelControlDefaultMoveRateCommandParams.put( - "value", - levelControldefaultMoveRateCommandParameterInfo - ); - InteractionInfo writeLevelControlDefaultMoveRateAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.LevelControlCluster) cluster).writeDefaultMoveRateAttribute( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeLevelControlDefaultMoveRateCommandParams - ); - writeLevelControlInteractionInfo.put("writeDefaultMoveRateAttribute", writeLevelControlDefaultMoveRateAttributeInteractionInfo); - Map writeLevelControlStartUpCurrentLevelCommandParams = new LinkedHashMap(); + "value", levelControldefaultMoveRateCommandParameterInfo); + InteractionInfo writeLevelControlDefaultMoveRateAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.LevelControlCluster) cluster) + .writeDefaultMoveRateAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeLevelControlDefaultMoveRateCommandParams); + writeLevelControlInteractionInfo.put( + "writeDefaultMoveRateAttribute", writeLevelControlDefaultMoveRateAttributeInteractionInfo); + Map writeLevelControlStartUpCurrentLevelCommandParams = + new LinkedHashMap(); CommandParameterInfo levelControlstartUpCurrentLevelCommandParameterInfo = - new CommandParameterInfo( - "value", - Integer.class, - Integer.class - ); + new CommandParameterInfo("value", Integer.class, Integer.class); writeLevelControlStartUpCurrentLevelCommandParams.put( - "value", - levelControlstartUpCurrentLevelCommandParameterInfo - ); - InteractionInfo writeLevelControlStartUpCurrentLevelAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.LevelControlCluster) cluster).writeStartUpCurrentLevelAttribute( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeLevelControlStartUpCurrentLevelCommandParams - ); - writeLevelControlInteractionInfo.put("writeStartUpCurrentLevelAttribute", writeLevelControlStartUpCurrentLevelAttributeInteractionInfo); + "value", levelControlstartUpCurrentLevelCommandParameterInfo); + InteractionInfo writeLevelControlStartUpCurrentLevelAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.LevelControlCluster) cluster) + .writeStartUpCurrentLevelAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeLevelControlStartUpCurrentLevelCommandParams); + writeLevelControlInteractionInfo.put( + "writeStartUpCurrentLevelAttribute", + writeLevelControlStartUpCurrentLevelAttributeInteractionInfo); writeAttributeMap.put("levelControl", writeLevelControlInteractionInfo); Map writeBinaryInputBasicInteractionInfo = new LinkedHashMap<>(); - Map writeBinaryInputBasicOutOfServiceCommandParams = new LinkedHashMap(); + Map writeBinaryInputBasicOutOfServiceCommandParams = + new LinkedHashMap(); CommandParameterInfo binaryInputBasicoutOfServiceCommandParameterInfo = - new CommandParameterInfo( - "value", - Boolean.class, - Boolean.class - ); + new CommandParameterInfo("value", Boolean.class, Boolean.class); writeBinaryInputBasicOutOfServiceCommandParams.put( - "value", - binaryInputBasicoutOfServiceCommandParameterInfo - ); - InteractionInfo writeBinaryInputBasicOutOfServiceAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BinaryInputBasicCluster) cluster).writeOutOfServiceAttribute( - (DefaultClusterCallback) callback, - (Boolean) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeBinaryInputBasicOutOfServiceCommandParams - ); - writeBinaryInputBasicInteractionInfo.put("writeOutOfServiceAttribute", writeBinaryInputBasicOutOfServiceAttributeInteractionInfo); - Map writeBinaryInputBasicPresentValueCommandParams = new LinkedHashMap(); + "value", binaryInputBasicoutOfServiceCommandParameterInfo); + InteractionInfo writeBinaryInputBasicOutOfServiceAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BinaryInputBasicCluster) cluster) + .writeOutOfServiceAttribute( + (DefaultClusterCallback) callback, (Boolean) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeBinaryInputBasicOutOfServiceCommandParams); + writeBinaryInputBasicInteractionInfo.put( + "writeOutOfServiceAttribute", writeBinaryInputBasicOutOfServiceAttributeInteractionInfo); + Map writeBinaryInputBasicPresentValueCommandParams = + new LinkedHashMap(); CommandParameterInfo binaryInputBasicpresentValueCommandParameterInfo = - new CommandParameterInfo( - "value", - Boolean.class, - Boolean.class - ); + new CommandParameterInfo("value", Boolean.class, Boolean.class); writeBinaryInputBasicPresentValueCommandParams.put( - "value", - binaryInputBasicpresentValueCommandParameterInfo - ); - InteractionInfo writeBinaryInputBasicPresentValueAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BinaryInputBasicCluster) cluster).writePresentValueAttribute( - (DefaultClusterCallback) callback, - (Boolean) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeBinaryInputBasicPresentValueCommandParams - ); - writeBinaryInputBasicInteractionInfo.put("writePresentValueAttribute", writeBinaryInputBasicPresentValueAttributeInteractionInfo); + "value", binaryInputBasicpresentValueCommandParameterInfo); + InteractionInfo writeBinaryInputBasicPresentValueAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BinaryInputBasicCluster) cluster) + .writePresentValueAttribute( + (DefaultClusterCallback) callback, (Boolean) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeBinaryInputBasicPresentValueCommandParams); + writeBinaryInputBasicInteractionInfo.put( + "writePresentValueAttribute", writeBinaryInputBasicPresentValueAttributeInteractionInfo); writeAttributeMap.put("binaryInputBasic", writeBinaryInputBasicInteractionInfo); Map writeDescriptorInteractionInfo = new LinkedHashMap<>(); writeAttributeMap.put("descriptor", writeDescriptorInteractionInfo); @@ -341,222 +270,189 @@ public Map> getWriteAttributeMap() { Map writeActionsInteractionInfo = new LinkedHashMap<>(); writeAttributeMap.put("actions", writeActionsInteractionInfo); Map writeBasicInformationInteractionInfo = new LinkedHashMap<>(); - Map writeBasicInformationNodeLabelCommandParams = new LinkedHashMap(); + Map writeBasicInformationNodeLabelCommandParams = + new LinkedHashMap(); CommandParameterInfo basicInformationnodeLabelCommandParameterInfo = - new CommandParameterInfo( - "value", - String.class, - String.class - ); + new CommandParameterInfo("value", String.class, String.class); writeBasicInformationNodeLabelCommandParams.put( - "value", - basicInformationnodeLabelCommandParameterInfo - ); - InteractionInfo writeBasicInformationNodeLabelAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BasicInformationCluster) cluster).writeNodeLabelAttribute( - (DefaultClusterCallback) callback, - (String) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeBasicInformationNodeLabelCommandParams - ); - writeBasicInformationInteractionInfo.put("writeNodeLabelAttribute", writeBasicInformationNodeLabelAttributeInteractionInfo); - Map writeBasicInformationLocationCommandParams = new LinkedHashMap(); + "value", basicInformationnodeLabelCommandParameterInfo); + InteractionInfo writeBasicInformationNodeLabelAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BasicInformationCluster) cluster) + .writeNodeLabelAttribute( + (DefaultClusterCallback) callback, (String) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeBasicInformationNodeLabelCommandParams); + writeBasicInformationInteractionInfo.put( + "writeNodeLabelAttribute", writeBasicInformationNodeLabelAttributeInteractionInfo); + Map writeBasicInformationLocationCommandParams = + new LinkedHashMap(); CommandParameterInfo basicInformationlocationCommandParameterInfo = - new CommandParameterInfo( - "value", - String.class, - String.class - ); + new CommandParameterInfo("value", String.class, String.class); writeBasicInformationLocationCommandParams.put( - "value", - basicInformationlocationCommandParameterInfo - ); - InteractionInfo writeBasicInformationLocationAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BasicInformationCluster) cluster).writeLocationAttribute( - (DefaultClusterCallback) callback, - (String) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeBasicInformationLocationCommandParams - ); - writeBasicInformationInteractionInfo.put("writeLocationAttribute", writeBasicInformationLocationAttributeInteractionInfo); - Map writeBasicInformationLocalConfigDisabledCommandParams = new LinkedHashMap(); + "value", basicInformationlocationCommandParameterInfo); + InteractionInfo writeBasicInformationLocationAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BasicInformationCluster) cluster) + .writeLocationAttribute( + (DefaultClusterCallback) callback, (String) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeBasicInformationLocationCommandParams); + writeBasicInformationInteractionInfo.put( + "writeLocationAttribute", writeBasicInformationLocationAttributeInteractionInfo); + Map writeBasicInformationLocalConfigDisabledCommandParams = + new LinkedHashMap(); CommandParameterInfo basicInformationlocalConfigDisabledCommandParameterInfo = - new CommandParameterInfo( - "value", - Boolean.class, - Boolean.class - ); + new CommandParameterInfo("value", Boolean.class, Boolean.class); writeBasicInformationLocalConfigDisabledCommandParams.put( - "value", - basicInformationlocalConfigDisabledCommandParameterInfo - ); - InteractionInfo writeBasicInformationLocalConfigDisabledAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BasicInformationCluster) cluster).writeLocalConfigDisabledAttribute( - (DefaultClusterCallback) callback, - (Boolean) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeBasicInformationLocalConfigDisabledCommandParams - ); - writeBasicInformationInteractionInfo.put("writeLocalConfigDisabledAttribute", writeBasicInformationLocalConfigDisabledAttributeInteractionInfo); + "value", basicInformationlocalConfigDisabledCommandParameterInfo); + InteractionInfo writeBasicInformationLocalConfigDisabledAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BasicInformationCluster) cluster) + .writeLocalConfigDisabledAttribute( + (DefaultClusterCallback) callback, (Boolean) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeBasicInformationLocalConfigDisabledCommandParams); + writeBasicInformationInteractionInfo.put( + "writeLocalConfigDisabledAttribute", + writeBasicInformationLocalConfigDisabledAttributeInteractionInfo); writeAttributeMap.put("basicInformation", writeBasicInformationInteractionInfo); - Map writeOtaSoftwareUpdateProviderInteractionInfo = new LinkedHashMap<>(); - writeAttributeMap.put("otaSoftwareUpdateProvider", writeOtaSoftwareUpdateProviderInteractionInfo); - Map writeOtaSoftwareUpdateRequestorInteractionInfo = new LinkedHashMap<>(); - writeAttributeMap.put("otaSoftwareUpdateRequestor", writeOtaSoftwareUpdateRequestorInteractionInfo); - Map writeLocalizationConfigurationInteractionInfo = new LinkedHashMap<>(); - Map writeLocalizationConfigurationActiveLocaleCommandParams = new LinkedHashMap(); + Map writeOtaSoftwareUpdateProviderInteractionInfo = + new LinkedHashMap<>(); + writeAttributeMap.put( + "otaSoftwareUpdateProvider", writeOtaSoftwareUpdateProviderInteractionInfo); + Map writeOtaSoftwareUpdateRequestorInteractionInfo = + new LinkedHashMap<>(); + writeAttributeMap.put( + "otaSoftwareUpdateRequestor", writeOtaSoftwareUpdateRequestorInteractionInfo); + Map writeLocalizationConfigurationInteractionInfo = + new LinkedHashMap<>(); + Map writeLocalizationConfigurationActiveLocaleCommandParams = + new LinkedHashMap(); CommandParameterInfo localizationConfigurationactiveLocaleCommandParameterInfo = - new CommandParameterInfo( - "value", - String.class, - String.class - ); + new CommandParameterInfo("value", String.class, String.class); writeLocalizationConfigurationActiveLocaleCommandParams.put( - "value", - localizationConfigurationactiveLocaleCommandParameterInfo - ); - InteractionInfo writeLocalizationConfigurationActiveLocaleAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.LocalizationConfigurationCluster) cluster).writeActiveLocaleAttribute( - (DefaultClusterCallback) callback, - (String) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeLocalizationConfigurationActiveLocaleCommandParams - ); - writeLocalizationConfigurationInteractionInfo.put("writeActiveLocaleAttribute", writeLocalizationConfigurationActiveLocaleAttributeInteractionInfo); - writeAttributeMap.put("localizationConfiguration", writeLocalizationConfigurationInteractionInfo); + "value", localizationConfigurationactiveLocaleCommandParameterInfo); + InteractionInfo writeLocalizationConfigurationActiveLocaleAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.LocalizationConfigurationCluster) cluster) + .writeActiveLocaleAttribute( + (DefaultClusterCallback) callback, (String) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeLocalizationConfigurationActiveLocaleCommandParams); + writeLocalizationConfigurationInteractionInfo.put( + "writeActiveLocaleAttribute", + writeLocalizationConfigurationActiveLocaleAttributeInteractionInfo); + writeAttributeMap.put( + "localizationConfiguration", writeLocalizationConfigurationInteractionInfo); Map writeTimeFormatLocalizationInteractionInfo = new LinkedHashMap<>(); - Map writeTimeFormatLocalizationHourFormatCommandParams = new LinkedHashMap(); + Map writeTimeFormatLocalizationHourFormatCommandParams = + new LinkedHashMap(); CommandParameterInfo timeFormatLocalizationhourFormatCommandParameterInfo = - new CommandParameterInfo( - "value", - Integer.class, - Integer.class - ); + new CommandParameterInfo("value", Integer.class, Integer.class); writeTimeFormatLocalizationHourFormatCommandParams.put( - "value", - timeFormatLocalizationhourFormatCommandParameterInfo - ); - InteractionInfo writeTimeFormatLocalizationHourFormatAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TimeFormatLocalizationCluster) cluster).writeHourFormatAttribute( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeTimeFormatLocalizationHourFormatCommandParams - ); - writeTimeFormatLocalizationInteractionInfo.put("writeHourFormatAttribute", writeTimeFormatLocalizationHourFormatAttributeInteractionInfo); - Map writeTimeFormatLocalizationActiveCalendarTypeCommandParams = new LinkedHashMap(); + "value", timeFormatLocalizationhourFormatCommandParameterInfo); + InteractionInfo writeTimeFormatLocalizationHourFormatAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TimeFormatLocalizationCluster) cluster) + .writeHourFormatAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeTimeFormatLocalizationHourFormatCommandParams); + writeTimeFormatLocalizationInteractionInfo.put( + "writeHourFormatAttribute", writeTimeFormatLocalizationHourFormatAttributeInteractionInfo); + Map writeTimeFormatLocalizationActiveCalendarTypeCommandParams = + new LinkedHashMap(); CommandParameterInfo timeFormatLocalizationactiveCalendarTypeCommandParameterInfo = - new CommandParameterInfo( - "value", - Integer.class, - Integer.class - ); + new CommandParameterInfo("value", Integer.class, Integer.class); writeTimeFormatLocalizationActiveCalendarTypeCommandParams.put( - "value", - timeFormatLocalizationactiveCalendarTypeCommandParameterInfo - ); - InteractionInfo writeTimeFormatLocalizationActiveCalendarTypeAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.TimeFormatLocalizationCluster) cluster).writeActiveCalendarTypeAttribute( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeTimeFormatLocalizationActiveCalendarTypeCommandParams - ); - writeTimeFormatLocalizationInteractionInfo.put("writeActiveCalendarTypeAttribute", writeTimeFormatLocalizationActiveCalendarTypeAttributeInteractionInfo); + "value", timeFormatLocalizationactiveCalendarTypeCommandParameterInfo); + InteractionInfo writeTimeFormatLocalizationActiveCalendarTypeAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.TimeFormatLocalizationCluster) cluster) + .writeActiveCalendarTypeAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeTimeFormatLocalizationActiveCalendarTypeCommandParams); + writeTimeFormatLocalizationInteractionInfo.put( + "writeActiveCalendarTypeAttribute", + writeTimeFormatLocalizationActiveCalendarTypeAttributeInteractionInfo); writeAttributeMap.put("timeFormatLocalization", writeTimeFormatLocalizationInteractionInfo); Map writeUnitLocalizationInteractionInfo = new LinkedHashMap<>(); - Map writeUnitLocalizationTemperatureUnitCommandParams = new LinkedHashMap(); + Map writeUnitLocalizationTemperatureUnitCommandParams = + new LinkedHashMap(); CommandParameterInfo unitLocalizationtemperatureUnitCommandParameterInfo = - new CommandParameterInfo( - "value", - Integer.class, - Integer.class - ); + new CommandParameterInfo("value", Integer.class, Integer.class); writeUnitLocalizationTemperatureUnitCommandParams.put( - "value", - unitLocalizationtemperatureUnitCommandParameterInfo - ); - InteractionInfo writeUnitLocalizationTemperatureUnitAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitLocalizationCluster) cluster).writeTemperatureUnitAttribute( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeUnitLocalizationTemperatureUnitCommandParams - ); - writeUnitLocalizationInteractionInfo.put("writeTemperatureUnitAttribute", writeUnitLocalizationTemperatureUnitAttributeInteractionInfo); + "value", unitLocalizationtemperatureUnitCommandParameterInfo); + InteractionInfo writeUnitLocalizationTemperatureUnitAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitLocalizationCluster) cluster) + .writeTemperatureUnitAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeUnitLocalizationTemperatureUnitCommandParams); + writeUnitLocalizationInteractionInfo.put( + "writeTemperatureUnitAttribute", + writeUnitLocalizationTemperatureUnitAttributeInteractionInfo); writeAttributeMap.put("unitLocalization", writeUnitLocalizationInteractionInfo); - Map writePowerSourceConfigurationInteractionInfo = new LinkedHashMap<>(); + Map writePowerSourceConfigurationInteractionInfo = + new LinkedHashMap<>(); writeAttributeMap.put("powerSourceConfiguration", writePowerSourceConfigurationInteractionInfo); Map writePowerSourceInteractionInfo = new LinkedHashMap<>(); writeAttributeMap.put("powerSource", writePowerSourceInteractionInfo); Map writeGeneralCommissioningInteractionInfo = new LinkedHashMap<>(); - Map writeGeneralCommissioningBreadcrumbCommandParams = new LinkedHashMap(); + Map writeGeneralCommissioningBreadcrumbCommandParams = + new LinkedHashMap(); CommandParameterInfo generalCommissioningbreadcrumbCommandParameterInfo = - new CommandParameterInfo( - "value", - Long.class, - Long.class - ); + new CommandParameterInfo("value", Long.class, Long.class); writeGeneralCommissioningBreadcrumbCommandParams.put( - "value", - generalCommissioningbreadcrumbCommandParameterInfo - ); - InteractionInfo writeGeneralCommissioningBreadcrumbAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.GeneralCommissioningCluster) cluster).writeBreadcrumbAttribute( - (DefaultClusterCallback) callback, - (Long) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeGeneralCommissioningBreadcrumbCommandParams - ); - writeGeneralCommissioningInteractionInfo.put("writeBreadcrumbAttribute", writeGeneralCommissioningBreadcrumbAttributeInteractionInfo); + "value", generalCommissioningbreadcrumbCommandParameterInfo); + InteractionInfo writeGeneralCommissioningBreadcrumbAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.GeneralCommissioningCluster) cluster) + .writeBreadcrumbAttribute( + (DefaultClusterCallback) callback, (Long) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeGeneralCommissioningBreadcrumbCommandParams); + writeGeneralCommissioningInteractionInfo.put( + "writeBreadcrumbAttribute", writeGeneralCommissioningBreadcrumbAttributeInteractionInfo); writeAttributeMap.put("generalCommissioning", writeGeneralCommissioningInteractionInfo); Map writeNetworkCommissioningInteractionInfo = new LinkedHashMap<>(); - Map writeNetworkCommissioningInterfaceEnabledCommandParams = new LinkedHashMap(); + Map writeNetworkCommissioningInterfaceEnabledCommandParams = + new LinkedHashMap(); CommandParameterInfo networkCommissioninginterfaceEnabledCommandParameterInfo = - new CommandParameterInfo( - "value", - Boolean.class, - Boolean.class - ); + new CommandParameterInfo("value", Boolean.class, Boolean.class); writeNetworkCommissioningInterfaceEnabledCommandParams.put( - "value", - networkCommissioninginterfaceEnabledCommandParameterInfo - ); - InteractionInfo writeNetworkCommissioningInterfaceEnabledAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.NetworkCommissioningCluster) cluster).writeInterfaceEnabledAttribute( - (DefaultClusterCallback) callback, - (Boolean) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeNetworkCommissioningInterfaceEnabledCommandParams - ); - writeNetworkCommissioningInteractionInfo.put("writeInterfaceEnabledAttribute", writeNetworkCommissioningInterfaceEnabledAttributeInteractionInfo); + "value", networkCommissioninginterfaceEnabledCommandParameterInfo); + InteractionInfo writeNetworkCommissioningInterfaceEnabledAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.NetworkCommissioningCluster) cluster) + .writeInterfaceEnabledAttribute( + (DefaultClusterCallback) callback, (Boolean) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeNetworkCommissioningInterfaceEnabledCommandParams); + writeNetworkCommissioningInteractionInfo.put( + "writeInterfaceEnabledAttribute", + writeNetworkCommissioningInterfaceEnabledAttributeInteractionInfo); writeAttributeMap.put("networkCommissioning", writeNetworkCommissioningInteractionInfo); Map writeDiagnosticLogsInteractionInfo = new LinkedHashMap<>(); writeAttributeMap.put("diagnosticLogs", writeDiagnosticLogsInteractionInfo); @@ -564,40 +460,43 @@ public Map> getWriteAttributeMap() { writeAttributeMap.put("generalDiagnostics", writeGeneralDiagnosticsInteractionInfo); Map writeSoftwareDiagnosticsInteractionInfo = new LinkedHashMap<>(); writeAttributeMap.put("softwareDiagnostics", writeSoftwareDiagnosticsInteractionInfo); - Map writeThreadNetworkDiagnosticsInteractionInfo = new LinkedHashMap<>(); + Map writeThreadNetworkDiagnosticsInteractionInfo = + new LinkedHashMap<>(); writeAttributeMap.put("threadNetworkDiagnostics", writeThreadNetworkDiagnosticsInteractionInfo); Map writeWiFiNetworkDiagnosticsInteractionInfo = new LinkedHashMap<>(); writeAttributeMap.put("wiFiNetworkDiagnostics", writeWiFiNetworkDiagnosticsInteractionInfo); - Map writeEthernetNetworkDiagnosticsInteractionInfo = new LinkedHashMap<>(); - writeAttributeMap.put("ethernetNetworkDiagnostics", writeEthernetNetworkDiagnosticsInteractionInfo); - Map writeBridgedDeviceBasicInformationInteractionInfo = new LinkedHashMap<>(); - Map writeBridgedDeviceBasicInformationNodeLabelCommandParams = new LinkedHashMap(); + Map writeEthernetNetworkDiagnosticsInteractionInfo = + new LinkedHashMap<>(); + writeAttributeMap.put( + "ethernetNetworkDiagnostics", writeEthernetNetworkDiagnosticsInteractionInfo); + Map writeBridgedDeviceBasicInformationInteractionInfo = + new LinkedHashMap<>(); + Map writeBridgedDeviceBasicInformationNodeLabelCommandParams = + new LinkedHashMap(); CommandParameterInfo bridgedDeviceBasicInformationnodeLabelCommandParameterInfo = - new CommandParameterInfo( - "value", - String.class, - String.class - ); + new CommandParameterInfo("value", String.class, String.class); writeBridgedDeviceBasicInformationNodeLabelCommandParams.put( - "value", - bridgedDeviceBasicInformationnodeLabelCommandParameterInfo - ); - InteractionInfo writeBridgedDeviceBasicInformationNodeLabelAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BridgedDeviceBasicInformationCluster) cluster).writeNodeLabelAttribute( - (DefaultClusterCallback) callback, - (String) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeBridgedDeviceBasicInformationNodeLabelCommandParams - ); - writeBridgedDeviceBasicInformationInteractionInfo.put("writeNodeLabelAttribute", writeBridgedDeviceBasicInformationNodeLabelAttributeInteractionInfo); - writeAttributeMap.put("bridgedDeviceBasicInformation", writeBridgedDeviceBasicInformationInteractionInfo); + "value", bridgedDeviceBasicInformationnodeLabelCommandParameterInfo); + InteractionInfo writeBridgedDeviceBasicInformationNodeLabelAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BridgedDeviceBasicInformationCluster) cluster) + .writeNodeLabelAttribute( + (DefaultClusterCallback) callback, (String) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeBridgedDeviceBasicInformationNodeLabelCommandParams); + writeBridgedDeviceBasicInformationInteractionInfo.put( + "writeNodeLabelAttribute", + writeBridgedDeviceBasicInformationNodeLabelAttributeInteractionInfo); + writeAttributeMap.put( + "bridgedDeviceBasicInformation", writeBridgedDeviceBasicInformationInteractionInfo); Map writeSwitchInteractionInfo = new LinkedHashMap<>(); writeAttributeMap.put("switch", writeSwitchInteractionInfo); - Map writeAdministratorCommissioningInteractionInfo = new LinkedHashMap<>(); - writeAttributeMap.put("administratorCommissioning", writeAdministratorCommissioningInteractionInfo); + Map writeAdministratorCommissioningInteractionInfo = + new LinkedHashMap<>(); + writeAttributeMap.put( + "administratorCommissioning", writeAdministratorCommissioningInteractionInfo); Map writeOperationalCredentialsInteractionInfo = new LinkedHashMap<>(); writeAttributeMap.put("operationalCredentials", writeOperationalCredentialsInteractionInfo); Map writeGroupKeyManagementInteractionInfo = new LinkedHashMap<>(); @@ -609,1674 +508,1345 @@ public Map> getWriteAttributeMap() { Map writeBooleanStateInteractionInfo = new LinkedHashMap<>(); writeAttributeMap.put("booleanState", writeBooleanStateInteractionInfo); Map writeModeSelectInteractionInfo = new LinkedHashMap<>(); - Map writeModeSelectStartUpModeCommandParams = new LinkedHashMap(); + Map writeModeSelectStartUpModeCommandParams = + new LinkedHashMap(); CommandParameterInfo modeSelectstartUpModeCommandParameterInfo = - new CommandParameterInfo( - "value", - Integer.class, - Integer.class - ); - writeModeSelectStartUpModeCommandParams.put( - "value", - modeSelectstartUpModeCommandParameterInfo - ); - InteractionInfo writeModeSelectStartUpModeAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ModeSelectCluster) cluster).writeStartUpModeAttribute( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeModeSelectStartUpModeCommandParams - ); - writeModeSelectInteractionInfo.put("writeStartUpModeAttribute", writeModeSelectStartUpModeAttributeInteractionInfo); - Map writeModeSelectOnModeCommandParams = new LinkedHashMap(); + new CommandParameterInfo("value", Integer.class, Integer.class); + writeModeSelectStartUpModeCommandParams.put("value", modeSelectstartUpModeCommandParameterInfo); + InteractionInfo writeModeSelectStartUpModeAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ModeSelectCluster) cluster) + .writeStartUpModeAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeModeSelectStartUpModeCommandParams); + writeModeSelectInteractionInfo.put( + "writeStartUpModeAttribute", writeModeSelectStartUpModeAttributeInteractionInfo); + Map writeModeSelectOnModeCommandParams = + new LinkedHashMap(); CommandParameterInfo modeSelectonModeCommandParameterInfo = - new CommandParameterInfo( - "value", - Integer.class, - Integer.class - ); - writeModeSelectOnModeCommandParams.put( - "value", - modeSelectonModeCommandParameterInfo - ); - InteractionInfo writeModeSelectOnModeAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ModeSelectCluster) cluster).writeOnModeAttribute( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeModeSelectOnModeCommandParams - ); - writeModeSelectInteractionInfo.put("writeOnModeAttribute", writeModeSelectOnModeAttributeInteractionInfo); + new CommandParameterInfo("value", Integer.class, Integer.class); + writeModeSelectOnModeCommandParams.put("value", modeSelectonModeCommandParameterInfo); + InteractionInfo writeModeSelectOnModeAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ModeSelectCluster) cluster) + .writeOnModeAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeModeSelectOnModeCommandParams); + writeModeSelectInteractionInfo.put( + "writeOnModeAttribute", writeModeSelectOnModeAttributeInteractionInfo); writeAttributeMap.put("modeSelect", writeModeSelectInteractionInfo); Map writeDoorLockInteractionInfo = new LinkedHashMap<>(); - Map writeDoorLockLanguageCommandParams = new LinkedHashMap(); + Map writeDoorLockLanguageCommandParams = + new LinkedHashMap(); CommandParameterInfo doorLocklanguageCommandParameterInfo = - new CommandParameterInfo( - "value", - String.class, - String.class - ); - writeDoorLockLanguageCommandParams.put( - "value", - doorLocklanguageCommandParameterInfo - ); - InteractionInfo writeDoorLockLanguageAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DoorLockCluster) cluster).writeLanguageAttribute( - (DefaultClusterCallback) callback, - (String) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeDoorLockLanguageCommandParams - ); - writeDoorLockInteractionInfo.put("writeLanguageAttribute", writeDoorLockLanguageAttributeInteractionInfo); - Map writeDoorLockAutoRelockTimeCommandParams = new LinkedHashMap(); + new CommandParameterInfo("value", String.class, String.class); + writeDoorLockLanguageCommandParams.put("value", doorLocklanguageCommandParameterInfo); + InteractionInfo writeDoorLockLanguageAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster) + .writeLanguageAttribute( + (DefaultClusterCallback) callback, (String) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeDoorLockLanguageCommandParams); + writeDoorLockInteractionInfo.put( + "writeLanguageAttribute", writeDoorLockLanguageAttributeInteractionInfo); + Map writeDoorLockAutoRelockTimeCommandParams = + new LinkedHashMap(); CommandParameterInfo doorLockautoRelockTimeCommandParameterInfo = - new CommandParameterInfo( - "value", - Long.class, - Long.class - ); + new CommandParameterInfo("value", Long.class, Long.class); writeDoorLockAutoRelockTimeCommandParams.put( - "value", - doorLockautoRelockTimeCommandParameterInfo - ); - InteractionInfo writeDoorLockAutoRelockTimeAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DoorLockCluster) cluster).writeAutoRelockTimeAttribute( - (DefaultClusterCallback) callback, - (Long) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeDoorLockAutoRelockTimeCommandParams - ); - writeDoorLockInteractionInfo.put("writeAutoRelockTimeAttribute", writeDoorLockAutoRelockTimeAttributeInteractionInfo); - Map writeDoorLockSoundVolumeCommandParams = new LinkedHashMap(); + "value", doorLockautoRelockTimeCommandParameterInfo); + InteractionInfo writeDoorLockAutoRelockTimeAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster) + .writeAutoRelockTimeAttribute( + (DefaultClusterCallback) callback, (Long) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeDoorLockAutoRelockTimeCommandParams); + writeDoorLockInteractionInfo.put( + "writeAutoRelockTimeAttribute", writeDoorLockAutoRelockTimeAttributeInteractionInfo); + Map writeDoorLockSoundVolumeCommandParams = + new LinkedHashMap(); CommandParameterInfo doorLocksoundVolumeCommandParameterInfo = - new CommandParameterInfo( - "value", - Integer.class, - Integer.class - ); - writeDoorLockSoundVolumeCommandParams.put( - "value", - doorLocksoundVolumeCommandParameterInfo - ); - InteractionInfo writeDoorLockSoundVolumeAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DoorLockCluster) cluster).writeSoundVolumeAttribute( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeDoorLockSoundVolumeCommandParams - ); - writeDoorLockInteractionInfo.put("writeSoundVolumeAttribute", writeDoorLockSoundVolumeAttributeInteractionInfo); - Map writeDoorLockOperatingModeCommandParams = new LinkedHashMap(); + new CommandParameterInfo("value", Integer.class, Integer.class); + writeDoorLockSoundVolumeCommandParams.put("value", doorLocksoundVolumeCommandParameterInfo); + InteractionInfo writeDoorLockSoundVolumeAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster) + .writeSoundVolumeAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeDoorLockSoundVolumeCommandParams); + writeDoorLockInteractionInfo.put( + "writeSoundVolumeAttribute", writeDoorLockSoundVolumeAttributeInteractionInfo); + Map writeDoorLockOperatingModeCommandParams = + new LinkedHashMap(); CommandParameterInfo doorLockoperatingModeCommandParameterInfo = - new CommandParameterInfo( - "value", - Integer.class, - Integer.class - ); - writeDoorLockOperatingModeCommandParams.put( - "value", - doorLockoperatingModeCommandParameterInfo - ); - InteractionInfo writeDoorLockOperatingModeAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DoorLockCluster) cluster).writeOperatingModeAttribute( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeDoorLockOperatingModeCommandParams - ); - writeDoorLockInteractionInfo.put("writeOperatingModeAttribute", writeDoorLockOperatingModeAttributeInteractionInfo); - Map writeDoorLockEnableOneTouchLockingCommandParams = new LinkedHashMap(); + new CommandParameterInfo("value", Integer.class, Integer.class); + writeDoorLockOperatingModeCommandParams.put("value", doorLockoperatingModeCommandParameterInfo); + InteractionInfo writeDoorLockOperatingModeAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster) + .writeOperatingModeAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeDoorLockOperatingModeCommandParams); + writeDoorLockInteractionInfo.put( + "writeOperatingModeAttribute", writeDoorLockOperatingModeAttributeInteractionInfo); + Map writeDoorLockEnableOneTouchLockingCommandParams = + new LinkedHashMap(); CommandParameterInfo doorLockenableOneTouchLockingCommandParameterInfo = - new CommandParameterInfo( - "value", - Boolean.class, - Boolean.class - ); + new CommandParameterInfo("value", Boolean.class, Boolean.class); writeDoorLockEnableOneTouchLockingCommandParams.put( - "value", - doorLockenableOneTouchLockingCommandParameterInfo - ); - InteractionInfo writeDoorLockEnableOneTouchLockingAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DoorLockCluster) cluster).writeEnableOneTouchLockingAttribute( - (DefaultClusterCallback) callback, - (Boolean) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeDoorLockEnableOneTouchLockingCommandParams - ); - writeDoorLockInteractionInfo.put("writeEnableOneTouchLockingAttribute", writeDoorLockEnableOneTouchLockingAttributeInteractionInfo); - Map writeDoorLockEnablePrivacyModeButtonCommandParams = new LinkedHashMap(); + "value", doorLockenableOneTouchLockingCommandParameterInfo); + InteractionInfo writeDoorLockEnableOneTouchLockingAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster) + .writeEnableOneTouchLockingAttribute( + (DefaultClusterCallback) callback, (Boolean) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeDoorLockEnableOneTouchLockingCommandParams); + writeDoorLockInteractionInfo.put( + "writeEnableOneTouchLockingAttribute", + writeDoorLockEnableOneTouchLockingAttributeInteractionInfo); + Map writeDoorLockEnablePrivacyModeButtonCommandParams = + new LinkedHashMap(); CommandParameterInfo doorLockenablePrivacyModeButtonCommandParameterInfo = - new CommandParameterInfo( - "value", - Boolean.class, - Boolean.class - ); + new CommandParameterInfo("value", Boolean.class, Boolean.class); writeDoorLockEnablePrivacyModeButtonCommandParams.put( - "value", - doorLockenablePrivacyModeButtonCommandParameterInfo - ); - InteractionInfo writeDoorLockEnablePrivacyModeButtonAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DoorLockCluster) cluster).writeEnablePrivacyModeButtonAttribute( - (DefaultClusterCallback) callback, - (Boolean) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeDoorLockEnablePrivacyModeButtonCommandParams - ); - writeDoorLockInteractionInfo.put("writeEnablePrivacyModeButtonAttribute", writeDoorLockEnablePrivacyModeButtonAttributeInteractionInfo); - Map writeDoorLockWrongCodeEntryLimitCommandParams = new LinkedHashMap(); + "value", doorLockenablePrivacyModeButtonCommandParameterInfo); + InteractionInfo writeDoorLockEnablePrivacyModeButtonAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster) + .writeEnablePrivacyModeButtonAttribute( + (DefaultClusterCallback) callback, (Boolean) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeDoorLockEnablePrivacyModeButtonCommandParams); + writeDoorLockInteractionInfo.put( + "writeEnablePrivacyModeButtonAttribute", + writeDoorLockEnablePrivacyModeButtonAttributeInteractionInfo); + Map writeDoorLockWrongCodeEntryLimitCommandParams = + new LinkedHashMap(); CommandParameterInfo doorLockwrongCodeEntryLimitCommandParameterInfo = - new CommandParameterInfo( - "value", - Integer.class, - Integer.class - ); + new CommandParameterInfo("value", Integer.class, Integer.class); writeDoorLockWrongCodeEntryLimitCommandParams.put( - "value", - doorLockwrongCodeEntryLimitCommandParameterInfo - ); - InteractionInfo writeDoorLockWrongCodeEntryLimitAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DoorLockCluster) cluster).writeWrongCodeEntryLimitAttribute( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeDoorLockWrongCodeEntryLimitCommandParams - ); - writeDoorLockInteractionInfo.put("writeWrongCodeEntryLimitAttribute", writeDoorLockWrongCodeEntryLimitAttributeInteractionInfo); - Map writeDoorLockUserCodeTemporaryDisableTimeCommandParams = new LinkedHashMap(); + "value", doorLockwrongCodeEntryLimitCommandParameterInfo); + InteractionInfo writeDoorLockWrongCodeEntryLimitAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster) + .writeWrongCodeEntryLimitAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeDoorLockWrongCodeEntryLimitCommandParams); + writeDoorLockInteractionInfo.put( + "writeWrongCodeEntryLimitAttribute", + writeDoorLockWrongCodeEntryLimitAttributeInteractionInfo); + Map writeDoorLockUserCodeTemporaryDisableTimeCommandParams = + new LinkedHashMap(); CommandParameterInfo doorLockuserCodeTemporaryDisableTimeCommandParameterInfo = - new CommandParameterInfo( - "value", - Integer.class, - Integer.class - ); + new CommandParameterInfo("value", Integer.class, Integer.class); writeDoorLockUserCodeTemporaryDisableTimeCommandParams.put( - "value", - doorLockuserCodeTemporaryDisableTimeCommandParameterInfo - ); - InteractionInfo writeDoorLockUserCodeTemporaryDisableTimeAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DoorLockCluster) cluster).writeUserCodeTemporaryDisableTimeAttribute( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeDoorLockUserCodeTemporaryDisableTimeCommandParams - ); - writeDoorLockInteractionInfo.put("writeUserCodeTemporaryDisableTimeAttribute", writeDoorLockUserCodeTemporaryDisableTimeAttributeInteractionInfo); - Map writeDoorLockRequirePINforRemoteOperationCommandParams = new LinkedHashMap(); + "value", doorLockuserCodeTemporaryDisableTimeCommandParameterInfo); + InteractionInfo writeDoorLockUserCodeTemporaryDisableTimeAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster) + .writeUserCodeTemporaryDisableTimeAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeDoorLockUserCodeTemporaryDisableTimeCommandParams); + writeDoorLockInteractionInfo.put( + "writeUserCodeTemporaryDisableTimeAttribute", + writeDoorLockUserCodeTemporaryDisableTimeAttributeInteractionInfo); + Map writeDoorLockRequirePINforRemoteOperationCommandParams = + new LinkedHashMap(); CommandParameterInfo doorLockrequirePINforRemoteOperationCommandParameterInfo = - new CommandParameterInfo( - "value", - Boolean.class, - Boolean.class - ); + new CommandParameterInfo("value", Boolean.class, Boolean.class); writeDoorLockRequirePINforRemoteOperationCommandParams.put( - "value", - doorLockrequirePINforRemoteOperationCommandParameterInfo - ); - InteractionInfo writeDoorLockRequirePINforRemoteOperationAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.DoorLockCluster) cluster).writeRequirePINforRemoteOperationAttribute( - (DefaultClusterCallback) callback, - (Boolean) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeDoorLockRequirePINforRemoteOperationCommandParams - ); - writeDoorLockInteractionInfo.put("writeRequirePINforRemoteOperationAttribute", writeDoorLockRequirePINforRemoteOperationAttributeInteractionInfo); + "value", doorLockrequirePINforRemoteOperationCommandParameterInfo); + InteractionInfo writeDoorLockRequirePINforRemoteOperationAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.DoorLockCluster) cluster) + .writeRequirePINforRemoteOperationAttribute( + (DefaultClusterCallback) callback, (Boolean) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeDoorLockRequirePINforRemoteOperationCommandParams); + writeDoorLockInteractionInfo.put( + "writeRequirePINforRemoteOperationAttribute", + writeDoorLockRequirePINforRemoteOperationAttributeInteractionInfo); writeAttributeMap.put("doorLock", writeDoorLockInteractionInfo); Map writeWindowCoveringInteractionInfo = new LinkedHashMap<>(); - Map writeWindowCoveringModeCommandParams = new LinkedHashMap(); + Map writeWindowCoveringModeCommandParams = + new LinkedHashMap(); CommandParameterInfo windowCoveringmodeCommandParameterInfo = - new CommandParameterInfo( - "value", - Integer.class, - Integer.class - ); - writeWindowCoveringModeCommandParams.put( - "value", - windowCoveringmodeCommandParameterInfo - ); - InteractionInfo writeWindowCoveringModeAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.WindowCoveringCluster) cluster).writeModeAttribute( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeWindowCoveringModeCommandParams - ); - writeWindowCoveringInteractionInfo.put("writeModeAttribute", writeWindowCoveringModeAttributeInteractionInfo); + new CommandParameterInfo("value", Integer.class, Integer.class); + writeWindowCoveringModeCommandParams.put("value", windowCoveringmodeCommandParameterInfo); + InteractionInfo writeWindowCoveringModeAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.WindowCoveringCluster) cluster) + .writeModeAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeWindowCoveringModeCommandParams); + writeWindowCoveringInteractionInfo.put( + "writeModeAttribute", writeWindowCoveringModeAttributeInteractionInfo); writeAttributeMap.put("windowCovering", writeWindowCoveringInteractionInfo); Map writeBarrierControlInteractionInfo = new LinkedHashMap<>(); writeAttributeMap.put("barrierControl", writeBarrierControlInteractionInfo); - Map writePumpConfigurationAndControlInteractionInfo = new LinkedHashMap<>(); - Map writePumpConfigurationAndControlLifetimeRunningHoursCommandParams = new LinkedHashMap(); + Map writePumpConfigurationAndControlInteractionInfo = + new LinkedHashMap<>(); + Map + writePumpConfigurationAndControlLifetimeRunningHoursCommandParams = + new LinkedHashMap(); CommandParameterInfo pumpConfigurationAndControllifetimeRunningHoursCommandParameterInfo = - new CommandParameterInfo( - "value", - Long.class, - Long.class - ); + new CommandParameterInfo("value", Long.class, Long.class); writePumpConfigurationAndControlLifetimeRunningHoursCommandParams.put( - "value", - pumpConfigurationAndControllifetimeRunningHoursCommandParameterInfo - ); - InteractionInfo writePumpConfigurationAndControlLifetimeRunningHoursAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PumpConfigurationAndControlCluster) cluster).writeLifetimeRunningHoursAttribute( - (DefaultClusterCallback) callback, - (Long) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writePumpConfigurationAndControlLifetimeRunningHoursCommandParams - ); - writePumpConfigurationAndControlInteractionInfo.put("writeLifetimeRunningHoursAttribute", writePumpConfigurationAndControlLifetimeRunningHoursAttributeInteractionInfo); - Map writePumpConfigurationAndControlLifetimeEnergyConsumedCommandParams = new LinkedHashMap(); + "value", pumpConfigurationAndControllifetimeRunningHoursCommandParameterInfo); + InteractionInfo writePumpConfigurationAndControlLifetimeRunningHoursAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PumpConfigurationAndControlCluster) cluster) + .writeLifetimeRunningHoursAttribute( + (DefaultClusterCallback) callback, (Long) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writePumpConfigurationAndControlLifetimeRunningHoursCommandParams); + writePumpConfigurationAndControlInteractionInfo.put( + "writeLifetimeRunningHoursAttribute", + writePumpConfigurationAndControlLifetimeRunningHoursAttributeInteractionInfo); + Map + writePumpConfigurationAndControlLifetimeEnergyConsumedCommandParams = + new LinkedHashMap(); CommandParameterInfo pumpConfigurationAndControllifetimeEnergyConsumedCommandParameterInfo = - new CommandParameterInfo( - "value", - Long.class, - Long.class - ); + new CommandParameterInfo("value", Long.class, Long.class); writePumpConfigurationAndControlLifetimeEnergyConsumedCommandParams.put( - "value", - pumpConfigurationAndControllifetimeEnergyConsumedCommandParameterInfo - ); - InteractionInfo writePumpConfigurationAndControlLifetimeEnergyConsumedAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PumpConfigurationAndControlCluster) cluster).writeLifetimeEnergyConsumedAttribute( - (DefaultClusterCallback) callback, - (Long) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writePumpConfigurationAndControlLifetimeEnergyConsumedCommandParams - ); - writePumpConfigurationAndControlInteractionInfo.put("writeLifetimeEnergyConsumedAttribute", writePumpConfigurationAndControlLifetimeEnergyConsumedAttributeInteractionInfo); - Map writePumpConfigurationAndControlOperationModeCommandParams = new LinkedHashMap(); + "value", pumpConfigurationAndControllifetimeEnergyConsumedCommandParameterInfo); + InteractionInfo writePumpConfigurationAndControlLifetimeEnergyConsumedAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PumpConfigurationAndControlCluster) cluster) + .writeLifetimeEnergyConsumedAttribute( + (DefaultClusterCallback) callback, (Long) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writePumpConfigurationAndControlLifetimeEnergyConsumedCommandParams); + writePumpConfigurationAndControlInteractionInfo.put( + "writeLifetimeEnergyConsumedAttribute", + writePumpConfigurationAndControlLifetimeEnergyConsumedAttributeInteractionInfo); + Map writePumpConfigurationAndControlOperationModeCommandParams = + new LinkedHashMap(); CommandParameterInfo pumpConfigurationAndControloperationModeCommandParameterInfo = - new CommandParameterInfo( - "value", - Integer.class, - Integer.class - ); + new CommandParameterInfo("value", Integer.class, Integer.class); writePumpConfigurationAndControlOperationModeCommandParams.put( - "value", - pumpConfigurationAndControloperationModeCommandParameterInfo - ); - InteractionInfo writePumpConfigurationAndControlOperationModeAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PumpConfigurationAndControlCluster) cluster).writeOperationModeAttribute( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writePumpConfigurationAndControlOperationModeCommandParams - ); - writePumpConfigurationAndControlInteractionInfo.put("writeOperationModeAttribute", writePumpConfigurationAndControlOperationModeAttributeInteractionInfo); - Map writePumpConfigurationAndControlControlModeCommandParams = new LinkedHashMap(); + "value", pumpConfigurationAndControloperationModeCommandParameterInfo); + InteractionInfo writePumpConfigurationAndControlOperationModeAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PumpConfigurationAndControlCluster) cluster) + .writeOperationModeAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writePumpConfigurationAndControlOperationModeCommandParams); + writePumpConfigurationAndControlInteractionInfo.put( + "writeOperationModeAttribute", + writePumpConfigurationAndControlOperationModeAttributeInteractionInfo); + Map writePumpConfigurationAndControlControlModeCommandParams = + new LinkedHashMap(); CommandParameterInfo pumpConfigurationAndControlcontrolModeCommandParameterInfo = - new CommandParameterInfo( - "value", - Integer.class, - Integer.class - ); + new CommandParameterInfo("value", Integer.class, Integer.class); writePumpConfigurationAndControlControlModeCommandParams.put( - "value", - pumpConfigurationAndControlcontrolModeCommandParameterInfo - ); - InteractionInfo writePumpConfigurationAndControlControlModeAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.PumpConfigurationAndControlCluster) cluster).writeControlModeAttribute( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writePumpConfigurationAndControlControlModeCommandParams - ); - writePumpConfigurationAndControlInteractionInfo.put("writeControlModeAttribute", writePumpConfigurationAndControlControlModeAttributeInteractionInfo); - writeAttributeMap.put("pumpConfigurationAndControl", writePumpConfigurationAndControlInteractionInfo); + "value", pumpConfigurationAndControlcontrolModeCommandParameterInfo); + InteractionInfo writePumpConfigurationAndControlControlModeAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.PumpConfigurationAndControlCluster) cluster) + .writeControlModeAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writePumpConfigurationAndControlControlModeCommandParams); + writePumpConfigurationAndControlInteractionInfo.put( + "writeControlModeAttribute", + writePumpConfigurationAndControlControlModeAttributeInteractionInfo); + writeAttributeMap.put( + "pumpConfigurationAndControl", writePumpConfigurationAndControlInteractionInfo); Map writeThermostatInteractionInfo = new LinkedHashMap<>(); - Map writeThermostatHVACSystemTypeConfigurationCommandParams = new LinkedHashMap(); + Map writeThermostatHVACSystemTypeConfigurationCommandParams = + new LinkedHashMap(); CommandParameterInfo thermostathVACSystemTypeConfigurationCommandParameterInfo = - new CommandParameterInfo( - "value", - Integer.class, - Integer.class - ); + new CommandParameterInfo("value", Integer.class, Integer.class); writeThermostatHVACSystemTypeConfigurationCommandParams.put( - "value", - thermostathVACSystemTypeConfigurationCommandParameterInfo - ); - InteractionInfo writeThermostatHVACSystemTypeConfigurationAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster).writeHVACSystemTypeConfigurationAttribute( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeThermostatHVACSystemTypeConfigurationCommandParams - ); - writeThermostatInteractionInfo.put("writeHVACSystemTypeConfigurationAttribute", writeThermostatHVACSystemTypeConfigurationAttributeInteractionInfo); - Map writeThermostatLocalTemperatureCalibrationCommandParams = new LinkedHashMap(); + "value", thermostathVACSystemTypeConfigurationCommandParameterInfo); + InteractionInfo writeThermostatHVACSystemTypeConfigurationAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster) + .writeHVACSystemTypeConfigurationAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeThermostatHVACSystemTypeConfigurationCommandParams); + writeThermostatInteractionInfo.put( + "writeHVACSystemTypeConfigurationAttribute", + writeThermostatHVACSystemTypeConfigurationAttributeInteractionInfo); + Map writeThermostatLocalTemperatureCalibrationCommandParams = + new LinkedHashMap(); CommandParameterInfo thermostatlocalTemperatureCalibrationCommandParameterInfo = - new CommandParameterInfo( - "value", - Integer.class, - Integer.class - ); + new CommandParameterInfo("value", Integer.class, Integer.class); writeThermostatLocalTemperatureCalibrationCommandParams.put( - "value", - thermostatlocalTemperatureCalibrationCommandParameterInfo - ); - InteractionInfo writeThermostatLocalTemperatureCalibrationAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster).writeLocalTemperatureCalibrationAttribute( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeThermostatLocalTemperatureCalibrationCommandParams - ); - writeThermostatInteractionInfo.put("writeLocalTemperatureCalibrationAttribute", writeThermostatLocalTemperatureCalibrationAttributeInteractionInfo); - Map writeThermostatOccupiedCoolingSetpointCommandParams = new LinkedHashMap(); + "value", thermostatlocalTemperatureCalibrationCommandParameterInfo); + InteractionInfo writeThermostatLocalTemperatureCalibrationAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster) + .writeLocalTemperatureCalibrationAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeThermostatLocalTemperatureCalibrationCommandParams); + writeThermostatInteractionInfo.put( + "writeLocalTemperatureCalibrationAttribute", + writeThermostatLocalTemperatureCalibrationAttributeInteractionInfo); + Map writeThermostatOccupiedCoolingSetpointCommandParams = + new LinkedHashMap(); CommandParameterInfo thermostatoccupiedCoolingSetpointCommandParameterInfo = - new CommandParameterInfo( - "value", - Integer.class, - Integer.class - ); + new CommandParameterInfo("value", Integer.class, Integer.class); writeThermostatOccupiedCoolingSetpointCommandParams.put( - "value", - thermostatoccupiedCoolingSetpointCommandParameterInfo - ); - InteractionInfo writeThermostatOccupiedCoolingSetpointAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster).writeOccupiedCoolingSetpointAttribute( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeThermostatOccupiedCoolingSetpointCommandParams - ); - writeThermostatInteractionInfo.put("writeOccupiedCoolingSetpointAttribute", writeThermostatOccupiedCoolingSetpointAttributeInteractionInfo); - Map writeThermostatOccupiedHeatingSetpointCommandParams = new LinkedHashMap(); + "value", thermostatoccupiedCoolingSetpointCommandParameterInfo); + InteractionInfo writeThermostatOccupiedCoolingSetpointAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster) + .writeOccupiedCoolingSetpointAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeThermostatOccupiedCoolingSetpointCommandParams); + writeThermostatInteractionInfo.put( + "writeOccupiedCoolingSetpointAttribute", + writeThermostatOccupiedCoolingSetpointAttributeInteractionInfo); + Map writeThermostatOccupiedHeatingSetpointCommandParams = + new LinkedHashMap(); CommandParameterInfo thermostatoccupiedHeatingSetpointCommandParameterInfo = - new CommandParameterInfo( - "value", - Integer.class, - Integer.class - ); + new CommandParameterInfo("value", Integer.class, Integer.class); writeThermostatOccupiedHeatingSetpointCommandParams.put( - "value", - thermostatoccupiedHeatingSetpointCommandParameterInfo - ); - InteractionInfo writeThermostatOccupiedHeatingSetpointAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster).writeOccupiedHeatingSetpointAttribute( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeThermostatOccupiedHeatingSetpointCommandParams - ); - writeThermostatInteractionInfo.put("writeOccupiedHeatingSetpointAttribute", writeThermostatOccupiedHeatingSetpointAttributeInteractionInfo); - Map writeThermostatUnoccupiedCoolingSetpointCommandParams = new LinkedHashMap(); + "value", thermostatoccupiedHeatingSetpointCommandParameterInfo); + InteractionInfo writeThermostatOccupiedHeatingSetpointAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster) + .writeOccupiedHeatingSetpointAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeThermostatOccupiedHeatingSetpointCommandParams); + writeThermostatInteractionInfo.put( + "writeOccupiedHeatingSetpointAttribute", + writeThermostatOccupiedHeatingSetpointAttributeInteractionInfo); + Map writeThermostatUnoccupiedCoolingSetpointCommandParams = + new LinkedHashMap(); CommandParameterInfo thermostatunoccupiedCoolingSetpointCommandParameterInfo = - new CommandParameterInfo( - "value", - Integer.class, - Integer.class - ); + new CommandParameterInfo("value", Integer.class, Integer.class); writeThermostatUnoccupiedCoolingSetpointCommandParams.put( - "value", - thermostatunoccupiedCoolingSetpointCommandParameterInfo - ); - InteractionInfo writeThermostatUnoccupiedCoolingSetpointAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster).writeUnoccupiedCoolingSetpointAttribute( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeThermostatUnoccupiedCoolingSetpointCommandParams - ); - writeThermostatInteractionInfo.put("writeUnoccupiedCoolingSetpointAttribute", writeThermostatUnoccupiedCoolingSetpointAttributeInteractionInfo); - Map writeThermostatUnoccupiedHeatingSetpointCommandParams = new LinkedHashMap(); + "value", thermostatunoccupiedCoolingSetpointCommandParameterInfo); + InteractionInfo writeThermostatUnoccupiedCoolingSetpointAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster) + .writeUnoccupiedCoolingSetpointAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeThermostatUnoccupiedCoolingSetpointCommandParams); + writeThermostatInteractionInfo.put( + "writeUnoccupiedCoolingSetpointAttribute", + writeThermostatUnoccupiedCoolingSetpointAttributeInteractionInfo); + Map writeThermostatUnoccupiedHeatingSetpointCommandParams = + new LinkedHashMap(); CommandParameterInfo thermostatunoccupiedHeatingSetpointCommandParameterInfo = - new CommandParameterInfo( - "value", - Integer.class, - Integer.class - ); + new CommandParameterInfo("value", Integer.class, Integer.class); writeThermostatUnoccupiedHeatingSetpointCommandParams.put( - "value", - thermostatunoccupiedHeatingSetpointCommandParameterInfo - ); - InteractionInfo writeThermostatUnoccupiedHeatingSetpointAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster).writeUnoccupiedHeatingSetpointAttribute( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeThermostatUnoccupiedHeatingSetpointCommandParams - ); - writeThermostatInteractionInfo.put("writeUnoccupiedHeatingSetpointAttribute", writeThermostatUnoccupiedHeatingSetpointAttributeInteractionInfo); - Map writeThermostatMinHeatSetpointLimitCommandParams = new LinkedHashMap(); + "value", thermostatunoccupiedHeatingSetpointCommandParameterInfo); + InteractionInfo writeThermostatUnoccupiedHeatingSetpointAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster) + .writeUnoccupiedHeatingSetpointAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeThermostatUnoccupiedHeatingSetpointCommandParams); + writeThermostatInteractionInfo.put( + "writeUnoccupiedHeatingSetpointAttribute", + writeThermostatUnoccupiedHeatingSetpointAttributeInteractionInfo); + Map writeThermostatMinHeatSetpointLimitCommandParams = + new LinkedHashMap(); CommandParameterInfo thermostatminHeatSetpointLimitCommandParameterInfo = - new CommandParameterInfo( - "value", - Integer.class, - Integer.class - ); + new CommandParameterInfo("value", Integer.class, Integer.class); writeThermostatMinHeatSetpointLimitCommandParams.put( - "value", - thermostatminHeatSetpointLimitCommandParameterInfo - ); - InteractionInfo writeThermostatMinHeatSetpointLimitAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster).writeMinHeatSetpointLimitAttribute( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeThermostatMinHeatSetpointLimitCommandParams - ); - writeThermostatInteractionInfo.put("writeMinHeatSetpointLimitAttribute", writeThermostatMinHeatSetpointLimitAttributeInteractionInfo); - Map writeThermostatMaxHeatSetpointLimitCommandParams = new LinkedHashMap(); + "value", thermostatminHeatSetpointLimitCommandParameterInfo); + InteractionInfo writeThermostatMinHeatSetpointLimitAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster) + .writeMinHeatSetpointLimitAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeThermostatMinHeatSetpointLimitCommandParams); + writeThermostatInteractionInfo.put( + "writeMinHeatSetpointLimitAttribute", + writeThermostatMinHeatSetpointLimitAttributeInteractionInfo); + Map writeThermostatMaxHeatSetpointLimitCommandParams = + new LinkedHashMap(); CommandParameterInfo thermostatmaxHeatSetpointLimitCommandParameterInfo = - new CommandParameterInfo( - "value", - Integer.class, - Integer.class - ); + new CommandParameterInfo("value", Integer.class, Integer.class); writeThermostatMaxHeatSetpointLimitCommandParams.put( - "value", - thermostatmaxHeatSetpointLimitCommandParameterInfo - ); - InteractionInfo writeThermostatMaxHeatSetpointLimitAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster).writeMaxHeatSetpointLimitAttribute( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeThermostatMaxHeatSetpointLimitCommandParams - ); - writeThermostatInteractionInfo.put("writeMaxHeatSetpointLimitAttribute", writeThermostatMaxHeatSetpointLimitAttributeInteractionInfo); - Map writeThermostatMinCoolSetpointLimitCommandParams = new LinkedHashMap(); + "value", thermostatmaxHeatSetpointLimitCommandParameterInfo); + InteractionInfo writeThermostatMaxHeatSetpointLimitAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster) + .writeMaxHeatSetpointLimitAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeThermostatMaxHeatSetpointLimitCommandParams); + writeThermostatInteractionInfo.put( + "writeMaxHeatSetpointLimitAttribute", + writeThermostatMaxHeatSetpointLimitAttributeInteractionInfo); + Map writeThermostatMinCoolSetpointLimitCommandParams = + new LinkedHashMap(); CommandParameterInfo thermostatminCoolSetpointLimitCommandParameterInfo = - new CommandParameterInfo( - "value", - Integer.class, - Integer.class - ); + new CommandParameterInfo("value", Integer.class, Integer.class); writeThermostatMinCoolSetpointLimitCommandParams.put( - "value", - thermostatminCoolSetpointLimitCommandParameterInfo - ); - InteractionInfo writeThermostatMinCoolSetpointLimitAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster).writeMinCoolSetpointLimitAttribute( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeThermostatMinCoolSetpointLimitCommandParams - ); - writeThermostatInteractionInfo.put("writeMinCoolSetpointLimitAttribute", writeThermostatMinCoolSetpointLimitAttributeInteractionInfo); - Map writeThermostatMaxCoolSetpointLimitCommandParams = new LinkedHashMap(); + "value", thermostatminCoolSetpointLimitCommandParameterInfo); + InteractionInfo writeThermostatMinCoolSetpointLimitAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster) + .writeMinCoolSetpointLimitAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeThermostatMinCoolSetpointLimitCommandParams); + writeThermostatInteractionInfo.put( + "writeMinCoolSetpointLimitAttribute", + writeThermostatMinCoolSetpointLimitAttributeInteractionInfo); + Map writeThermostatMaxCoolSetpointLimitCommandParams = + new LinkedHashMap(); CommandParameterInfo thermostatmaxCoolSetpointLimitCommandParameterInfo = - new CommandParameterInfo( - "value", - Integer.class, - Integer.class - ); + new CommandParameterInfo("value", Integer.class, Integer.class); writeThermostatMaxCoolSetpointLimitCommandParams.put( - "value", - thermostatmaxCoolSetpointLimitCommandParameterInfo - ); - InteractionInfo writeThermostatMaxCoolSetpointLimitAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster).writeMaxCoolSetpointLimitAttribute( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeThermostatMaxCoolSetpointLimitCommandParams - ); - writeThermostatInteractionInfo.put("writeMaxCoolSetpointLimitAttribute", writeThermostatMaxCoolSetpointLimitAttributeInteractionInfo); - Map writeThermostatMinSetpointDeadBandCommandParams = new LinkedHashMap(); + "value", thermostatmaxCoolSetpointLimitCommandParameterInfo); + InteractionInfo writeThermostatMaxCoolSetpointLimitAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster) + .writeMaxCoolSetpointLimitAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeThermostatMaxCoolSetpointLimitCommandParams); + writeThermostatInteractionInfo.put( + "writeMaxCoolSetpointLimitAttribute", + writeThermostatMaxCoolSetpointLimitAttributeInteractionInfo); + Map writeThermostatMinSetpointDeadBandCommandParams = + new LinkedHashMap(); CommandParameterInfo thermostatminSetpointDeadBandCommandParameterInfo = - new CommandParameterInfo( - "value", - Integer.class, - Integer.class - ); + new CommandParameterInfo("value", Integer.class, Integer.class); writeThermostatMinSetpointDeadBandCommandParams.put( - "value", - thermostatminSetpointDeadBandCommandParameterInfo - ); - InteractionInfo writeThermostatMinSetpointDeadBandAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster).writeMinSetpointDeadBandAttribute( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeThermostatMinSetpointDeadBandCommandParams - ); - writeThermostatInteractionInfo.put("writeMinSetpointDeadBandAttribute", writeThermostatMinSetpointDeadBandAttributeInteractionInfo); - Map writeThermostatRemoteSensingCommandParams = new LinkedHashMap(); + "value", thermostatminSetpointDeadBandCommandParameterInfo); + InteractionInfo writeThermostatMinSetpointDeadBandAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster) + .writeMinSetpointDeadBandAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeThermostatMinSetpointDeadBandCommandParams); + writeThermostatInteractionInfo.put( + "writeMinSetpointDeadBandAttribute", + writeThermostatMinSetpointDeadBandAttributeInteractionInfo); + Map writeThermostatRemoteSensingCommandParams = + new LinkedHashMap(); CommandParameterInfo thermostatremoteSensingCommandParameterInfo = - new CommandParameterInfo( - "value", - Integer.class, - Integer.class - ); + new CommandParameterInfo("value", Integer.class, Integer.class); writeThermostatRemoteSensingCommandParams.put( - "value", - thermostatremoteSensingCommandParameterInfo - ); - InteractionInfo writeThermostatRemoteSensingAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster).writeRemoteSensingAttribute( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeThermostatRemoteSensingCommandParams - ); - writeThermostatInteractionInfo.put("writeRemoteSensingAttribute", writeThermostatRemoteSensingAttributeInteractionInfo); - Map writeThermostatControlSequenceOfOperationCommandParams = new LinkedHashMap(); + "value", thermostatremoteSensingCommandParameterInfo); + InteractionInfo writeThermostatRemoteSensingAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster) + .writeRemoteSensingAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeThermostatRemoteSensingCommandParams); + writeThermostatInteractionInfo.put( + "writeRemoteSensingAttribute", writeThermostatRemoteSensingAttributeInteractionInfo); + Map writeThermostatControlSequenceOfOperationCommandParams = + new LinkedHashMap(); CommandParameterInfo thermostatcontrolSequenceOfOperationCommandParameterInfo = - new CommandParameterInfo( - "value", - Integer.class, - Integer.class - ); + new CommandParameterInfo("value", Integer.class, Integer.class); writeThermostatControlSequenceOfOperationCommandParams.put( - "value", - thermostatcontrolSequenceOfOperationCommandParameterInfo - ); - InteractionInfo writeThermostatControlSequenceOfOperationAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster).writeControlSequenceOfOperationAttribute( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeThermostatControlSequenceOfOperationCommandParams - ); - writeThermostatInteractionInfo.put("writeControlSequenceOfOperationAttribute", writeThermostatControlSequenceOfOperationAttributeInteractionInfo); - Map writeThermostatSystemModeCommandParams = new LinkedHashMap(); + "value", thermostatcontrolSequenceOfOperationCommandParameterInfo); + InteractionInfo writeThermostatControlSequenceOfOperationAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster) + .writeControlSequenceOfOperationAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeThermostatControlSequenceOfOperationCommandParams); + writeThermostatInteractionInfo.put( + "writeControlSequenceOfOperationAttribute", + writeThermostatControlSequenceOfOperationAttributeInteractionInfo); + Map writeThermostatSystemModeCommandParams = + new LinkedHashMap(); CommandParameterInfo thermostatsystemModeCommandParameterInfo = - new CommandParameterInfo( - "value", - Integer.class, - Integer.class - ); - writeThermostatSystemModeCommandParams.put( - "value", - thermostatsystemModeCommandParameterInfo - ); - InteractionInfo writeThermostatSystemModeAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster).writeSystemModeAttribute( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeThermostatSystemModeCommandParams - ); - writeThermostatInteractionInfo.put("writeSystemModeAttribute", writeThermostatSystemModeAttributeInteractionInfo); - Map writeThermostatTemperatureSetpointHoldCommandParams = new LinkedHashMap(); + new CommandParameterInfo("value", Integer.class, Integer.class); + writeThermostatSystemModeCommandParams.put("value", thermostatsystemModeCommandParameterInfo); + InteractionInfo writeThermostatSystemModeAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster) + .writeSystemModeAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeThermostatSystemModeCommandParams); + writeThermostatInteractionInfo.put( + "writeSystemModeAttribute", writeThermostatSystemModeAttributeInteractionInfo); + Map writeThermostatTemperatureSetpointHoldCommandParams = + new LinkedHashMap(); CommandParameterInfo thermostattemperatureSetpointHoldCommandParameterInfo = - new CommandParameterInfo( - "value", - Integer.class, - Integer.class - ); + new CommandParameterInfo("value", Integer.class, Integer.class); writeThermostatTemperatureSetpointHoldCommandParams.put( - "value", - thermostattemperatureSetpointHoldCommandParameterInfo - ); - InteractionInfo writeThermostatTemperatureSetpointHoldAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster).writeTemperatureSetpointHoldAttribute( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeThermostatTemperatureSetpointHoldCommandParams - ); - writeThermostatInteractionInfo.put("writeTemperatureSetpointHoldAttribute", writeThermostatTemperatureSetpointHoldAttributeInteractionInfo); - Map writeThermostatTemperatureSetpointHoldDurationCommandParams = new LinkedHashMap(); + "value", thermostattemperatureSetpointHoldCommandParameterInfo); + InteractionInfo writeThermostatTemperatureSetpointHoldAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster) + .writeTemperatureSetpointHoldAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeThermostatTemperatureSetpointHoldCommandParams); + writeThermostatInteractionInfo.put( + "writeTemperatureSetpointHoldAttribute", + writeThermostatTemperatureSetpointHoldAttributeInteractionInfo); + Map writeThermostatTemperatureSetpointHoldDurationCommandParams = + new LinkedHashMap(); CommandParameterInfo thermostattemperatureSetpointHoldDurationCommandParameterInfo = - new CommandParameterInfo( - "value", - Integer.class, - Integer.class - ); + new CommandParameterInfo("value", Integer.class, Integer.class); writeThermostatTemperatureSetpointHoldDurationCommandParams.put( - "value", - thermostattemperatureSetpointHoldDurationCommandParameterInfo - ); - InteractionInfo writeThermostatTemperatureSetpointHoldDurationAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster).writeTemperatureSetpointHoldDurationAttribute( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeThermostatTemperatureSetpointHoldDurationCommandParams - ); - writeThermostatInteractionInfo.put("writeTemperatureSetpointHoldDurationAttribute", writeThermostatTemperatureSetpointHoldDurationAttributeInteractionInfo); - Map writeThermostatThermostatProgrammingOperationModeCommandParams = new LinkedHashMap(); + "value", thermostattemperatureSetpointHoldDurationCommandParameterInfo); + InteractionInfo writeThermostatTemperatureSetpointHoldDurationAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster) + .writeTemperatureSetpointHoldDurationAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeThermostatTemperatureSetpointHoldDurationCommandParams); + writeThermostatInteractionInfo.put( + "writeTemperatureSetpointHoldDurationAttribute", + writeThermostatTemperatureSetpointHoldDurationAttributeInteractionInfo); + Map + writeThermostatThermostatProgrammingOperationModeCommandParams = + new LinkedHashMap(); CommandParameterInfo thermostatthermostatProgrammingOperationModeCommandParameterInfo = - new CommandParameterInfo( - "value", - Integer.class, - Integer.class - ); + new CommandParameterInfo("value", Integer.class, Integer.class); writeThermostatThermostatProgrammingOperationModeCommandParams.put( - "value", - thermostatthermostatProgrammingOperationModeCommandParameterInfo - ); - InteractionInfo writeThermostatThermostatProgrammingOperationModeAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster).writeThermostatProgrammingOperationModeAttribute( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeThermostatThermostatProgrammingOperationModeCommandParams - ); - writeThermostatInteractionInfo.put("writeThermostatProgrammingOperationModeAttribute", writeThermostatThermostatProgrammingOperationModeAttributeInteractionInfo); - Map writeThermostatOccupiedSetbackCommandParams = new LinkedHashMap(); + "value", thermostatthermostatProgrammingOperationModeCommandParameterInfo); + InteractionInfo writeThermostatThermostatProgrammingOperationModeAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster) + .writeThermostatProgrammingOperationModeAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeThermostatThermostatProgrammingOperationModeCommandParams); + writeThermostatInteractionInfo.put( + "writeThermostatProgrammingOperationModeAttribute", + writeThermostatThermostatProgrammingOperationModeAttributeInteractionInfo); + Map writeThermostatOccupiedSetbackCommandParams = + new LinkedHashMap(); CommandParameterInfo thermostatoccupiedSetbackCommandParameterInfo = - new CommandParameterInfo( - "value", - Integer.class, - Integer.class - ); + new CommandParameterInfo("value", Integer.class, Integer.class); writeThermostatOccupiedSetbackCommandParams.put( - "value", - thermostatoccupiedSetbackCommandParameterInfo - ); - InteractionInfo writeThermostatOccupiedSetbackAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster).writeOccupiedSetbackAttribute( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeThermostatOccupiedSetbackCommandParams - ); - writeThermostatInteractionInfo.put("writeOccupiedSetbackAttribute", writeThermostatOccupiedSetbackAttributeInteractionInfo); - Map writeThermostatUnoccupiedSetbackCommandParams = new LinkedHashMap(); + "value", thermostatoccupiedSetbackCommandParameterInfo); + InteractionInfo writeThermostatOccupiedSetbackAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster) + .writeOccupiedSetbackAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeThermostatOccupiedSetbackCommandParams); + writeThermostatInteractionInfo.put( + "writeOccupiedSetbackAttribute", writeThermostatOccupiedSetbackAttributeInteractionInfo); + Map writeThermostatUnoccupiedSetbackCommandParams = + new LinkedHashMap(); CommandParameterInfo thermostatunoccupiedSetbackCommandParameterInfo = - new CommandParameterInfo( - "value", - Integer.class, - Integer.class - ); + new CommandParameterInfo("value", Integer.class, Integer.class); writeThermostatUnoccupiedSetbackCommandParams.put( - "value", - thermostatunoccupiedSetbackCommandParameterInfo - ); - InteractionInfo writeThermostatUnoccupiedSetbackAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster).writeUnoccupiedSetbackAttribute( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeThermostatUnoccupiedSetbackCommandParams - ); - writeThermostatInteractionInfo.put("writeUnoccupiedSetbackAttribute", writeThermostatUnoccupiedSetbackAttributeInteractionInfo); - Map writeThermostatEmergencyHeatDeltaCommandParams = new LinkedHashMap(); + "value", thermostatunoccupiedSetbackCommandParameterInfo); + InteractionInfo writeThermostatUnoccupiedSetbackAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster) + .writeUnoccupiedSetbackAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeThermostatUnoccupiedSetbackCommandParams); + writeThermostatInteractionInfo.put( + "writeUnoccupiedSetbackAttribute", + writeThermostatUnoccupiedSetbackAttributeInteractionInfo); + Map writeThermostatEmergencyHeatDeltaCommandParams = + new LinkedHashMap(); CommandParameterInfo thermostatemergencyHeatDeltaCommandParameterInfo = - new CommandParameterInfo( - "value", - Integer.class, - Integer.class - ); + new CommandParameterInfo("value", Integer.class, Integer.class); writeThermostatEmergencyHeatDeltaCommandParams.put( - "value", - thermostatemergencyHeatDeltaCommandParameterInfo - ); - InteractionInfo writeThermostatEmergencyHeatDeltaAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster).writeEmergencyHeatDeltaAttribute( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeThermostatEmergencyHeatDeltaCommandParams - ); - writeThermostatInteractionInfo.put("writeEmergencyHeatDeltaAttribute", writeThermostatEmergencyHeatDeltaAttributeInteractionInfo); - Map writeThermostatACTypeCommandParams = new LinkedHashMap(); + "value", thermostatemergencyHeatDeltaCommandParameterInfo); + InteractionInfo writeThermostatEmergencyHeatDeltaAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster) + .writeEmergencyHeatDeltaAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeThermostatEmergencyHeatDeltaCommandParams); + writeThermostatInteractionInfo.put( + "writeEmergencyHeatDeltaAttribute", + writeThermostatEmergencyHeatDeltaAttributeInteractionInfo); + Map writeThermostatACTypeCommandParams = + new LinkedHashMap(); CommandParameterInfo thermostataCTypeCommandParameterInfo = - new CommandParameterInfo( - "value", - Integer.class, - Integer.class - ); - writeThermostatACTypeCommandParams.put( - "value", - thermostataCTypeCommandParameterInfo - ); - InteractionInfo writeThermostatACTypeAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster).writeACTypeAttribute( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeThermostatACTypeCommandParams - ); - writeThermostatInteractionInfo.put("writeACTypeAttribute", writeThermostatACTypeAttributeInteractionInfo); - Map writeThermostatACCapacityCommandParams = new LinkedHashMap(); + new CommandParameterInfo("value", Integer.class, Integer.class); + writeThermostatACTypeCommandParams.put("value", thermostataCTypeCommandParameterInfo); + InteractionInfo writeThermostatACTypeAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster) + .writeACTypeAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeThermostatACTypeCommandParams); + writeThermostatInteractionInfo.put( + "writeACTypeAttribute", writeThermostatACTypeAttributeInteractionInfo); + Map writeThermostatACCapacityCommandParams = + new LinkedHashMap(); CommandParameterInfo thermostataCCapacityCommandParameterInfo = - new CommandParameterInfo( - "value", - Integer.class, - Integer.class - ); - writeThermostatACCapacityCommandParams.put( - "value", - thermostataCCapacityCommandParameterInfo - ); - InteractionInfo writeThermostatACCapacityAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster).writeACCapacityAttribute( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeThermostatACCapacityCommandParams - ); - writeThermostatInteractionInfo.put("writeACCapacityAttribute", writeThermostatACCapacityAttributeInteractionInfo); - Map writeThermostatACRefrigerantTypeCommandParams = new LinkedHashMap(); + new CommandParameterInfo("value", Integer.class, Integer.class); + writeThermostatACCapacityCommandParams.put("value", thermostataCCapacityCommandParameterInfo); + InteractionInfo writeThermostatACCapacityAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster) + .writeACCapacityAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeThermostatACCapacityCommandParams); + writeThermostatInteractionInfo.put( + "writeACCapacityAttribute", writeThermostatACCapacityAttributeInteractionInfo); + Map writeThermostatACRefrigerantTypeCommandParams = + new LinkedHashMap(); CommandParameterInfo thermostataCRefrigerantTypeCommandParameterInfo = - new CommandParameterInfo( - "value", - Integer.class, - Integer.class - ); + new CommandParameterInfo("value", Integer.class, Integer.class); writeThermostatACRefrigerantTypeCommandParams.put( - "value", - thermostataCRefrigerantTypeCommandParameterInfo - ); - InteractionInfo writeThermostatACRefrigerantTypeAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster).writeACRefrigerantTypeAttribute( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeThermostatACRefrigerantTypeCommandParams - ); - writeThermostatInteractionInfo.put("writeACRefrigerantTypeAttribute", writeThermostatACRefrigerantTypeAttributeInteractionInfo); - Map writeThermostatACCompressorTypeCommandParams = new LinkedHashMap(); + "value", thermostataCRefrigerantTypeCommandParameterInfo); + InteractionInfo writeThermostatACRefrigerantTypeAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster) + .writeACRefrigerantTypeAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeThermostatACRefrigerantTypeCommandParams); + writeThermostatInteractionInfo.put( + "writeACRefrigerantTypeAttribute", + writeThermostatACRefrigerantTypeAttributeInteractionInfo); + Map writeThermostatACCompressorTypeCommandParams = + new LinkedHashMap(); CommandParameterInfo thermostataCCompressorTypeCommandParameterInfo = - new CommandParameterInfo( - "value", - Integer.class, - Integer.class - ); + new CommandParameterInfo("value", Integer.class, Integer.class); writeThermostatACCompressorTypeCommandParams.put( - "value", - thermostataCCompressorTypeCommandParameterInfo - ); - InteractionInfo writeThermostatACCompressorTypeAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster).writeACCompressorTypeAttribute( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeThermostatACCompressorTypeCommandParams - ); - writeThermostatInteractionInfo.put("writeACCompressorTypeAttribute", writeThermostatACCompressorTypeAttributeInteractionInfo); - Map writeThermostatACErrorCodeCommandParams = new LinkedHashMap(); + "value", thermostataCCompressorTypeCommandParameterInfo); + InteractionInfo writeThermostatACCompressorTypeAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster) + .writeACCompressorTypeAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeThermostatACCompressorTypeCommandParams); + writeThermostatInteractionInfo.put( + "writeACCompressorTypeAttribute", writeThermostatACCompressorTypeAttributeInteractionInfo); + Map writeThermostatACErrorCodeCommandParams = + new LinkedHashMap(); CommandParameterInfo thermostataCErrorCodeCommandParameterInfo = - new CommandParameterInfo( - "value", - Long.class, - Long.class - ); - writeThermostatACErrorCodeCommandParams.put( - "value", - thermostataCErrorCodeCommandParameterInfo - ); - InteractionInfo writeThermostatACErrorCodeAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster).writeACErrorCodeAttribute( - (DefaultClusterCallback) callback, - (Long) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeThermostatACErrorCodeCommandParams - ); - writeThermostatInteractionInfo.put("writeACErrorCodeAttribute", writeThermostatACErrorCodeAttributeInteractionInfo); - Map writeThermostatACLouverPositionCommandParams = new LinkedHashMap(); + new CommandParameterInfo("value", Long.class, Long.class); + writeThermostatACErrorCodeCommandParams.put("value", thermostataCErrorCodeCommandParameterInfo); + InteractionInfo writeThermostatACErrorCodeAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster) + .writeACErrorCodeAttribute( + (DefaultClusterCallback) callback, (Long) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeThermostatACErrorCodeCommandParams); + writeThermostatInteractionInfo.put( + "writeACErrorCodeAttribute", writeThermostatACErrorCodeAttributeInteractionInfo); + Map writeThermostatACLouverPositionCommandParams = + new LinkedHashMap(); CommandParameterInfo thermostataCLouverPositionCommandParameterInfo = - new CommandParameterInfo( - "value", - Integer.class, - Integer.class - ); + new CommandParameterInfo("value", Integer.class, Integer.class); writeThermostatACLouverPositionCommandParams.put( - "value", - thermostataCLouverPositionCommandParameterInfo - ); - InteractionInfo writeThermostatACLouverPositionAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster).writeACLouverPositionAttribute( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeThermostatACLouverPositionCommandParams - ); - writeThermostatInteractionInfo.put("writeACLouverPositionAttribute", writeThermostatACLouverPositionAttributeInteractionInfo); - Map writeThermostatACCapacityformatCommandParams = new LinkedHashMap(); + "value", thermostataCLouverPositionCommandParameterInfo); + InteractionInfo writeThermostatACLouverPositionAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster) + .writeACLouverPositionAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeThermostatACLouverPositionCommandParams); + writeThermostatInteractionInfo.put( + "writeACLouverPositionAttribute", writeThermostatACLouverPositionAttributeInteractionInfo); + Map writeThermostatACCapacityformatCommandParams = + new LinkedHashMap(); CommandParameterInfo thermostataCCapacityformatCommandParameterInfo = - new CommandParameterInfo( - "value", - Integer.class, - Integer.class - ); + new CommandParameterInfo("value", Integer.class, Integer.class); writeThermostatACCapacityformatCommandParams.put( - "value", - thermostataCCapacityformatCommandParameterInfo - ); - InteractionInfo writeThermostatACCapacityformatAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatCluster) cluster).writeACCapacityformatAttribute( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeThermostatACCapacityformatCommandParams - ); - writeThermostatInteractionInfo.put("writeACCapacityformatAttribute", writeThermostatACCapacityformatAttributeInteractionInfo); + "value", thermostataCCapacityformatCommandParameterInfo); + InteractionInfo writeThermostatACCapacityformatAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatCluster) cluster) + .writeACCapacityformatAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeThermostatACCapacityformatCommandParams); + writeThermostatInteractionInfo.put( + "writeACCapacityformatAttribute", writeThermostatACCapacityformatAttributeInteractionInfo); writeAttributeMap.put("thermostat", writeThermostatInteractionInfo); Map writeFanControlInteractionInfo = new LinkedHashMap<>(); - Map writeFanControlFanModeCommandParams = new LinkedHashMap(); + Map writeFanControlFanModeCommandParams = + new LinkedHashMap(); CommandParameterInfo fanControlfanModeCommandParameterInfo = - new CommandParameterInfo( - "value", - Integer.class, - Integer.class - ); - writeFanControlFanModeCommandParams.put( - "value", - fanControlfanModeCommandParameterInfo - ); - InteractionInfo writeFanControlFanModeAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.FanControlCluster) cluster).writeFanModeAttribute( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeFanControlFanModeCommandParams - ); - writeFanControlInteractionInfo.put("writeFanModeAttribute", writeFanControlFanModeAttributeInteractionInfo); - Map writeFanControlFanModeSequenceCommandParams = new LinkedHashMap(); + new CommandParameterInfo("value", Integer.class, Integer.class); + writeFanControlFanModeCommandParams.put("value", fanControlfanModeCommandParameterInfo); + InteractionInfo writeFanControlFanModeAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.FanControlCluster) cluster) + .writeFanModeAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeFanControlFanModeCommandParams); + writeFanControlInteractionInfo.put( + "writeFanModeAttribute", writeFanControlFanModeAttributeInteractionInfo); + Map writeFanControlFanModeSequenceCommandParams = + new LinkedHashMap(); CommandParameterInfo fanControlfanModeSequenceCommandParameterInfo = - new CommandParameterInfo( - "value", - Integer.class, - Integer.class - ); + new CommandParameterInfo("value", Integer.class, Integer.class); writeFanControlFanModeSequenceCommandParams.put( - "value", - fanControlfanModeSequenceCommandParameterInfo - ); - InteractionInfo writeFanControlFanModeSequenceAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.FanControlCluster) cluster).writeFanModeSequenceAttribute( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeFanControlFanModeSequenceCommandParams - ); - writeFanControlInteractionInfo.put("writeFanModeSequenceAttribute", writeFanControlFanModeSequenceAttributeInteractionInfo); - Map writeFanControlPercentSettingCommandParams = new LinkedHashMap(); + "value", fanControlfanModeSequenceCommandParameterInfo); + InteractionInfo writeFanControlFanModeSequenceAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.FanControlCluster) cluster) + .writeFanModeSequenceAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeFanControlFanModeSequenceCommandParams); + writeFanControlInteractionInfo.put( + "writeFanModeSequenceAttribute", writeFanControlFanModeSequenceAttributeInteractionInfo); + Map writeFanControlPercentSettingCommandParams = + new LinkedHashMap(); CommandParameterInfo fanControlpercentSettingCommandParameterInfo = - new CommandParameterInfo( - "value", - Integer.class, - Integer.class - ); + new CommandParameterInfo("value", Integer.class, Integer.class); writeFanControlPercentSettingCommandParams.put( - "value", - fanControlpercentSettingCommandParameterInfo - ); - InteractionInfo writeFanControlPercentSettingAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.FanControlCluster) cluster).writePercentSettingAttribute( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeFanControlPercentSettingCommandParams - ); - writeFanControlInteractionInfo.put("writePercentSettingAttribute", writeFanControlPercentSettingAttributeInteractionInfo); - Map writeFanControlSpeedSettingCommandParams = new LinkedHashMap(); + "value", fanControlpercentSettingCommandParameterInfo); + InteractionInfo writeFanControlPercentSettingAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.FanControlCluster) cluster) + .writePercentSettingAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeFanControlPercentSettingCommandParams); + writeFanControlInteractionInfo.put( + "writePercentSettingAttribute", writeFanControlPercentSettingAttributeInteractionInfo); + Map writeFanControlSpeedSettingCommandParams = + new LinkedHashMap(); CommandParameterInfo fanControlspeedSettingCommandParameterInfo = - new CommandParameterInfo( - "value", - Integer.class, - Integer.class - ); + new CommandParameterInfo("value", Integer.class, Integer.class); writeFanControlSpeedSettingCommandParams.put( - "value", - fanControlspeedSettingCommandParameterInfo - ); - InteractionInfo writeFanControlSpeedSettingAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.FanControlCluster) cluster).writeSpeedSettingAttribute( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeFanControlSpeedSettingCommandParams - ); - writeFanControlInteractionInfo.put("writeSpeedSettingAttribute", writeFanControlSpeedSettingAttributeInteractionInfo); - Map writeFanControlRockSettingCommandParams = new LinkedHashMap(); + "value", fanControlspeedSettingCommandParameterInfo); + InteractionInfo writeFanControlSpeedSettingAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.FanControlCluster) cluster) + .writeSpeedSettingAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeFanControlSpeedSettingCommandParams); + writeFanControlInteractionInfo.put( + "writeSpeedSettingAttribute", writeFanControlSpeedSettingAttributeInteractionInfo); + Map writeFanControlRockSettingCommandParams = + new LinkedHashMap(); CommandParameterInfo fanControlrockSettingCommandParameterInfo = - new CommandParameterInfo( - "value", - Integer.class, - Integer.class - ); - writeFanControlRockSettingCommandParams.put( - "value", - fanControlrockSettingCommandParameterInfo - ); - InteractionInfo writeFanControlRockSettingAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.FanControlCluster) cluster).writeRockSettingAttribute( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeFanControlRockSettingCommandParams - ); - writeFanControlInteractionInfo.put("writeRockSettingAttribute", writeFanControlRockSettingAttributeInteractionInfo); - Map writeFanControlWindSettingCommandParams = new LinkedHashMap(); + new CommandParameterInfo("value", Integer.class, Integer.class); + writeFanControlRockSettingCommandParams.put("value", fanControlrockSettingCommandParameterInfo); + InteractionInfo writeFanControlRockSettingAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.FanControlCluster) cluster) + .writeRockSettingAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeFanControlRockSettingCommandParams); + writeFanControlInteractionInfo.put( + "writeRockSettingAttribute", writeFanControlRockSettingAttributeInteractionInfo); + Map writeFanControlWindSettingCommandParams = + new LinkedHashMap(); CommandParameterInfo fanControlwindSettingCommandParameterInfo = - new CommandParameterInfo( - "value", - Integer.class, - Integer.class - ); - writeFanControlWindSettingCommandParams.put( - "value", - fanControlwindSettingCommandParameterInfo - ); - InteractionInfo writeFanControlWindSettingAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.FanControlCluster) cluster).writeWindSettingAttribute( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeFanControlWindSettingCommandParams - ); - writeFanControlInteractionInfo.put("writeWindSettingAttribute", writeFanControlWindSettingAttributeInteractionInfo); + new CommandParameterInfo("value", Integer.class, Integer.class); + writeFanControlWindSettingCommandParams.put("value", fanControlwindSettingCommandParameterInfo); + InteractionInfo writeFanControlWindSettingAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.FanControlCluster) cluster) + .writeWindSettingAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeFanControlWindSettingCommandParams); + writeFanControlInteractionInfo.put( + "writeWindSettingAttribute", writeFanControlWindSettingAttributeInteractionInfo); writeAttributeMap.put("fanControl", writeFanControlInteractionInfo); - Map writeThermostatUserInterfaceConfigurationInteractionInfo = new LinkedHashMap<>(); - Map writeThermostatUserInterfaceConfigurationTemperatureDisplayModeCommandParams = new LinkedHashMap(); - CommandParameterInfo thermostatUserInterfaceConfigurationtemperatureDisplayModeCommandParameterInfo = - new CommandParameterInfo( - "value", - Integer.class, - Integer.class - ); + Map writeThermostatUserInterfaceConfigurationInteractionInfo = + new LinkedHashMap<>(); + Map + writeThermostatUserInterfaceConfigurationTemperatureDisplayModeCommandParams = + new LinkedHashMap(); + CommandParameterInfo + thermostatUserInterfaceConfigurationtemperatureDisplayModeCommandParameterInfo = + new CommandParameterInfo("value", Integer.class, Integer.class); writeThermostatUserInterfaceConfigurationTemperatureDisplayModeCommandParams.put( - "value", - thermostatUserInterfaceConfigurationtemperatureDisplayModeCommandParameterInfo - ); - InteractionInfo writeThermostatUserInterfaceConfigurationTemperatureDisplayModeAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatUserInterfaceConfigurationCluster) cluster).writeTemperatureDisplayModeAttribute( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeThermostatUserInterfaceConfigurationTemperatureDisplayModeCommandParams - ); - writeThermostatUserInterfaceConfigurationInteractionInfo.put("writeTemperatureDisplayModeAttribute", writeThermostatUserInterfaceConfigurationTemperatureDisplayModeAttributeInteractionInfo); - Map writeThermostatUserInterfaceConfigurationKeypadLockoutCommandParams = new LinkedHashMap(); + "value", thermostatUserInterfaceConfigurationtemperatureDisplayModeCommandParameterInfo); + InteractionInfo + writeThermostatUserInterfaceConfigurationTemperatureDisplayModeAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatUserInterfaceConfigurationCluster) cluster) + .writeTemperatureDisplayModeAttribute( + (DefaultClusterCallback) callback, + (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeThermostatUserInterfaceConfigurationTemperatureDisplayModeCommandParams); + writeThermostatUserInterfaceConfigurationInteractionInfo.put( + "writeTemperatureDisplayModeAttribute", + writeThermostatUserInterfaceConfigurationTemperatureDisplayModeAttributeInteractionInfo); + Map + writeThermostatUserInterfaceConfigurationKeypadLockoutCommandParams = + new LinkedHashMap(); CommandParameterInfo thermostatUserInterfaceConfigurationkeypadLockoutCommandParameterInfo = - new CommandParameterInfo( - "value", - Integer.class, - Integer.class - ); + new CommandParameterInfo("value", Integer.class, Integer.class); writeThermostatUserInterfaceConfigurationKeypadLockoutCommandParams.put( - "value", - thermostatUserInterfaceConfigurationkeypadLockoutCommandParameterInfo - ); - InteractionInfo writeThermostatUserInterfaceConfigurationKeypadLockoutAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatUserInterfaceConfigurationCluster) cluster).writeKeypadLockoutAttribute( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeThermostatUserInterfaceConfigurationKeypadLockoutCommandParams - ); - writeThermostatUserInterfaceConfigurationInteractionInfo.put("writeKeypadLockoutAttribute", writeThermostatUserInterfaceConfigurationKeypadLockoutAttributeInteractionInfo); - Map writeThermostatUserInterfaceConfigurationScheduleProgrammingVisibilityCommandParams = new LinkedHashMap(); - CommandParameterInfo thermostatUserInterfaceConfigurationscheduleProgrammingVisibilityCommandParameterInfo = - new CommandParameterInfo( - "value", - Integer.class, - Integer.class - ); + "value", thermostatUserInterfaceConfigurationkeypadLockoutCommandParameterInfo); + InteractionInfo writeThermostatUserInterfaceConfigurationKeypadLockoutAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatUserInterfaceConfigurationCluster) cluster) + .writeKeypadLockoutAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeThermostatUserInterfaceConfigurationKeypadLockoutCommandParams); + writeThermostatUserInterfaceConfigurationInteractionInfo.put( + "writeKeypadLockoutAttribute", + writeThermostatUserInterfaceConfigurationKeypadLockoutAttributeInteractionInfo); + Map + writeThermostatUserInterfaceConfigurationScheduleProgrammingVisibilityCommandParams = + new LinkedHashMap(); + CommandParameterInfo + thermostatUserInterfaceConfigurationscheduleProgrammingVisibilityCommandParameterInfo = + new CommandParameterInfo("value", Integer.class, Integer.class); writeThermostatUserInterfaceConfigurationScheduleProgrammingVisibilityCommandParams.put( "value", - thermostatUserInterfaceConfigurationscheduleProgrammingVisibilityCommandParameterInfo - ); - InteractionInfo writeThermostatUserInterfaceConfigurationScheduleProgrammingVisibilityAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ThermostatUserInterfaceConfigurationCluster) cluster).writeScheduleProgrammingVisibilityAttribute( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeThermostatUserInterfaceConfigurationScheduleProgrammingVisibilityCommandParams - ); - writeThermostatUserInterfaceConfigurationInteractionInfo.put("writeScheduleProgrammingVisibilityAttribute", writeThermostatUserInterfaceConfigurationScheduleProgrammingVisibilityAttributeInteractionInfo); - writeAttributeMap.put("thermostatUserInterfaceConfiguration", writeThermostatUserInterfaceConfigurationInteractionInfo); + thermostatUserInterfaceConfigurationscheduleProgrammingVisibilityCommandParameterInfo); + InteractionInfo + writeThermostatUserInterfaceConfigurationScheduleProgrammingVisibilityAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ThermostatUserInterfaceConfigurationCluster) cluster) + .writeScheduleProgrammingVisibilityAttribute( + (DefaultClusterCallback) callback, + (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeThermostatUserInterfaceConfigurationScheduleProgrammingVisibilityCommandParams); + writeThermostatUserInterfaceConfigurationInteractionInfo.put( + "writeScheduleProgrammingVisibilityAttribute", + writeThermostatUserInterfaceConfigurationScheduleProgrammingVisibilityAttributeInteractionInfo); + writeAttributeMap.put( + "thermostatUserInterfaceConfiguration", + writeThermostatUserInterfaceConfigurationInteractionInfo); Map writeColorControlInteractionInfo = new LinkedHashMap<>(); - Map writeColorControlOptionsCommandParams = new LinkedHashMap(); + Map writeColorControlOptionsCommandParams = + new LinkedHashMap(); CommandParameterInfo colorControloptionsCommandParameterInfo = - new CommandParameterInfo( - "value", - Integer.class, - Integer.class - ); - writeColorControlOptionsCommandParams.put( - "value", - colorControloptionsCommandParameterInfo - ); - InteractionInfo writeColorControlOptionsAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster).writeOptionsAttribute( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeColorControlOptionsCommandParams - ); - writeColorControlInteractionInfo.put("writeOptionsAttribute", writeColorControlOptionsAttributeInteractionInfo); - Map writeColorControlWhitePointXCommandParams = new LinkedHashMap(); + new CommandParameterInfo("value", Integer.class, Integer.class); + writeColorControlOptionsCommandParams.put("value", colorControloptionsCommandParameterInfo); + InteractionInfo writeColorControlOptionsAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .writeOptionsAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeColorControlOptionsCommandParams); + writeColorControlInteractionInfo.put( + "writeOptionsAttribute", writeColorControlOptionsAttributeInteractionInfo); + Map writeColorControlWhitePointXCommandParams = + new LinkedHashMap(); CommandParameterInfo colorControlwhitePointXCommandParameterInfo = - new CommandParameterInfo( - "value", - Integer.class, - Integer.class - ); + new CommandParameterInfo("value", Integer.class, Integer.class); writeColorControlWhitePointXCommandParams.put( - "value", - colorControlwhitePointXCommandParameterInfo - ); - InteractionInfo writeColorControlWhitePointXAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster).writeWhitePointXAttribute( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeColorControlWhitePointXCommandParams - ); - writeColorControlInteractionInfo.put("writeWhitePointXAttribute", writeColorControlWhitePointXAttributeInteractionInfo); - Map writeColorControlWhitePointYCommandParams = new LinkedHashMap(); + "value", colorControlwhitePointXCommandParameterInfo); + InteractionInfo writeColorControlWhitePointXAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .writeWhitePointXAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeColorControlWhitePointXCommandParams); + writeColorControlInteractionInfo.put( + "writeWhitePointXAttribute", writeColorControlWhitePointXAttributeInteractionInfo); + Map writeColorControlWhitePointYCommandParams = + new LinkedHashMap(); CommandParameterInfo colorControlwhitePointYCommandParameterInfo = - new CommandParameterInfo( - "value", - Integer.class, - Integer.class - ); + new CommandParameterInfo("value", Integer.class, Integer.class); writeColorControlWhitePointYCommandParams.put( - "value", - colorControlwhitePointYCommandParameterInfo - ); - InteractionInfo writeColorControlWhitePointYAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster).writeWhitePointYAttribute( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeColorControlWhitePointYCommandParams - ); - writeColorControlInteractionInfo.put("writeWhitePointYAttribute", writeColorControlWhitePointYAttributeInteractionInfo); - Map writeColorControlColorPointRXCommandParams = new LinkedHashMap(); + "value", colorControlwhitePointYCommandParameterInfo); + InteractionInfo writeColorControlWhitePointYAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .writeWhitePointYAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeColorControlWhitePointYCommandParams); + writeColorControlInteractionInfo.put( + "writeWhitePointYAttribute", writeColorControlWhitePointYAttributeInteractionInfo); + Map writeColorControlColorPointRXCommandParams = + new LinkedHashMap(); CommandParameterInfo colorControlcolorPointRXCommandParameterInfo = - new CommandParameterInfo( - "value", - Integer.class, - Integer.class - ); + new CommandParameterInfo("value", Integer.class, Integer.class); writeColorControlColorPointRXCommandParams.put( - "value", - colorControlcolorPointRXCommandParameterInfo - ); - InteractionInfo writeColorControlColorPointRXAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster).writeColorPointRXAttribute( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeColorControlColorPointRXCommandParams - ); - writeColorControlInteractionInfo.put("writeColorPointRXAttribute", writeColorControlColorPointRXAttributeInteractionInfo); - Map writeColorControlColorPointRYCommandParams = new LinkedHashMap(); + "value", colorControlcolorPointRXCommandParameterInfo); + InteractionInfo writeColorControlColorPointRXAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .writeColorPointRXAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeColorControlColorPointRXCommandParams); + writeColorControlInteractionInfo.put( + "writeColorPointRXAttribute", writeColorControlColorPointRXAttributeInteractionInfo); + Map writeColorControlColorPointRYCommandParams = + new LinkedHashMap(); CommandParameterInfo colorControlcolorPointRYCommandParameterInfo = - new CommandParameterInfo( - "value", - Integer.class, - Integer.class - ); + new CommandParameterInfo("value", Integer.class, Integer.class); writeColorControlColorPointRYCommandParams.put( - "value", - colorControlcolorPointRYCommandParameterInfo - ); - InteractionInfo writeColorControlColorPointRYAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster).writeColorPointRYAttribute( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeColorControlColorPointRYCommandParams - ); - writeColorControlInteractionInfo.put("writeColorPointRYAttribute", writeColorControlColorPointRYAttributeInteractionInfo); - Map writeColorControlColorPointRIntensityCommandParams = new LinkedHashMap(); + "value", colorControlcolorPointRYCommandParameterInfo); + InteractionInfo writeColorControlColorPointRYAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .writeColorPointRYAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeColorControlColorPointRYCommandParams); + writeColorControlInteractionInfo.put( + "writeColorPointRYAttribute", writeColorControlColorPointRYAttributeInteractionInfo); + Map writeColorControlColorPointRIntensityCommandParams = + new LinkedHashMap(); CommandParameterInfo colorControlcolorPointRIntensityCommandParameterInfo = - new CommandParameterInfo( - "value", - Integer.class, - Integer.class - ); + new CommandParameterInfo("value", Integer.class, Integer.class); writeColorControlColorPointRIntensityCommandParams.put( - "value", - colorControlcolorPointRIntensityCommandParameterInfo - ); - InteractionInfo writeColorControlColorPointRIntensityAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster).writeColorPointRIntensityAttribute( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeColorControlColorPointRIntensityCommandParams - ); - writeColorControlInteractionInfo.put("writeColorPointRIntensityAttribute", writeColorControlColorPointRIntensityAttributeInteractionInfo); - Map writeColorControlColorPointGXCommandParams = new LinkedHashMap(); + "value", colorControlcolorPointRIntensityCommandParameterInfo); + InteractionInfo writeColorControlColorPointRIntensityAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .writeColorPointRIntensityAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeColorControlColorPointRIntensityCommandParams); + writeColorControlInteractionInfo.put( + "writeColorPointRIntensityAttribute", + writeColorControlColorPointRIntensityAttributeInteractionInfo); + Map writeColorControlColorPointGXCommandParams = + new LinkedHashMap(); CommandParameterInfo colorControlcolorPointGXCommandParameterInfo = - new CommandParameterInfo( - "value", - Integer.class, - Integer.class - ); + new CommandParameterInfo("value", Integer.class, Integer.class); writeColorControlColorPointGXCommandParams.put( - "value", - colorControlcolorPointGXCommandParameterInfo - ); - InteractionInfo writeColorControlColorPointGXAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster).writeColorPointGXAttribute( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeColorControlColorPointGXCommandParams - ); - writeColorControlInteractionInfo.put("writeColorPointGXAttribute", writeColorControlColorPointGXAttributeInteractionInfo); - Map writeColorControlColorPointGYCommandParams = new LinkedHashMap(); + "value", colorControlcolorPointGXCommandParameterInfo); + InteractionInfo writeColorControlColorPointGXAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .writeColorPointGXAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeColorControlColorPointGXCommandParams); + writeColorControlInteractionInfo.put( + "writeColorPointGXAttribute", writeColorControlColorPointGXAttributeInteractionInfo); + Map writeColorControlColorPointGYCommandParams = + new LinkedHashMap(); CommandParameterInfo colorControlcolorPointGYCommandParameterInfo = - new CommandParameterInfo( - "value", - Integer.class, - Integer.class - ); + new CommandParameterInfo("value", Integer.class, Integer.class); writeColorControlColorPointGYCommandParams.put( - "value", - colorControlcolorPointGYCommandParameterInfo - ); - InteractionInfo writeColorControlColorPointGYAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster).writeColorPointGYAttribute( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeColorControlColorPointGYCommandParams - ); - writeColorControlInteractionInfo.put("writeColorPointGYAttribute", writeColorControlColorPointGYAttributeInteractionInfo); - Map writeColorControlColorPointGIntensityCommandParams = new LinkedHashMap(); + "value", colorControlcolorPointGYCommandParameterInfo); + InteractionInfo writeColorControlColorPointGYAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .writeColorPointGYAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeColorControlColorPointGYCommandParams); + writeColorControlInteractionInfo.put( + "writeColorPointGYAttribute", writeColorControlColorPointGYAttributeInteractionInfo); + Map writeColorControlColorPointGIntensityCommandParams = + new LinkedHashMap(); CommandParameterInfo colorControlcolorPointGIntensityCommandParameterInfo = - new CommandParameterInfo( - "value", - Integer.class, - Integer.class - ); + new CommandParameterInfo("value", Integer.class, Integer.class); writeColorControlColorPointGIntensityCommandParams.put( - "value", - colorControlcolorPointGIntensityCommandParameterInfo - ); - InteractionInfo writeColorControlColorPointGIntensityAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster).writeColorPointGIntensityAttribute( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeColorControlColorPointGIntensityCommandParams - ); - writeColorControlInteractionInfo.put("writeColorPointGIntensityAttribute", writeColorControlColorPointGIntensityAttributeInteractionInfo); - Map writeColorControlColorPointBXCommandParams = new LinkedHashMap(); + "value", colorControlcolorPointGIntensityCommandParameterInfo); + InteractionInfo writeColorControlColorPointGIntensityAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .writeColorPointGIntensityAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeColorControlColorPointGIntensityCommandParams); + writeColorControlInteractionInfo.put( + "writeColorPointGIntensityAttribute", + writeColorControlColorPointGIntensityAttributeInteractionInfo); + Map writeColorControlColorPointBXCommandParams = + new LinkedHashMap(); CommandParameterInfo colorControlcolorPointBXCommandParameterInfo = - new CommandParameterInfo( - "value", - Integer.class, - Integer.class - ); + new CommandParameterInfo("value", Integer.class, Integer.class); writeColorControlColorPointBXCommandParams.put( - "value", - colorControlcolorPointBXCommandParameterInfo - ); - InteractionInfo writeColorControlColorPointBXAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster).writeColorPointBXAttribute( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeColorControlColorPointBXCommandParams - ); - writeColorControlInteractionInfo.put("writeColorPointBXAttribute", writeColorControlColorPointBXAttributeInteractionInfo); - Map writeColorControlColorPointBYCommandParams = new LinkedHashMap(); + "value", colorControlcolorPointBXCommandParameterInfo); + InteractionInfo writeColorControlColorPointBXAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .writeColorPointBXAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeColorControlColorPointBXCommandParams); + writeColorControlInteractionInfo.put( + "writeColorPointBXAttribute", writeColorControlColorPointBXAttributeInteractionInfo); + Map writeColorControlColorPointBYCommandParams = + new LinkedHashMap(); CommandParameterInfo colorControlcolorPointBYCommandParameterInfo = - new CommandParameterInfo( - "value", - Integer.class, - Integer.class - ); + new CommandParameterInfo("value", Integer.class, Integer.class); writeColorControlColorPointBYCommandParams.put( - "value", - colorControlcolorPointBYCommandParameterInfo - ); - InteractionInfo writeColorControlColorPointBYAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster).writeColorPointBYAttribute( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeColorControlColorPointBYCommandParams - ); - writeColorControlInteractionInfo.put("writeColorPointBYAttribute", writeColorControlColorPointBYAttributeInteractionInfo); - Map writeColorControlColorPointBIntensityCommandParams = new LinkedHashMap(); + "value", colorControlcolorPointBYCommandParameterInfo); + InteractionInfo writeColorControlColorPointBYAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .writeColorPointBYAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeColorControlColorPointBYCommandParams); + writeColorControlInteractionInfo.put( + "writeColorPointBYAttribute", writeColorControlColorPointBYAttributeInteractionInfo); + Map writeColorControlColorPointBIntensityCommandParams = + new LinkedHashMap(); CommandParameterInfo colorControlcolorPointBIntensityCommandParameterInfo = - new CommandParameterInfo( - "value", - Integer.class, - Integer.class - ); + new CommandParameterInfo("value", Integer.class, Integer.class); writeColorControlColorPointBIntensityCommandParams.put( - "value", - colorControlcolorPointBIntensityCommandParameterInfo - ); - InteractionInfo writeColorControlColorPointBIntensityAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster).writeColorPointBIntensityAttribute( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeColorControlColorPointBIntensityCommandParams - ); - writeColorControlInteractionInfo.put("writeColorPointBIntensityAttribute", writeColorControlColorPointBIntensityAttributeInteractionInfo); - Map writeColorControlStartUpColorTemperatureMiredsCommandParams = new LinkedHashMap(); + "value", colorControlcolorPointBIntensityCommandParameterInfo); + InteractionInfo writeColorControlColorPointBIntensityAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .writeColorPointBIntensityAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeColorControlColorPointBIntensityCommandParams); + writeColorControlInteractionInfo.put( + "writeColorPointBIntensityAttribute", + writeColorControlColorPointBIntensityAttributeInteractionInfo); + Map writeColorControlStartUpColorTemperatureMiredsCommandParams = + new LinkedHashMap(); CommandParameterInfo colorControlstartUpColorTemperatureMiredsCommandParameterInfo = - new CommandParameterInfo( - "value", - Integer.class, - Integer.class - ); + new CommandParameterInfo("value", Integer.class, Integer.class); writeColorControlStartUpColorTemperatureMiredsCommandParams.put( - "value", - colorControlstartUpColorTemperatureMiredsCommandParameterInfo - ); - InteractionInfo writeColorControlStartUpColorTemperatureMiredsAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ColorControlCluster) cluster).writeStartUpColorTemperatureMiredsAttribute( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeColorControlStartUpColorTemperatureMiredsCommandParams - ); - writeColorControlInteractionInfo.put("writeStartUpColorTemperatureMiredsAttribute", writeColorControlStartUpColorTemperatureMiredsAttributeInteractionInfo); + "value", colorControlstartUpColorTemperatureMiredsCommandParameterInfo); + InteractionInfo writeColorControlStartUpColorTemperatureMiredsAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ColorControlCluster) cluster) + .writeStartUpColorTemperatureMiredsAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeColorControlStartUpColorTemperatureMiredsCommandParams); + writeColorControlInteractionInfo.put( + "writeStartUpColorTemperatureMiredsAttribute", + writeColorControlStartUpColorTemperatureMiredsAttributeInteractionInfo); writeAttributeMap.put("colorControl", writeColorControlInteractionInfo); Map writeBallastConfigurationInteractionInfo = new LinkedHashMap<>(); - Map writeBallastConfigurationMinLevelCommandParams = new LinkedHashMap(); + Map writeBallastConfigurationMinLevelCommandParams = + new LinkedHashMap(); CommandParameterInfo ballastConfigurationminLevelCommandParameterInfo = - new CommandParameterInfo( - "value", - Integer.class, - Integer.class - ); + new CommandParameterInfo("value", Integer.class, Integer.class); writeBallastConfigurationMinLevelCommandParams.put( - "value", - ballastConfigurationminLevelCommandParameterInfo - ); - InteractionInfo writeBallastConfigurationMinLevelAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BallastConfigurationCluster) cluster).writeMinLevelAttribute( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeBallastConfigurationMinLevelCommandParams - ); - writeBallastConfigurationInteractionInfo.put("writeMinLevelAttribute", writeBallastConfigurationMinLevelAttributeInteractionInfo); - Map writeBallastConfigurationMaxLevelCommandParams = new LinkedHashMap(); + "value", ballastConfigurationminLevelCommandParameterInfo); + InteractionInfo writeBallastConfigurationMinLevelAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BallastConfigurationCluster) cluster) + .writeMinLevelAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeBallastConfigurationMinLevelCommandParams); + writeBallastConfigurationInteractionInfo.put( + "writeMinLevelAttribute", writeBallastConfigurationMinLevelAttributeInteractionInfo); + Map writeBallastConfigurationMaxLevelCommandParams = + new LinkedHashMap(); CommandParameterInfo ballastConfigurationmaxLevelCommandParameterInfo = - new CommandParameterInfo( - "value", - Integer.class, - Integer.class - ); + new CommandParameterInfo("value", Integer.class, Integer.class); writeBallastConfigurationMaxLevelCommandParams.put( - "value", - ballastConfigurationmaxLevelCommandParameterInfo - ); - InteractionInfo writeBallastConfigurationMaxLevelAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BallastConfigurationCluster) cluster).writeMaxLevelAttribute( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeBallastConfigurationMaxLevelCommandParams - ); - writeBallastConfigurationInteractionInfo.put("writeMaxLevelAttribute", writeBallastConfigurationMaxLevelAttributeInteractionInfo); - Map writeBallastConfigurationIntrinsicBallastFactorCommandParams = new LinkedHashMap(); + "value", ballastConfigurationmaxLevelCommandParameterInfo); + InteractionInfo writeBallastConfigurationMaxLevelAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BallastConfigurationCluster) cluster) + .writeMaxLevelAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeBallastConfigurationMaxLevelCommandParams); + writeBallastConfigurationInteractionInfo.put( + "writeMaxLevelAttribute", writeBallastConfigurationMaxLevelAttributeInteractionInfo); + Map writeBallastConfigurationIntrinsicBallastFactorCommandParams = + new LinkedHashMap(); CommandParameterInfo ballastConfigurationintrinsicBallastFactorCommandParameterInfo = - new CommandParameterInfo( - "value", - Integer.class, - Integer.class - ); + new CommandParameterInfo("value", Integer.class, Integer.class); writeBallastConfigurationIntrinsicBallastFactorCommandParams.put( - "value", - ballastConfigurationintrinsicBallastFactorCommandParameterInfo - ); - InteractionInfo writeBallastConfigurationIntrinsicBallastFactorAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BallastConfigurationCluster) cluster).writeIntrinsicBallastFactorAttribute( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeBallastConfigurationIntrinsicBallastFactorCommandParams - ); - writeBallastConfigurationInteractionInfo.put("writeIntrinsicBallastFactorAttribute", writeBallastConfigurationIntrinsicBallastFactorAttributeInteractionInfo); - Map writeBallastConfigurationBallastFactorAdjustmentCommandParams = new LinkedHashMap(); + "value", ballastConfigurationintrinsicBallastFactorCommandParameterInfo); + InteractionInfo writeBallastConfigurationIntrinsicBallastFactorAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BallastConfigurationCluster) cluster) + .writeIntrinsicBallastFactorAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeBallastConfigurationIntrinsicBallastFactorCommandParams); + writeBallastConfigurationInteractionInfo.put( + "writeIntrinsicBallastFactorAttribute", + writeBallastConfigurationIntrinsicBallastFactorAttributeInteractionInfo); + Map + writeBallastConfigurationBallastFactorAdjustmentCommandParams = + new LinkedHashMap(); CommandParameterInfo ballastConfigurationballastFactorAdjustmentCommandParameterInfo = - new CommandParameterInfo( - "value", - Integer.class, - Integer.class - ); + new CommandParameterInfo("value", Integer.class, Integer.class); writeBallastConfigurationBallastFactorAdjustmentCommandParams.put( - "value", - ballastConfigurationballastFactorAdjustmentCommandParameterInfo - ); - InteractionInfo writeBallastConfigurationBallastFactorAdjustmentAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BallastConfigurationCluster) cluster).writeBallastFactorAdjustmentAttribute( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeBallastConfigurationBallastFactorAdjustmentCommandParams - ); - writeBallastConfigurationInteractionInfo.put("writeBallastFactorAdjustmentAttribute", writeBallastConfigurationBallastFactorAdjustmentAttributeInteractionInfo); - Map writeBallastConfigurationLampTypeCommandParams = new LinkedHashMap(); + "value", ballastConfigurationballastFactorAdjustmentCommandParameterInfo); + InteractionInfo writeBallastConfigurationBallastFactorAdjustmentAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BallastConfigurationCluster) cluster) + .writeBallastFactorAdjustmentAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeBallastConfigurationBallastFactorAdjustmentCommandParams); + writeBallastConfigurationInteractionInfo.put( + "writeBallastFactorAdjustmentAttribute", + writeBallastConfigurationBallastFactorAdjustmentAttributeInteractionInfo); + Map writeBallastConfigurationLampTypeCommandParams = + new LinkedHashMap(); CommandParameterInfo ballastConfigurationlampTypeCommandParameterInfo = - new CommandParameterInfo( - "value", - String.class, - String.class - ); + new CommandParameterInfo("value", String.class, String.class); writeBallastConfigurationLampTypeCommandParams.put( - "value", - ballastConfigurationlampTypeCommandParameterInfo - ); - InteractionInfo writeBallastConfigurationLampTypeAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BallastConfigurationCluster) cluster).writeLampTypeAttribute( - (DefaultClusterCallback) callback, - (String) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeBallastConfigurationLampTypeCommandParams - ); - writeBallastConfigurationInteractionInfo.put("writeLampTypeAttribute", writeBallastConfigurationLampTypeAttributeInteractionInfo); - Map writeBallastConfigurationLampManufacturerCommandParams = new LinkedHashMap(); + "value", ballastConfigurationlampTypeCommandParameterInfo); + InteractionInfo writeBallastConfigurationLampTypeAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BallastConfigurationCluster) cluster) + .writeLampTypeAttribute( + (DefaultClusterCallback) callback, (String) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeBallastConfigurationLampTypeCommandParams); + writeBallastConfigurationInteractionInfo.put( + "writeLampTypeAttribute", writeBallastConfigurationLampTypeAttributeInteractionInfo); + Map writeBallastConfigurationLampManufacturerCommandParams = + new LinkedHashMap(); CommandParameterInfo ballastConfigurationlampManufacturerCommandParameterInfo = - new CommandParameterInfo( - "value", - String.class, - String.class - ); + new CommandParameterInfo("value", String.class, String.class); writeBallastConfigurationLampManufacturerCommandParams.put( - "value", - ballastConfigurationlampManufacturerCommandParameterInfo - ); - InteractionInfo writeBallastConfigurationLampManufacturerAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BallastConfigurationCluster) cluster).writeLampManufacturerAttribute( - (DefaultClusterCallback) callback, - (String) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeBallastConfigurationLampManufacturerCommandParams - ); - writeBallastConfigurationInteractionInfo.put("writeLampManufacturerAttribute", writeBallastConfigurationLampManufacturerAttributeInteractionInfo); - Map writeBallastConfigurationLampRatedHoursCommandParams = new LinkedHashMap(); + "value", ballastConfigurationlampManufacturerCommandParameterInfo); + InteractionInfo writeBallastConfigurationLampManufacturerAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BallastConfigurationCluster) cluster) + .writeLampManufacturerAttribute( + (DefaultClusterCallback) callback, (String) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeBallastConfigurationLampManufacturerCommandParams); + writeBallastConfigurationInteractionInfo.put( + "writeLampManufacturerAttribute", + writeBallastConfigurationLampManufacturerAttributeInteractionInfo); + Map writeBallastConfigurationLampRatedHoursCommandParams = + new LinkedHashMap(); CommandParameterInfo ballastConfigurationlampRatedHoursCommandParameterInfo = - new CommandParameterInfo( - "value", - Long.class, - Long.class - ); + new CommandParameterInfo("value", Long.class, Long.class); writeBallastConfigurationLampRatedHoursCommandParams.put( - "value", - ballastConfigurationlampRatedHoursCommandParameterInfo - ); - InteractionInfo writeBallastConfigurationLampRatedHoursAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BallastConfigurationCluster) cluster).writeLampRatedHoursAttribute( - (DefaultClusterCallback) callback, - (Long) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeBallastConfigurationLampRatedHoursCommandParams - ); - writeBallastConfigurationInteractionInfo.put("writeLampRatedHoursAttribute", writeBallastConfigurationLampRatedHoursAttributeInteractionInfo); - Map writeBallastConfigurationLampBurnHoursCommandParams = new LinkedHashMap(); + "value", ballastConfigurationlampRatedHoursCommandParameterInfo); + InteractionInfo writeBallastConfigurationLampRatedHoursAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BallastConfigurationCluster) cluster) + .writeLampRatedHoursAttribute( + (DefaultClusterCallback) callback, (Long) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeBallastConfigurationLampRatedHoursCommandParams); + writeBallastConfigurationInteractionInfo.put( + "writeLampRatedHoursAttribute", + writeBallastConfigurationLampRatedHoursAttributeInteractionInfo); + Map writeBallastConfigurationLampBurnHoursCommandParams = + new LinkedHashMap(); CommandParameterInfo ballastConfigurationlampBurnHoursCommandParameterInfo = - new CommandParameterInfo( - "value", - Long.class, - Long.class - ); + new CommandParameterInfo("value", Long.class, Long.class); writeBallastConfigurationLampBurnHoursCommandParams.put( - "value", - ballastConfigurationlampBurnHoursCommandParameterInfo - ); - InteractionInfo writeBallastConfigurationLampBurnHoursAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BallastConfigurationCluster) cluster).writeLampBurnHoursAttribute( - (DefaultClusterCallback) callback, - (Long) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeBallastConfigurationLampBurnHoursCommandParams - ); - writeBallastConfigurationInteractionInfo.put("writeLampBurnHoursAttribute", writeBallastConfigurationLampBurnHoursAttributeInteractionInfo); - Map writeBallastConfigurationLampAlarmModeCommandParams = new LinkedHashMap(); + "value", ballastConfigurationlampBurnHoursCommandParameterInfo); + InteractionInfo writeBallastConfigurationLampBurnHoursAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BallastConfigurationCluster) cluster) + .writeLampBurnHoursAttribute( + (DefaultClusterCallback) callback, (Long) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeBallastConfigurationLampBurnHoursCommandParams); + writeBallastConfigurationInteractionInfo.put( + "writeLampBurnHoursAttribute", + writeBallastConfigurationLampBurnHoursAttributeInteractionInfo); + Map writeBallastConfigurationLampAlarmModeCommandParams = + new LinkedHashMap(); CommandParameterInfo ballastConfigurationlampAlarmModeCommandParameterInfo = - new CommandParameterInfo( - "value", - Integer.class, - Integer.class - ); + new CommandParameterInfo("value", Integer.class, Integer.class); writeBallastConfigurationLampAlarmModeCommandParams.put( - "value", - ballastConfigurationlampAlarmModeCommandParameterInfo - ); - InteractionInfo writeBallastConfigurationLampAlarmModeAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BallastConfigurationCluster) cluster).writeLampAlarmModeAttribute( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeBallastConfigurationLampAlarmModeCommandParams - ); - writeBallastConfigurationInteractionInfo.put("writeLampAlarmModeAttribute", writeBallastConfigurationLampAlarmModeAttributeInteractionInfo); - Map writeBallastConfigurationLampBurnHoursTripPointCommandParams = new LinkedHashMap(); + "value", ballastConfigurationlampAlarmModeCommandParameterInfo); + InteractionInfo writeBallastConfigurationLampAlarmModeAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BallastConfigurationCluster) cluster) + .writeLampAlarmModeAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeBallastConfigurationLampAlarmModeCommandParams); + writeBallastConfigurationInteractionInfo.put( + "writeLampAlarmModeAttribute", + writeBallastConfigurationLampAlarmModeAttributeInteractionInfo); + Map writeBallastConfigurationLampBurnHoursTripPointCommandParams = + new LinkedHashMap(); CommandParameterInfo ballastConfigurationlampBurnHoursTripPointCommandParameterInfo = - new CommandParameterInfo( - "value", - Long.class, - Long.class - ); + new CommandParameterInfo("value", Long.class, Long.class); writeBallastConfigurationLampBurnHoursTripPointCommandParams.put( - "value", - ballastConfigurationlampBurnHoursTripPointCommandParameterInfo - ); - InteractionInfo writeBallastConfigurationLampBurnHoursTripPointAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.BallastConfigurationCluster) cluster).writeLampBurnHoursTripPointAttribute( - (DefaultClusterCallback) callback, - (Long) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeBallastConfigurationLampBurnHoursTripPointCommandParams - ); - writeBallastConfigurationInteractionInfo.put("writeLampBurnHoursTripPointAttribute", writeBallastConfigurationLampBurnHoursTripPointAttributeInteractionInfo); + "value", ballastConfigurationlampBurnHoursTripPointCommandParameterInfo); + InteractionInfo writeBallastConfigurationLampBurnHoursTripPointAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.BallastConfigurationCluster) cluster) + .writeLampBurnHoursTripPointAttribute( + (DefaultClusterCallback) callback, (Long) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeBallastConfigurationLampBurnHoursTripPointCommandParams); + writeBallastConfigurationInteractionInfo.put( + "writeLampBurnHoursTripPointAttribute", + writeBallastConfigurationLampBurnHoursTripPointAttributeInteractionInfo); writeAttributeMap.put("ballastConfiguration", writeBallastConfigurationInteractionInfo); Map writeIlluminanceMeasurementInteractionInfo = new LinkedHashMap<>(); writeAttributeMap.put("illuminanceMeasurement", writeIlluminanceMeasurementInteractionInfo); @@ -2286,8 +1856,10 @@ public Map> getWriteAttributeMap() { writeAttributeMap.put("pressureMeasurement", writePressureMeasurementInteractionInfo); Map writeFlowMeasurementInteractionInfo = new LinkedHashMap<>(); writeAttributeMap.put("flowMeasurement", writeFlowMeasurementInteractionInfo); - Map writeRelativeHumidityMeasurementInteractionInfo = new LinkedHashMap<>(); - writeAttributeMap.put("relativeHumidityMeasurement", writeRelativeHumidityMeasurementInteractionInfo); + Map writeRelativeHumidityMeasurementInteractionInfo = + new LinkedHashMap<>(); + writeAttributeMap.put( + "relativeHumidityMeasurement", writeRelativeHumidityMeasurementInteractionInfo); Map writeOccupancySensingInteractionInfo = new LinkedHashMap<>(); writeAttributeMap.put("occupancySensing", writeOccupancySensingInteractionInfo); Map writeWakeOnLanInteractionInfo = new LinkedHashMap<>(); @@ -2305,28 +1877,24 @@ public Map> getWriteAttributeMap() { Map writeKeypadInputInteractionInfo = new LinkedHashMap<>(); writeAttributeMap.put("keypadInput", writeKeypadInputInteractionInfo); Map writeContentLauncherInteractionInfo = new LinkedHashMap<>(); - Map writeContentLauncherSupportedStreamingProtocolsCommandParams = new LinkedHashMap(); + Map writeContentLauncherSupportedStreamingProtocolsCommandParams = + new LinkedHashMap(); CommandParameterInfo contentLaunchersupportedStreamingProtocolsCommandParameterInfo = - new CommandParameterInfo( - "value", - Long.class, - Long.class - ); + new CommandParameterInfo("value", Long.class, Long.class); writeContentLauncherSupportedStreamingProtocolsCommandParams.put( - "value", - contentLaunchersupportedStreamingProtocolsCommandParameterInfo - ); - InteractionInfo writeContentLauncherSupportedStreamingProtocolsAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.ContentLauncherCluster) cluster).writeSupportedStreamingProtocolsAttribute( - (DefaultClusterCallback) callback, - (Long) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeContentLauncherSupportedStreamingProtocolsCommandParams - ); - writeContentLauncherInteractionInfo.put("writeSupportedStreamingProtocolsAttribute", writeContentLauncherSupportedStreamingProtocolsAttributeInteractionInfo); + "value", contentLaunchersupportedStreamingProtocolsCommandParameterInfo); + InteractionInfo writeContentLauncherSupportedStreamingProtocolsAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.ContentLauncherCluster) cluster) + .writeSupportedStreamingProtocolsAttribute( + (DefaultClusterCallback) callback, (Long) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeContentLauncherSupportedStreamingProtocolsCommandParams); + writeContentLauncherInteractionInfo.put( + "writeSupportedStreamingProtocolsAttribute", + writeContentLauncherSupportedStreamingProtocolsAttributeInteractionInfo); writeAttributeMap.put("contentLauncher", writeContentLauncherInteractionInfo); Map writeAudioOutputInteractionInfo = new LinkedHashMap<>(); writeAttributeMap.put("audioOutput", writeAudioOutputInteractionInfo); @@ -2341,1612 +1909,1237 @@ public Map> getWriteAttributeMap() { Map writeClientMonitoringInteractionInfo = new LinkedHashMap<>(); writeAttributeMap.put("clientMonitoring", writeClientMonitoringInteractionInfo); Map writeUnitTestingInteractionInfo = new LinkedHashMap<>(); - Map writeUnitTestingBooleanCommandParams = new LinkedHashMap(); + Map writeUnitTestingBooleanCommandParams = + new LinkedHashMap(); CommandParameterInfo unitTestingbooleanCommandParameterInfo = - new CommandParameterInfo( - "value", - Boolean.class, - Boolean.class - ); - writeUnitTestingBooleanCommandParams.put( - "value", - unitTestingbooleanCommandParameterInfo - ); - InteractionInfo writeUnitTestingBooleanAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).writeBooleanAttribute( - (DefaultClusterCallback) callback, - (Boolean) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeUnitTestingBooleanCommandParams - ); - writeUnitTestingInteractionInfo.put("writeBooleanAttribute", writeUnitTestingBooleanAttributeInteractionInfo); - Map writeUnitTestingBitmap8CommandParams = new LinkedHashMap(); + new CommandParameterInfo("value", Boolean.class, Boolean.class); + writeUnitTestingBooleanCommandParams.put("value", unitTestingbooleanCommandParameterInfo); + InteractionInfo writeUnitTestingBooleanAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .writeBooleanAttribute( + (DefaultClusterCallback) callback, (Boolean) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeUnitTestingBooleanCommandParams); + writeUnitTestingInteractionInfo.put( + "writeBooleanAttribute", writeUnitTestingBooleanAttributeInteractionInfo); + Map writeUnitTestingBitmap8CommandParams = + new LinkedHashMap(); CommandParameterInfo unitTestingbitmap8CommandParameterInfo = - new CommandParameterInfo( - "value", - Integer.class, - Integer.class - ); - writeUnitTestingBitmap8CommandParams.put( - "value", - unitTestingbitmap8CommandParameterInfo - ); - InteractionInfo writeUnitTestingBitmap8AttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).writeBitmap8Attribute( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeUnitTestingBitmap8CommandParams - ); - writeUnitTestingInteractionInfo.put("writeBitmap8Attribute", writeUnitTestingBitmap8AttributeInteractionInfo); - Map writeUnitTestingBitmap16CommandParams = new LinkedHashMap(); + new CommandParameterInfo("value", Integer.class, Integer.class); + writeUnitTestingBitmap8CommandParams.put("value", unitTestingbitmap8CommandParameterInfo); + InteractionInfo writeUnitTestingBitmap8AttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .writeBitmap8Attribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeUnitTestingBitmap8CommandParams); + writeUnitTestingInteractionInfo.put( + "writeBitmap8Attribute", writeUnitTestingBitmap8AttributeInteractionInfo); + Map writeUnitTestingBitmap16CommandParams = + new LinkedHashMap(); CommandParameterInfo unitTestingbitmap16CommandParameterInfo = - new CommandParameterInfo( - "value", - Integer.class, - Integer.class - ); - writeUnitTestingBitmap16CommandParams.put( - "value", - unitTestingbitmap16CommandParameterInfo - ); - InteractionInfo writeUnitTestingBitmap16AttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).writeBitmap16Attribute( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeUnitTestingBitmap16CommandParams - ); - writeUnitTestingInteractionInfo.put("writeBitmap16Attribute", writeUnitTestingBitmap16AttributeInteractionInfo); - Map writeUnitTestingBitmap32CommandParams = new LinkedHashMap(); + new CommandParameterInfo("value", Integer.class, Integer.class); + writeUnitTestingBitmap16CommandParams.put("value", unitTestingbitmap16CommandParameterInfo); + InteractionInfo writeUnitTestingBitmap16AttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .writeBitmap16Attribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeUnitTestingBitmap16CommandParams); + writeUnitTestingInteractionInfo.put( + "writeBitmap16Attribute", writeUnitTestingBitmap16AttributeInteractionInfo); + Map writeUnitTestingBitmap32CommandParams = + new LinkedHashMap(); CommandParameterInfo unitTestingbitmap32CommandParameterInfo = - new CommandParameterInfo( - "value", - Long.class, - Long.class - ); - writeUnitTestingBitmap32CommandParams.put( - "value", - unitTestingbitmap32CommandParameterInfo - ); - InteractionInfo writeUnitTestingBitmap32AttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).writeBitmap32Attribute( - (DefaultClusterCallback) callback, - (Long) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeUnitTestingBitmap32CommandParams - ); - writeUnitTestingInteractionInfo.put("writeBitmap32Attribute", writeUnitTestingBitmap32AttributeInteractionInfo); - Map writeUnitTestingBitmap64CommandParams = new LinkedHashMap(); + new CommandParameterInfo("value", Long.class, Long.class); + writeUnitTestingBitmap32CommandParams.put("value", unitTestingbitmap32CommandParameterInfo); + InteractionInfo writeUnitTestingBitmap32AttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .writeBitmap32Attribute( + (DefaultClusterCallback) callback, (Long) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeUnitTestingBitmap32CommandParams); + writeUnitTestingInteractionInfo.put( + "writeBitmap32Attribute", writeUnitTestingBitmap32AttributeInteractionInfo); + Map writeUnitTestingBitmap64CommandParams = + new LinkedHashMap(); CommandParameterInfo unitTestingbitmap64CommandParameterInfo = - new CommandParameterInfo( - "value", - Long.class, - Long.class - ); - writeUnitTestingBitmap64CommandParams.put( - "value", - unitTestingbitmap64CommandParameterInfo - ); - InteractionInfo writeUnitTestingBitmap64AttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).writeBitmap64Attribute( - (DefaultClusterCallback) callback, - (Long) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeUnitTestingBitmap64CommandParams - ); - writeUnitTestingInteractionInfo.put("writeBitmap64Attribute", writeUnitTestingBitmap64AttributeInteractionInfo); - Map writeUnitTestingInt8uCommandParams = new LinkedHashMap(); + new CommandParameterInfo("value", Long.class, Long.class); + writeUnitTestingBitmap64CommandParams.put("value", unitTestingbitmap64CommandParameterInfo); + InteractionInfo writeUnitTestingBitmap64AttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .writeBitmap64Attribute( + (DefaultClusterCallback) callback, (Long) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeUnitTestingBitmap64CommandParams); + writeUnitTestingInteractionInfo.put( + "writeBitmap64Attribute", writeUnitTestingBitmap64AttributeInteractionInfo); + Map writeUnitTestingInt8uCommandParams = + new LinkedHashMap(); CommandParameterInfo unitTestingint8uCommandParameterInfo = - new CommandParameterInfo( - "value", - Integer.class, - Integer.class - ); - writeUnitTestingInt8uCommandParams.put( - "value", - unitTestingint8uCommandParameterInfo - ); - InteractionInfo writeUnitTestingInt8uAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).writeInt8uAttribute( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeUnitTestingInt8uCommandParams - ); - writeUnitTestingInteractionInfo.put("writeInt8uAttribute", writeUnitTestingInt8uAttributeInteractionInfo); - Map writeUnitTestingInt16uCommandParams = new LinkedHashMap(); + new CommandParameterInfo("value", Integer.class, Integer.class); + writeUnitTestingInt8uCommandParams.put("value", unitTestingint8uCommandParameterInfo); + InteractionInfo writeUnitTestingInt8uAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .writeInt8uAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeUnitTestingInt8uCommandParams); + writeUnitTestingInteractionInfo.put( + "writeInt8uAttribute", writeUnitTestingInt8uAttributeInteractionInfo); + Map writeUnitTestingInt16uCommandParams = + new LinkedHashMap(); CommandParameterInfo unitTestingint16uCommandParameterInfo = - new CommandParameterInfo( - "value", - Integer.class, - Integer.class - ); - writeUnitTestingInt16uCommandParams.put( - "value", - unitTestingint16uCommandParameterInfo - ); - InteractionInfo writeUnitTestingInt16uAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).writeInt16uAttribute( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeUnitTestingInt16uCommandParams - ); - writeUnitTestingInteractionInfo.put("writeInt16uAttribute", writeUnitTestingInt16uAttributeInteractionInfo); - Map writeUnitTestingInt24uCommandParams = new LinkedHashMap(); + new CommandParameterInfo("value", Integer.class, Integer.class); + writeUnitTestingInt16uCommandParams.put("value", unitTestingint16uCommandParameterInfo); + InteractionInfo writeUnitTestingInt16uAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .writeInt16uAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeUnitTestingInt16uCommandParams); + writeUnitTestingInteractionInfo.put( + "writeInt16uAttribute", writeUnitTestingInt16uAttributeInteractionInfo); + Map writeUnitTestingInt24uCommandParams = + new LinkedHashMap(); CommandParameterInfo unitTestingint24uCommandParameterInfo = - new CommandParameterInfo( - "value", - Long.class, - Long.class - ); - writeUnitTestingInt24uCommandParams.put( - "value", - unitTestingint24uCommandParameterInfo - ); - InteractionInfo writeUnitTestingInt24uAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).writeInt24uAttribute( - (DefaultClusterCallback) callback, - (Long) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeUnitTestingInt24uCommandParams - ); - writeUnitTestingInteractionInfo.put("writeInt24uAttribute", writeUnitTestingInt24uAttributeInteractionInfo); - Map writeUnitTestingInt32uCommandParams = new LinkedHashMap(); + new CommandParameterInfo("value", Long.class, Long.class); + writeUnitTestingInt24uCommandParams.put("value", unitTestingint24uCommandParameterInfo); + InteractionInfo writeUnitTestingInt24uAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .writeInt24uAttribute( + (DefaultClusterCallback) callback, (Long) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeUnitTestingInt24uCommandParams); + writeUnitTestingInteractionInfo.put( + "writeInt24uAttribute", writeUnitTestingInt24uAttributeInteractionInfo); + Map writeUnitTestingInt32uCommandParams = + new LinkedHashMap(); CommandParameterInfo unitTestingint32uCommandParameterInfo = - new CommandParameterInfo( - "value", - Long.class, - Long.class - ); - writeUnitTestingInt32uCommandParams.put( - "value", - unitTestingint32uCommandParameterInfo - ); - InteractionInfo writeUnitTestingInt32uAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).writeInt32uAttribute( - (DefaultClusterCallback) callback, - (Long) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeUnitTestingInt32uCommandParams - ); - writeUnitTestingInteractionInfo.put("writeInt32uAttribute", writeUnitTestingInt32uAttributeInteractionInfo); - Map writeUnitTestingInt40uCommandParams = new LinkedHashMap(); + new CommandParameterInfo("value", Long.class, Long.class); + writeUnitTestingInt32uCommandParams.put("value", unitTestingint32uCommandParameterInfo); + InteractionInfo writeUnitTestingInt32uAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .writeInt32uAttribute( + (DefaultClusterCallback) callback, (Long) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeUnitTestingInt32uCommandParams); + writeUnitTestingInteractionInfo.put( + "writeInt32uAttribute", writeUnitTestingInt32uAttributeInteractionInfo); + Map writeUnitTestingInt40uCommandParams = + new LinkedHashMap(); CommandParameterInfo unitTestingint40uCommandParameterInfo = - new CommandParameterInfo( - "value", - Long.class, - Long.class - ); - writeUnitTestingInt40uCommandParams.put( - "value", - unitTestingint40uCommandParameterInfo - ); - InteractionInfo writeUnitTestingInt40uAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).writeInt40uAttribute( - (DefaultClusterCallback) callback, - (Long) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeUnitTestingInt40uCommandParams - ); - writeUnitTestingInteractionInfo.put("writeInt40uAttribute", writeUnitTestingInt40uAttributeInteractionInfo); - Map writeUnitTestingInt48uCommandParams = new LinkedHashMap(); + new CommandParameterInfo("value", Long.class, Long.class); + writeUnitTestingInt40uCommandParams.put("value", unitTestingint40uCommandParameterInfo); + InteractionInfo writeUnitTestingInt40uAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .writeInt40uAttribute( + (DefaultClusterCallback) callback, (Long) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeUnitTestingInt40uCommandParams); + writeUnitTestingInteractionInfo.put( + "writeInt40uAttribute", writeUnitTestingInt40uAttributeInteractionInfo); + Map writeUnitTestingInt48uCommandParams = + new LinkedHashMap(); CommandParameterInfo unitTestingint48uCommandParameterInfo = - new CommandParameterInfo( - "value", - Long.class, - Long.class - ); - writeUnitTestingInt48uCommandParams.put( - "value", - unitTestingint48uCommandParameterInfo - ); - InteractionInfo writeUnitTestingInt48uAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).writeInt48uAttribute( - (DefaultClusterCallback) callback, - (Long) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeUnitTestingInt48uCommandParams - ); - writeUnitTestingInteractionInfo.put("writeInt48uAttribute", writeUnitTestingInt48uAttributeInteractionInfo); - Map writeUnitTestingInt56uCommandParams = new LinkedHashMap(); + new CommandParameterInfo("value", Long.class, Long.class); + writeUnitTestingInt48uCommandParams.put("value", unitTestingint48uCommandParameterInfo); + InteractionInfo writeUnitTestingInt48uAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .writeInt48uAttribute( + (DefaultClusterCallback) callback, (Long) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeUnitTestingInt48uCommandParams); + writeUnitTestingInteractionInfo.put( + "writeInt48uAttribute", writeUnitTestingInt48uAttributeInteractionInfo); + Map writeUnitTestingInt56uCommandParams = + new LinkedHashMap(); CommandParameterInfo unitTestingint56uCommandParameterInfo = - new CommandParameterInfo( - "value", - Long.class, - Long.class - ); - writeUnitTestingInt56uCommandParams.put( - "value", - unitTestingint56uCommandParameterInfo - ); - InteractionInfo writeUnitTestingInt56uAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).writeInt56uAttribute( - (DefaultClusterCallback) callback, - (Long) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeUnitTestingInt56uCommandParams - ); - writeUnitTestingInteractionInfo.put("writeInt56uAttribute", writeUnitTestingInt56uAttributeInteractionInfo); - Map writeUnitTestingInt64uCommandParams = new LinkedHashMap(); + new CommandParameterInfo("value", Long.class, Long.class); + writeUnitTestingInt56uCommandParams.put("value", unitTestingint56uCommandParameterInfo); + InteractionInfo writeUnitTestingInt56uAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .writeInt56uAttribute( + (DefaultClusterCallback) callback, (Long) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeUnitTestingInt56uCommandParams); + writeUnitTestingInteractionInfo.put( + "writeInt56uAttribute", writeUnitTestingInt56uAttributeInteractionInfo); + Map writeUnitTestingInt64uCommandParams = + new LinkedHashMap(); CommandParameterInfo unitTestingint64uCommandParameterInfo = - new CommandParameterInfo( - "value", - Long.class, - Long.class - ); - writeUnitTestingInt64uCommandParams.put( - "value", - unitTestingint64uCommandParameterInfo - ); - InteractionInfo writeUnitTestingInt64uAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).writeInt64uAttribute( - (DefaultClusterCallback) callback, - (Long) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeUnitTestingInt64uCommandParams - ); - writeUnitTestingInteractionInfo.put("writeInt64uAttribute", writeUnitTestingInt64uAttributeInteractionInfo); - Map writeUnitTestingInt8sCommandParams = new LinkedHashMap(); + new CommandParameterInfo("value", Long.class, Long.class); + writeUnitTestingInt64uCommandParams.put("value", unitTestingint64uCommandParameterInfo); + InteractionInfo writeUnitTestingInt64uAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .writeInt64uAttribute( + (DefaultClusterCallback) callback, (Long) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeUnitTestingInt64uCommandParams); + writeUnitTestingInteractionInfo.put( + "writeInt64uAttribute", writeUnitTestingInt64uAttributeInteractionInfo); + Map writeUnitTestingInt8sCommandParams = + new LinkedHashMap(); CommandParameterInfo unitTestingint8sCommandParameterInfo = - new CommandParameterInfo( - "value", - Integer.class, - Integer.class - ); - writeUnitTestingInt8sCommandParams.put( - "value", - unitTestingint8sCommandParameterInfo - ); - InteractionInfo writeUnitTestingInt8sAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).writeInt8sAttribute( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeUnitTestingInt8sCommandParams - ); - writeUnitTestingInteractionInfo.put("writeInt8sAttribute", writeUnitTestingInt8sAttributeInteractionInfo); - Map writeUnitTestingInt16sCommandParams = new LinkedHashMap(); + new CommandParameterInfo("value", Integer.class, Integer.class); + writeUnitTestingInt8sCommandParams.put("value", unitTestingint8sCommandParameterInfo); + InteractionInfo writeUnitTestingInt8sAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .writeInt8sAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeUnitTestingInt8sCommandParams); + writeUnitTestingInteractionInfo.put( + "writeInt8sAttribute", writeUnitTestingInt8sAttributeInteractionInfo); + Map writeUnitTestingInt16sCommandParams = + new LinkedHashMap(); CommandParameterInfo unitTestingint16sCommandParameterInfo = - new CommandParameterInfo( - "value", - Integer.class, - Integer.class - ); - writeUnitTestingInt16sCommandParams.put( - "value", - unitTestingint16sCommandParameterInfo - ); - InteractionInfo writeUnitTestingInt16sAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).writeInt16sAttribute( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeUnitTestingInt16sCommandParams - ); - writeUnitTestingInteractionInfo.put("writeInt16sAttribute", writeUnitTestingInt16sAttributeInteractionInfo); - Map writeUnitTestingInt24sCommandParams = new LinkedHashMap(); + new CommandParameterInfo("value", Integer.class, Integer.class); + writeUnitTestingInt16sCommandParams.put("value", unitTestingint16sCommandParameterInfo); + InteractionInfo writeUnitTestingInt16sAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .writeInt16sAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeUnitTestingInt16sCommandParams); + writeUnitTestingInteractionInfo.put( + "writeInt16sAttribute", writeUnitTestingInt16sAttributeInteractionInfo); + Map writeUnitTestingInt24sCommandParams = + new LinkedHashMap(); CommandParameterInfo unitTestingint24sCommandParameterInfo = - new CommandParameterInfo( - "value", - Long.class, - Long.class - ); - writeUnitTestingInt24sCommandParams.put( - "value", - unitTestingint24sCommandParameterInfo - ); - InteractionInfo writeUnitTestingInt24sAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).writeInt24sAttribute( - (DefaultClusterCallback) callback, - (Long) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeUnitTestingInt24sCommandParams - ); - writeUnitTestingInteractionInfo.put("writeInt24sAttribute", writeUnitTestingInt24sAttributeInteractionInfo); - Map writeUnitTestingInt32sCommandParams = new LinkedHashMap(); + new CommandParameterInfo("value", Long.class, Long.class); + writeUnitTestingInt24sCommandParams.put("value", unitTestingint24sCommandParameterInfo); + InteractionInfo writeUnitTestingInt24sAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .writeInt24sAttribute( + (DefaultClusterCallback) callback, (Long) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeUnitTestingInt24sCommandParams); + writeUnitTestingInteractionInfo.put( + "writeInt24sAttribute", writeUnitTestingInt24sAttributeInteractionInfo); + Map writeUnitTestingInt32sCommandParams = + new LinkedHashMap(); CommandParameterInfo unitTestingint32sCommandParameterInfo = - new CommandParameterInfo( - "value", - Long.class, - Long.class - ); - writeUnitTestingInt32sCommandParams.put( - "value", - unitTestingint32sCommandParameterInfo - ); - InteractionInfo writeUnitTestingInt32sAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).writeInt32sAttribute( - (DefaultClusterCallback) callback, - (Long) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeUnitTestingInt32sCommandParams - ); - writeUnitTestingInteractionInfo.put("writeInt32sAttribute", writeUnitTestingInt32sAttributeInteractionInfo); - Map writeUnitTestingInt40sCommandParams = new LinkedHashMap(); + new CommandParameterInfo("value", Long.class, Long.class); + writeUnitTestingInt32sCommandParams.put("value", unitTestingint32sCommandParameterInfo); + InteractionInfo writeUnitTestingInt32sAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .writeInt32sAttribute( + (DefaultClusterCallback) callback, (Long) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeUnitTestingInt32sCommandParams); + writeUnitTestingInteractionInfo.put( + "writeInt32sAttribute", writeUnitTestingInt32sAttributeInteractionInfo); + Map writeUnitTestingInt40sCommandParams = + new LinkedHashMap(); CommandParameterInfo unitTestingint40sCommandParameterInfo = - new CommandParameterInfo( - "value", - Long.class, - Long.class - ); - writeUnitTestingInt40sCommandParams.put( - "value", - unitTestingint40sCommandParameterInfo - ); - InteractionInfo writeUnitTestingInt40sAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).writeInt40sAttribute( - (DefaultClusterCallback) callback, - (Long) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeUnitTestingInt40sCommandParams - ); - writeUnitTestingInteractionInfo.put("writeInt40sAttribute", writeUnitTestingInt40sAttributeInteractionInfo); - Map writeUnitTestingInt48sCommandParams = new LinkedHashMap(); + new CommandParameterInfo("value", Long.class, Long.class); + writeUnitTestingInt40sCommandParams.put("value", unitTestingint40sCommandParameterInfo); + InteractionInfo writeUnitTestingInt40sAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .writeInt40sAttribute( + (DefaultClusterCallback) callback, (Long) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeUnitTestingInt40sCommandParams); + writeUnitTestingInteractionInfo.put( + "writeInt40sAttribute", writeUnitTestingInt40sAttributeInteractionInfo); + Map writeUnitTestingInt48sCommandParams = + new LinkedHashMap(); CommandParameterInfo unitTestingint48sCommandParameterInfo = - new CommandParameterInfo( - "value", - Long.class, - Long.class - ); - writeUnitTestingInt48sCommandParams.put( - "value", - unitTestingint48sCommandParameterInfo - ); - InteractionInfo writeUnitTestingInt48sAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).writeInt48sAttribute( - (DefaultClusterCallback) callback, - (Long) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeUnitTestingInt48sCommandParams - ); - writeUnitTestingInteractionInfo.put("writeInt48sAttribute", writeUnitTestingInt48sAttributeInteractionInfo); - Map writeUnitTestingInt56sCommandParams = new LinkedHashMap(); + new CommandParameterInfo("value", Long.class, Long.class); + writeUnitTestingInt48sCommandParams.put("value", unitTestingint48sCommandParameterInfo); + InteractionInfo writeUnitTestingInt48sAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .writeInt48sAttribute( + (DefaultClusterCallback) callback, (Long) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeUnitTestingInt48sCommandParams); + writeUnitTestingInteractionInfo.put( + "writeInt48sAttribute", writeUnitTestingInt48sAttributeInteractionInfo); + Map writeUnitTestingInt56sCommandParams = + new LinkedHashMap(); CommandParameterInfo unitTestingint56sCommandParameterInfo = - new CommandParameterInfo( - "value", - Long.class, - Long.class - ); - writeUnitTestingInt56sCommandParams.put( - "value", - unitTestingint56sCommandParameterInfo - ); - InteractionInfo writeUnitTestingInt56sAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).writeInt56sAttribute( - (DefaultClusterCallback) callback, - (Long) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeUnitTestingInt56sCommandParams - ); - writeUnitTestingInteractionInfo.put("writeInt56sAttribute", writeUnitTestingInt56sAttributeInteractionInfo); - Map writeUnitTestingInt64sCommandParams = new LinkedHashMap(); + new CommandParameterInfo("value", Long.class, Long.class); + writeUnitTestingInt56sCommandParams.put("value", unitTestingint56sCommandParameterInfo); + InteractionInfo writeUnitTestingInt56sAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .writeInt56sAttribute( + (DefaultClusterCallback) callback, (Long) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeUnitTestingInt56sCommandParams); + writeUnitTestingInteractionInfo.put( + "writeInt56sAttribute", writeUnitTestingInt56sAttributeInteractionInfo); + Map writeUnitTestingInt64sCommandParams = + new LinkedHashMap(); CommandParameterInfo unitTestingint64sCommandParameterInfo = - new CommandParameterInfo( - "value", - Long.class, - Long.class - ); - writeUnitTestingInt64sCommandParams.put( - "value", - unitTestingint64sCommandParameterInfo - ); - InteractionInfo writeUnitTestingInt64sAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).writeInt64sAttribute( - (DefaultClusterCallback) callback, - (Long) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeUnitTestingInt64sCommandParams - ); - writeUnitTestingInteractionInfo.put("writeInt64sAttribute", writeUnitTestingInt64sAttributeInteractionInfo); - Map writeUnitTestingEnum8CommandParams = new LinkedHashMap(); + new CommandParameterInfo("value", Long.class, Long.class); + writeUnitTestingInt64sCommandParams.put("value", unitTestingint64sCommandParameterInfo); + InteractionInfo writeUnitTestingInt64sAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .writeInt64sAttribute( + (DefaultClusterCallback) callback, (Long) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeUnitTestingInt64sCommandParams); + writeUnitTestingInteractionInfo.put( + "writeInt64sAttribute", writeUnitTestingInt64sAttributeInteractionInfo); + Map writeUnitTestingEnum8CommandParams = + new LinkedHashMap(); CommandParameterInfo unitTestingenum8CommandParameterInfo = - new CommandParameterInfo( - "value", - Integer.class, - Integer.class - ); - writeUnitTestingEnum8CommandParams.put( - "value", - unitTestingenum8CommandParameterInfo - ); - InteractionInfo writeUnitTestingEnum8AttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).writeEnum8Attribute( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeUnitTestingEnum8CommandParams - ); - writeUnitTestingInteractionInfo.put("writeEnum8Attribute", writeUnitTestingEnum8AttributeInteractionInfo); - Map writeUnitTestingEnum16CommandParams = new LinkedHashMap(); + new CommandParameterInfo("value", Integer.class, Integer.class); + writeUnitTestingEnum8CommandParams.put("value", unitTestingenum8CommandParameterInfo); + InteractionInfo writeUnitTestingEnum8AttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .writeEnum8Attribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeUnitTestingEnum8CommandParams); + writeUnitTestingInteractionInfo.put( + "writeEnum8Attribute", writeUnitTestingEnum8AttributeInteractionInfo); + Map writeUnitTestingEnum16CommandParams = + new LinkedHashMap(); CommandParameterInfo unitTestingenum16CommandParameterInfo = - new CommandParameterInfo( - "value", - Integer.class, - Integer.class - ); - writeUnitTestingEnum16CommandParams.put( - "value", - unitTestingenum16CommandParameterInfo - ); - InteractionInfo writeUnitTestingEnum16AttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).writeEnum16Attribute( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeUnitTestingEnum16CommandParams - ); - writeUnitTestingInteractionInfo.put("writeEnum16Attribute", writeUnitTestingEnum16AttributeInteractionInfo); - Map writeUnitTestingFloatSingleCommandParams = new LinkedHashMap(); + new CommandParameterInfo("value", Integer.class, Integer.class); + writeUnitTestingEnum16CommandParams.put("value", unitTestingenum16CommandParameterInfo); + InteractionInfo writeUnitTestingEnum16AttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .writeEnum16Attribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeUnitTestingEnum16CommandParams); + writeUnitTestingInteractionInfo.put( + "writeEnum16Attribute", writeUnitTestingEnum16AttributeInteractionInfo); + Map writeUnitTestingFloatSingleCommandParams = + new LinkedHashMap(); CommandParameterInfo unitTestingfloatSingleCommandParameterInfo = - new CommandParameterInfo( - "value", - Float.class, - Float.class - ); + new CommandParameterInfo("value", Float.class, Float.class); writeUnitTestingFloatSingleCommandParams.put( - "value", - unitTestingfloatSingleCommandParameterInfo - ); - InteractionInfo writeUnitTestingFloatSingleAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).writeFloatSingleAttribute( - (DefaultClusterCallback) callback, - (Float) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeUnitTestingFloatSingleCommandParams - ); - writeUnitTestingInteractionInfo.put("writeFloatSingleAttribute", writeUnitTestingFloatSingleAttributeInteractionInfo); - Map writeUnitTestingFloatDoubleCommandParams = new LinkedHashMap(); + "value", unitTestingfloatSingleCommandParameterInfo); + InteractionInfo writeUnitTestingFloatSingleAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .writeFloatSingleAttribute( + (DefaultClusterCallback) callback, (Float) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeUnitTestingFloatSingleCommandParams); + writeUnitTestingInteractionInfo.put( + "writeFloatSingleAttribute", writeUnitTestingFloatSingleAttributeInteractionInfo); + Map writeUnitTestingFloatDoubleCommandParams = + new LinkedHashMap(); CommandParameterInfo unitTestingfloatDoubleCommandParameterInfo = - new CommandParameterInfo( - "value", - Double.class, - Double.class - ); + new CommandParameterInfo("value", Double.class, Double.class); writeUnitTestingFloatDoubleCommandParams.put( - "value", - unitTestingfloatDoubleCommandParameterInfo - ); - InteractionInfo writeUnitTestingFloatDoubleAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).writeFloatDoubleAttribute( - (DefaultClusterCallback) callback, - (Double) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeUnitTestingFloatDoubleCommandParams - ); - writeUnitTestingInteractionInfo.put("writeFloatDoubleAttribute", writeUnitTestingFloatDoubleAttributeInteractionInfo); - Map writeUnitTestingOctetStringCommandParams = new LinkedHashMap(); + "value", unitTestingfloatDoubleCommandParameterInfo); + InteractionInfo writeUnitTestingFloatDoubleAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .writeFloatDoubleAttribute( + (DefaultClusterCallback) callback, (Double) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeUnitTestingFloatDoubleCommandParams); + writeUnitTestingInteractionInfo.put( + "writeFloatDoubleAttribute", writeUnitTestingFloatDoubleAttributeInteractionInfo); + Map writeUnitTestingOctetStringCommandParams = + new LinkedHashMap(); CommandParameterInfo unitTestingoctetStringCommandParameterInfo = - new CommandParameterInfo( - "value", - byte[].class, - byte[].class - ); + new CommandParameterInfo("value", byte[].class, byte[].class); writeUnitTestingOctetStringCommandParams.put( - "value", - unitTestingoctetStringCommandParameterInfo - ); - InteractionInfo writeUnitTestingOctetStringAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).writeOctetStringAttribute( - (DefaultClusterCallback) callback, - (byte[]) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeUnitTestingOctetStringCommandParams - ); - writeUnitTestingInteractionInfo.put("writeOctetStringAttribute", writeUnitTestingOctetStringAttributeInteractionInfo); - Map writeUnitTestingLongOctetStringCommandParams = new LinkedHashMap(); + "value", unitTestingoctetStringCommandParameterInfo); + InteractionInfo writeUnitTestingOctetStringAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .writeOctetStringAttribute( + (DefaultClusterCallback) callback, (byte[]) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeUnitTestingOctetStringCommandParams); + writeUnitTestingInteractionInfo.put( + "writeOctetStringAttribute", writeUnitTestingOctetStringAttributeInteractionInfo); + Map writeUnitTestingLongOctetStringCommandParams = + new LinkedHashMap(); CommandParameterInfo unitTestinglongOctetStringCommandParameterInfo = - new CommandParameterInfo( - "value", - byte[].class, - byte[].class - ); + new CommandParameterInfo("value", byte[].class, byte[].class); writeUnitTestingLongOctetStringCommandParams.put( - "value", - unitTestinglongOctetStringCommandParameterInfo - ); - InteractionInfo writeUnitTestingLongOctetStringAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).writeLongOctetStringAttribute( - (DefaultClusterCallback) callback, - (byte[]) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeUnitTestingLongOctetStringCommandParams - ); - writeUnitTestingInteractionInfo.put("writeLongOctetStringAttribute", writeUnitTestingLongOctetStringAttributeInteractionInfo); - Map writeUnitTestingCharStringCommandParams = new LinkedHashMap(); + "value", unitTestinglongOctetStringCommandParameterInfo); + InteractionInfo writeUnitTestingLongOctetStringAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .writeLongOctetStringAttribute( + (DefaultClusterCallback) callback, (byte[]) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeUnitTestingLongOctetStringCommandParams); + writeUnitTestingInteractionInfo.put( + "writeLongOctetStringAttribute", writeUnitTestingLongOctetStringAttributeInteractionInfo); + Map writeUnitTestingCharStringCommandParams = + new LinkedHashMap(); CommandParameterInfo unitTestingcharStringCommandParameterInfo = - new CommandParameterInfo( - "value", - String.class, - String.class - ); - writeUnitTestingCharStringCommandParams.put( - "value", - unitTestingcharStringCommandParameterInfo - ); - InteractionInfo writeUnitTestingCharStringAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).writeCharStringAttribute( - (DefaultClusterCallback) callback, - (String) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeUnitTestingCharStringCommandParams - ); - writeUnitTestingInteractionInfo.put("writeCharStringAttribute", writeUnitTestingCharStringAttributeInteractionInfo); - Map writeUnitTestingLongCharStringCommandParams = new LinkedHashMap(); + new CommandParameterInfo("value", String.class, String.class); + writeUnitTestingCharStringCommandParams.put("value", unitTestingcharStringCommandParameterInfo); + InteractionInfo writeUnitTestingCharStringAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .writeCharStringAttribute( + (DefaultClusterCallback) callback, (String) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeUnitTestingCharStringCommandParams); + writeUnitTestingInteractionInfo.put( + "writeCharStringAttribute", writeUnitTestingCharStringAttributeInteractionInfo); + Map writeUnitTestingLongCharStringCommandParams = + new LinkedHashMap(); CommandParameterInfo unitTestinglongCharStringCommandParameterInfo = - new CommandParameterInfo( - "value", - String.class, - String.class - ); + new CommandParameterInfo("value", String.class, String.class); writeUnitTestingLongCharStringCommandParams.put( - "value", - unitTestinglongCharStringCommandParameterInfo - ); - InteractionInfo writeUnitTestingLongCharStringAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).writeLongCharStringAttribute( - (DefaultClusterCallback) callback, - (String) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeUnitTestingLongCharStringCommandParams - ); - writeUnitTestingInteractionInfo.put("writeLongCharStringAttribute", writeUnitTestingLongCharStringAttributeInteractionInfo); - Map writeUnitTestingEpochUsCommandParams = new LinkedHashMap(); + "value", unitTestinglongCharStringCommandParameterInfo); + InteractionInfo writeUnitTestingLongCharStringAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .writeLongCharStringAttribute( + (DefaultClusterCallback) callback, (String) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeUnitTestingLongCharStringCommandParams); + writeUnitTestingInteractionInfo.put( + "writeLongCharStringAttribute", writeUnitTestingLongCharStringAttributeInteractionInfo); + Map writeUnitTestingEpochUsCommandParams = + new LinkedHashMap(); CommandParameterInfo unitTestingepochUsCommandParameterInfo = - new CommandParameterInfo( - "value", - Long.class, - Long.class - ); - writeUnitTestingEpochUsCommandParams.put( - "value", - unitTestingepochUsCommandParameterInfo - ); - InteractionInfo writeUnitTestingEpochUsAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).writeEpochUsAttribute( - (DefaultClusterCallback) callback, - (Long) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeUnitTestingEpochUsCommandParams - ); - writeUnitTestingInteractionInfo.put("writeEpochUsAttribute", writeUnitTestingEpochUsAttributeInteractionInfo); - Map writeUnitTestingEpochSCommandParams = new LinkedHashMap(); + new CommandParameterInfo("value", Long.class, Long.class); + writeUnitTestingEpochUsCommandParams.put("value", unitTestingepochUsCommandParameterInfo); + InteractionInfo writeUnitTestingEpochUsAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .writeEpochUsAttribute( + (DefaultClusterCallback) callback, (Long) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeUnitTestingEpochUsCommandParams); + writeUnitTestingInteractionInfo.put( + "writeEpochUsAttribute", writeUnitTestingEpochUsAttributeInteractionInfo); + Map writeUnitTestingEpochSCommandParams = + new LinkedHashMap(); CommandParameterInfo unitTestingepochSCommandParameterInfo = - new CommandParameterInfo( - "value", - Long.class, - Long.class - ); - writeUnitTestingEpochSCommandParams.put( - "value", - unitTestingepochSCommandParameterInfo - ); - InteractionInfo writeUnitTestingEpochSAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).writeEpochSAttribute( - (DefaultClusterCallback) callback, - (Long) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeUnitTestingEpochSCommandParams - ); - writeUnitTestingInteractionInfo.put("writeEpochSAttribute", writeUnitTestingEpochSAttributeInteractionInfo); - Map writeUnitTestingVendorIdCommandParams = new LinkedHashMap(); + new CommandParameterInfo("value", Long.class, Long.class); + writeUnitTestingEpochSCommandParams.put("value", unitTestingepochSCommandParameterInfo); + InteractionInfo writeUnitTestingEpochSAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .writeEpochSAttribute( + (DefaultClusterCallback) callback, (Long) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeUnitTestingEpochSCommandParams); + writeUnitTestingInteractionInfo.put( + "writeEpochSAttribute", writeUnitTestingEpochSAttributeInteractionInfo); + Map writeUnitTestingVendorIdCommandParams = + new LinkedHashMap(); CommandParameterInfo unitTestingvendorIdCommandParameterInfo = - new CommandParameterInfo( - "value", - Integer.class, - Integer.class - ); - writeUnitTestingVendorIdCommandParams.put( - "value", - unitTestingvendorIdCommandParameterInfo - ); - InteractionInfo writeUnitTestingVendorIdAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).writeVendorIdAttribute( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeUnitTestingVendorIdCommandParams - ); - writeUnitTestingInteractionInfo.put("writeVendorIdAttribute", writeUnitTestingVendorIdAttributeInteractionInfo); - Map writeUnitTestingEnumAttrCommandParams = new LinkedHashMap(); + new CommandParameterInfo("value", Integer.class, Integer.class); + writeUnitTestingVendorIdCommandParams.put("value", unitTestingvendorIdCommandParameterInfo); + InteractionInfo writeUnitTestingVendorIdAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .writeVendorIdAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeUnitTestingVendorIdCommandParams); + writeUnitTestingInteractionInfo.put( + "writeVendorIdAttribute", writeUnitTestingVendorIdAttributeInteractionInfo); + Map writeUnitTestingEnumAttrCommandParams = + new LinkedHashMap(); CommandParameterInfo unitTestingenumAttrCommandParameterInfo = - new CommandParameterInfo( - "value", - Integer.class, - Integer.class - ); - writeUnitTestingEnumAttrCommandParams.put( - "value", - unitTestingenumAttrCommandParameterInfo - ); - InteractionInfo writeUnitTestingEnumAttrAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).writeEnumAttrAttribute( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeUnitTestingEnumAttrCommandParams - ); - writeUnitTestingInteractionInfo.put("writeEnumAttrAttribute", writeUnitTestingEnumAttrAttributeInteractionInfo); - Map writeUnitTestingRangeRestrictedInt8uCommandParams = new LinkedHashMap(); + new CommandParameterInfo("value", Integer.class, Integer.class); + writeUnitTestingEnumAttrCommandParams.put("value", unitTestingenumAttrCommandParameterInfo); + InteractionInfo writeUnitTestingEnumAttrAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .writeEnumAttrAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeUnitTestingEnumAttrCommandParams); + writeUnitTestingInteractionInfo.put( + "writeEnumAttrAttribute", writeUnitTestingEnumAttrAttributeInteractionInfo); + Map writeUnitTestingRangeRestrictedInt8uCommandParams = + new LinkedHashMap(); CommandParameterInfo unitTestingrangeRestrictedInt8uCommandParameterInfo = - new CommandParameterInfo( - "value", - Integer.class, - Integer.class - ); + new CommandParameterInfo("value", Integer.class, Integer.class); writeUnitTestingRangeRestrictedInt8uCommandParams.put( - "value", - unitTestingrangeRestrictedInt8uCommandParameterInfo - ); - InteractionInfo writeUnitTestingRangeRestrictedInt8uAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).writeRangeRestrictedInt8uAttribute( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeUnitTestingRangeRestrictedInt8uCommandParams - ); - writeUnitTestingInteractionInfo.put("writeRangeRestrictedInt8uAttribute", writeUnitTestingRangeRestrictedInt8uAttributeInteractionInfo); - Map writeUnitTestingRangeRestrictedInt8sCommandParams = new LinkedHashMap(); + "value", unitTestingrangeRestrictedInt8uCommandParameterInfo); + InteractionInfo writeUnitTestingRangeRestrictedInt8uAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .writeRangeRestrictedInt8uAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeUnitTestingRangeRestrictedInt8uCommandParams); + writeUnitTestingInteractionInfo.put( + "writeRangeRestrictedInt8uAttribute", + writeUnitTestingRangeRestrictedInt8uAttributeInteractionInfo); + Map writeUnitTestingRangeRestrictedInt8sCommandParams = + new LinkedHashMap(); CommandParameterInfo unitTestingrangeRestrictedInt8sCommandParameterInfo = - new CommandParameterInfo( - "value", - Integer.class, - Integer.class - ); + new CommandParameterInfo("value", Integer.class, Integer.class); writeUnitTestingRangeRestrictedInt8sCommandParams.put( - "value", - unitTestingrangeRestrictedInt8sCommandParameterInfo - ); - InteractionInfo writeUnitTestingRangeRestrictedInt8sAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).writeRangeRestrictedInt8sAttribute( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeUnitTestingRangeRestrictedInt8sCommandParams - ); - writeUnitTestingInteractionInfo.put("writeRangeRestrictedInt8sAttribute", writeUnitTestingRangeRestrictedInt8sAttributeInteractionInfo); - Map writeUnitTestingRangeRestrictedInt16uCommandParams = new LinkedHashMap(); + "value", unitTestingrangeRestrictedInt8sCommandParameterInfo); + InteractionInfo writeUnitTestingRangeRestrictedInt8sAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .writeRangeRestrictedInt8sAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeUnitTestingRangeRestrictedInt8sCommandParams); + writeUnitTestingInteractionInfo.put( + "writeRangeRestrictedInt8sAttribute", + writeUnitTestingRangeRestrictedInt8sAttributeInteractionInfo); + Map writeUnitTestingRangeRestrictedInt16uCommandParams = + new LinkedHashMap(); CommandParameterInfo unitTestingrangeRestrictedInt16uCommandParameterInfo = - new CommandParameterInfo( - "value", - Integer.class, - Integer.class - ); + new CommandParameterInfo("value", Integer.class, Integer.class); writeUnitTestingRangeRestrictedInt16uCommandParams.put( - "value", - unitTestingrangeRestrictedInt16uCommandParameterInfo - ); - InteractionInfo writeUnitTestingRangeRestrictedInt16uAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).writeRangeRestrictedInt16uAttribute( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeUnitTestingRangeRestrictedInt16uCommandParams - ); - writeUnitTestingInteractionInfo.put("writeRangeRestrictedInt16uAttribute", writeUnitTestingRangeRestrictedInt16uAttributeInteractionInfo); - Map writeUnitTestingRangeRestrictedInt16sCommandParams = new LinkedHashMap(); + "value", unitTestingrangeRestrictedInt16uCommandParameterInfo); + InteractionInfo writeUnitTestingRangeRestrictedInt16uAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .writeRangeRestrictedInt16uAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeUnitTestingRangeRestrictedInt16uCommandParams); + writeUnitTestingInteractionInfo.put( + "writeRangeRestrictedInt16uAttribute", + writeUnitTestingRangeRestrictedInt16uAttributeInteractionInfo); + Map writeUnitTestingRangeRestrictedInt16sCommandParams = + new LinkedHashMap(); CommandParameterInfo unitTestingrangeRestrictedInt16sCommandParameterInfo = - new CommandParameterInfo( - "value", - Integer.class, - Integer.class - ); + new CommandParameterInfo("value", Integer.class, Integer.class); writeUnitTestingRangeRestrictedInt16sCommandParams.put( - "value", - unitTestingrangeRestrictedInt16sCommandParameterInfo - ); - InteractionInfo writeUnitTestingRangeRestrictedInt16sAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).writeRangeRestrictedInt16sAttribute( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeUnitTestingRangeRestrictedInt16sCommandParams - ); - writeUnitTestingInteractionInfo.put("writeRangeRestrictedInt16sAttribute", writeUnitTestingRangeRestrictedInt16sAttributeInteractionInfo); - Map writeUnitTestingTimedWriteBooleanCommandParams = new LinkedHashMap(); + "value", unitTestingrangeRestrictedInt16sCommandParameterInfo); + InteractionInfo writeUnitTestingRangeRestrictedInt16sAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .writeRangeRestrictedInt16sAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeUnitTestingRangeRestrictedInt16sCommandParams); + writeUnitTestingInteractionInfo.put( + "writeRangeRestrictedInt16sAttribute", + writeUnitTestingRangeRestrictedInt16sAttributeInteractionInfo); + Map writeUnitTestingTimedWriteBooleanCommandParams = + new LinkedHashMap(); CommandParameterInfo unitTestingtimedWriteBooleanCommandParameterInfo = - new CommandParameterInfo( - "value", - Boolean.class, - Boolean.class - ); + new CommandParameterInfo("value", Boolean.class, Boolean.class); writeUnitTestingTimedWriteBooleanCommandParams.put( - "value", - unitTestingtimedWriteBooleanCommandParameterInfo - ); - InteractionInfo writeUnitTestingTimedWriteBooleanAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).writeTimedWriteBooleanAttribute( - (DefaultClusterCallback) callback, - (Boolean) commandArguments.get("value"), 10000 - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeUnitTestingTimedWriteBooleanCommandParams - ); - writeUnitTestingInteractionInfo.put("writeTimedWriteBooleanAttribute", writeUnitTestingTimedWriteBooleanAttributeInteractionInfo); - Map writeUnitTestingGeneralErrorBooleanCommandParams = new LinkedHashMap(); + "value", unitTestingtimedWriteBooleanCommandParameterInfo); + InteractionInfo writeUnitTestingTimedWriteBooleanAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .writeTimedWriteBooleanAttribute( + (DefaultClusterCallback) callback, + (Boolean) commandArguments.get("value"), + 10000); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeUnitTestingTimedWriteBooleanCommandParams); + writeUnitTestingInteractionInfo.put( + "writeTimedWriteBooleanAttribute", + writeUnitTestingTimedWriteBooleanAttributeInteractionInfo); + Map writeUnitTestingGeneralErrorBooleanCommandParams = + new LinkedHashMap(); CommandParameterInfo unitTestinggeneralErrorBooleanCommandParameterInfo = - new CommandParameterInfo( - "value", - Boolean.class, - Boolean.class - ); + new CommandParameterInfo("value", Boolean.class, Boolean.class); writeUnitTestingGeneralErrorBooleanCommandParams.put( - "value", - unitTestinggeneralErrorBooleanCommandParameterInfo - ); - InteractionInfo writeUnitTestingGeneralErrorBooleanAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).writeGeneralErrorBooleanAttribute( - (DefaultClusterCallback) callback, - (Boolean) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeUnitTestingGeneralErrorBooleanCommandParams - ); - writeUnitTestingInteractionInfo.put("writeGeneralErrorBooleanAttribute", writeUnitTestingGeneralErrorBooleanAttributeInteractionInfo); - Map writeUnitTestingClusterErrorBooleanCommandParams = new LinkedHashMap(); + "value", unitTestinggeneralErrorBooleanCommandParameterInfo); + InteractionInfo writeUnitTestingGeneralErrorBooleanAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .writeGeneralErrorBooleanAttribute( + (DefaultClusterCallback) callback, (Boolean) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeUnitTestingGeneralErrorBooleanCommandParams); + writeUnitTestingInteractionInfo.put( + "writeGeneralErrorBooleanAttribute", + writeUnitTestingGeneralErrorBooleanAttributeInteractionInfo); + Map writeUnitTestingClusterErrorBooleanCommandParams = + new LinkedHashMap(); CommandParameterInfo unitTestingclusterErrorBooleanCommandParameterInfo = - new CommandParameterInfo( - "value", - Boolean.class, - Boolean.class - ); + new CommandParameterInfo("value", Boolean.class, Boolean.class); writeUnitTestingClusterErrorBooleanCommandParams.put( - "value", - unitTestingclusterErrorBooleanCommandParameterInfo - ); - InteractionInfo writeUnitTestingClusterErrorBooleanAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).writeClusterErrorBooleanAttribute( - (DefaultClusterCallback) callback, - (Boolean) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeUnitTestingClusterErrorBooleanCommandParams - ); - writeUnitTestingInteractionInfo.put("writeClusterErrorBooleanAttribute", writeUnitTestingClusterErrorBooleanAttributeInteractionInfo); - Map writeUnitTestingUnsupportedCommandParams = new LinkedHashMap(); + "value", unitTestingclusterErrorBooleanCommandParameterInfo); + InteractionInfo writeUnitTestingClusterErrorBooleanAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .writeClusterErrorBooleanAttribute( + (DefaultClusterCallback) callback, (Boolean) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeUnitTestingClusterErrorBooleanCommandParams); + writeUnitTestingInteractionInfo.put( + "writeClusterErrorBooleanAttribute", + writeUnitTestingClusterErrorBooleanAttributeInteractionInfo); + Map writeUnitTestingUnsupportedCommandParams = + new LinkedHashMap(); CommandParameterInfo unitTestingunsupportedCommandParameterInfo = - new CommandParameterInfo( - "value", - Boolean.class, - Boolean.class - ); + new CommandParameterInfo("value", Boolean.class, Boolean.class); writeUnitTestingUnsupportedCommandParams.put( - "value", - unitTestingunsupportedCommandParameterInfo - ); - InteractionInfo writeUnitTestingUnsupportedAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).writeUnsupportedAttribute( - (DefaultClusterCallback) callback, - (Boolean) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeUnitTestingUnsupportedCommandParams - ); - writeUnitTestingInteractionInfo.put("writeUnsupportedAttribute", writeUnitTestingUnsupportedAttributeInteractionInfo); - Map writeUnitTestingNullableBooleanCommandParams = new LinkedHashMap(); + "value", unitTestingunsupportedCommandParameterInfo); + InteractionInfo writeUnitTestingUnsupportedAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .writeUnsupportedAttribute( + (DefaultClusterCallback) callback, (Boolean) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeUnitTestingUnsupportedCommandParams); + writeUnitTestingInteractionInfo.put( + "writeUnsupportedAttribute", writeUnitTestingUnsupportedAttributeInteractionInfo); + Map writeUnitTestingNullableBooleanCommandParams = + new LinkedHashMap(); CommandParameterInfo unitTestingnullableBooleanCommandParameterInfo = - new CommandParameterInfo( - "value", - Boolean.class, - Boolean.class - ); + new CommandParameterInfo("value", Boolean.class, Boolean.class); writeUnitTestingNullableBooleanCommandParams.put( - "value", - unitTestingnullableBooleanCommandParameterInfo - ); - InteractionInfo writeUnitTestingNullableBooleanAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).writeNullableBooleanAttribute( - (DefaultClusterCallback) callback, - (Boolean) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeUnitTestingNullableBooleanCommandParams - ); - writeUnitTestingInteractionInfo.put("writeNullableBooleanAttribute", writeUnitTestingNullableBooleanAttributeInteractionInfo); - Map writeUnitTestingNullableBitmap8CommandParams = new LinkedHashMap(); + "value", unitTestingnullableBooleanCommandParameterInfo); + InteractionInfo writeUnitTestingNullableBooleanAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .writeNullableBooleanAttribute( + (DefaultClusterCallback) callback, (Boolean) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeUnitTestingNullableBooleanCommandParams); + writeUnitTestingInteractionInfo.put( + "writeNullableBooleanAttribute", writeUnitTestingNullableBooleanAttributeInteractionInfo); + Map writeUnitTestingNullableBitmap8CommandParams = + new LinkedHashMap(); CommandParameterInfo unitTestingnullableBitmap8CommandParameterInfo = - new CommandParameterInfo( - "value", - Integer.class, - Integer.class - ); + new CommandParameterInfo("value", Integer.class, Integer.class); writeUnitTestingNullableBitmap8CommandParams.put( - "value", - unitTestingnullableBitmap8CommandParameterInfo - ); - InteractionInfo writeUnitTestingNullableBitmap8AttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).writeNullableBitmap8Attribute( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeUnitTestingNullableBitmap8CommandParams - ); - writeUnitTestingInteractionInfo.put("writeNullableBitmap8Attribute", writeUnitTestingNullableBitmap8AttributeInteractionInfo); - Map writeUnitTestingNullableBitmap16CommandParams = new LinkedHashMap(); + "value", unitTestingnullableBitmap8CommandParameterInfo); + InteractionInfo writeUnitTestingNullableBitmap8AttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .writeNullableBitmap8Attribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeUnitTestingNullableBitmap8CommandParams); + writeUnitTestingInteractionInfo.put( + "writeNullableBitmap8Attribute", writeUnitTestingNullableBitmap8AttributeInteractionInfo); + Map writeUnitTestingNullableBitmap16CommandParams = + new LinkedHashMap(); CommandParameterInfo unitTestingnullableBitmap16CommandParameterInfo = - new CommandParameterInfo( - "value", - Integer.class, - Integer.class - ); + new CommandParameterInfo("value", Integer.class, Integer.class); writeUnitTestingNullableBitmap16CommandParams.put( - "value", - unitTestingnullableBitmap16CommandParameterInfo - ); - InteractionInfo writeUnitTestingNullableBitmap16AttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).writeNullableBitmap16Attribute( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeUnitTestingNullableBitmap16CommandParams - ); - writeUnitTestingInteractionInfo.put("writeNullableBitmap16Attribute", writeUnitTestingNullableBitmap16AttributeInteractionInfo); - Map writeUnitTestingNullableBitmap32CommandParams = new LinkedHashMap(); + "value", unitTestingnullableBitmap16CommandParameterInfo); + InteractionInfo writeUnitTestingNullableBitmap16AttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .writeNullableBitmap16Attribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeUnitTestingNullableBitmap16CommandParams); + writeUnitTestingInteractionInfo.put( + "writeNullableBitmap16Attribute", writeUnitTestingNullableBitmap16AttributeInteractionInfo); + Map writeUnitTestingNullableBitmap32CommandParams = + new LinkedHashMap(); CommandParameterInfo unitTestingnullableBitmap32CommandParameterInfo = - new CommandParameterInfo( - "value", - Long.class, - Long.class - ); + new CommandParameterInfo("value", Long.class, Long.class); writeUnitTestingNullableBitmap32CommandParams.put( - "value", - unitTestingnullableBitmap32CommandParameterInfo - ); - InteractionInfo writeUnitTestingNullableBitmap32AttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).writeNullableBitmap32Attribute( - (DefaultClusterCallback) callback, - (Long) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeUnitTestingNullableBitmap32CommandParams - ); - writeUnitTestingInteractionInfo.put("writeNullableBitmap32Attribute", writeUnitTestingNullableBitmap32AttributeInteractionInfo); - Map writeUnitTestingNullableBitmap64CommandParams = new LinkedHashMap(); + "value", unitTestingnullableBitmap32CommandParameterInfo); + InteractionInfo writeUnitTestingNullableBitmap32AttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .writeNullableBitmap32Attribute( + (DefaultClusterCallback) callback, (Long) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeUnitTestingNullableBitmap32CommandParams); + writeUnitTestingInteractionInfo.put( + "writeNullableBitmap32Attribute", writeUnitTestingNullableBitmap32AttributeInteractionInfo); + Map writeUnitTestingNullableBitmap64CommandParams = + new LinkedHashMap(); CommandParameterInfo unitTestingnullableBitmap64CommandParameterInfo = - new CommandParameterInfo( - "value", - Long.class, - Long.class - ); + new CommandParameterInfo("value", Long.class, Long.class); writeUnitTestingNullableBitmap64CommandParams.put( - "value", - unitTestingnullableBitmap64CommandParameterInfo - ); - InteractionInfo writeUnitTestingNullableBitmap64AttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).writeNullableBitmap64Attribute( - (DefaultClusterCallback) callback, - (Long) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeUnitTestingNullableBitmap64CommandParams - ); - writeUnitTestingInteractionInfo.put("writeNullableBitmap64Attribute", writeUnitTestingNullableBitmap64AttributeInteractionInfo); - Map writeUnitTestingNullableInt8uCommandParams = new LinkedHashMap(); + "value", unitTestingnullableBitmap64CommandParameterInfo); + InteractionInfo writeUnitTestingNullableBitmap64AttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .writeNullableBitmap64Attribute( + (DefaultClusterCallback) callback, (Long) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeUnitTestingNullableBitmap64CommandParams); + writeUnitTestingInteractionInfo.put( + "writeNullableBitmap64Attribute", writeUnitTestingNullableBitmap64AttributeInteractionInfo); + Map writeUnitTestingNullableInt8uCommandParams = + new LinkedHashMap(); CommandParameterInfo unitTestingnullableInt8uCommandParameterInfo = - new CommandParameterInfo( - "value", - Integer.class, - Integer.class - ); + new CommandParameterInfo("value", Integer.class, Integer.class); writeUnitTestingNullableInt8uCommandParams.put( - "value", - unitTestingnullableInt8uCommandParameterInfo - ); - InteractionInfo writeUnitTestingNullableInt8uAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).writeNullableInt8uAttribute( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeUnitTestingNullableInt8uCommandParams - ); - writeUnitTestingInteractionInfo.put("writeNullableInt8uAttribute", writeUnitTestingNullableInt8uAttributeInteractionInfo); - Map writeUnitTestingNullableInt16uCommandParams = new LinkedHashMap(); + "value", unitTestingnullableInt8uCommandParameterInfo); + InteractionInfo writeUnitTestingNullableInt8uAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .writeNullableInt8uAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeUnitTestingNullableInt8uCommandParams); + writeUnitTestingInteractionInfo.put( + "writeNullableInt8uAttribute", writeUnitTestingNullableInt8uAttributeInteractionInfo); + Map writeUnitTestingNullableInt16uCommandParams = + new LinkedHashMap(); CommandParameterInfo unitTestingnullableInt16uCommandParameterInfo = - new CommandParameterInfo( - "value", - Integer.class, - Integer.class - ); + new CommandParameterInfo("value", Integer.class, Integer.class); writeUnitTestingNullableInt16uCommandParams.put( - "value", - unitTestingnullableInt16uCommandParameterInfo - ); - InteractionInfo writeUnitTestingNullableInt16uAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).writeNullableInt16uAttribute( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeUnitTestingNullableInt16uCommandParams - ); - writeUnitTestingInteractionInfo.put("writeNullableInt16uAttribute", writeUnitTestingNullableInt16uAttributeInteractionInfo); - Map writeUnitTestingNullableInt24uCommandParams = new LinkedHashMap(); + "value", unitTestingnullableInt16uCommandParameterInfo); + InteractionInfo writeUnitTestingNullableInt16uAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .writeNullableInt16uAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeUnitTestingNullableInt16uCommandParams); + writeUnitTestingInteractionInfo.put( + "writeNullableInt16uAttribute", writeUnitTestingNullableInt16uAttributeInteractionInfo); + Map writeUnitTestingNullableInt24uCommandParams = + new LinkedHashMap(); CommandParameterInfo unitTestingnullableInt24uCommandParameterInfo = - new CommandParameterInfo( - "value", - Long.class, - Long.class - ); + new CommandParameterInfo("value", Long.class, Long.class); writeUnitTestingNullableInt24uCommandParams.put( - "value", - unitTestingnullableInt24uCommandParameterInfo - ); - InteractionInfo writeUnitTestingNullableInt24uAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).writeNullableInt24uAttribute( - (DefaultClusterCallback) callback, - (Long) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeUnitTestingNullableInt24uCommandParams - ); - writeUnitTestingInteractionInfo.put("writeNullableInt24uAttribute", writeUnitTestingNullableInt24uAttributeInteractionInfo); - Map writeUnitTestingNullableInt32uCommandParams = new LinkedHashMap(); + "value", unitTestingnullableInt24uCommandParameterInfo); + InteractionInfo writeUnitTestingNullableInt24uAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .writeNullableInt24uAttribute( + (DefaultClusterCallback) callback, (Long) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeUnitTestingNullableInt24uCommandParams); + writeUnitTestingInteractionInfo.put( + "writeNullableInt24uAttribute", writeUnitTestingNullableInt24uAttributeInteractionInfo); + Map writeUnitTestingNullableInt32uCommandParams = + new LinkedHashMap(); CommandParameterInfo unitTestingnullableInt32uCommandParameterInfo = - new CommandParameterInfo( - "value", - Long.class, - Long.class - ); + new CommandParameterInfo("value", Long.class, Long.class); writeUnitTestingNullableInt32uCommandParams.put( - "value", - unitTestingnullableInt32uCommandParameterInfo - ); - InteractionInfo writeUnitTestingNullableInt32uAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).writeNullableInt32uAttribute( - (DefaultClusterCallback) callback, - (Long) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeUnitTestingNullableInt32uCommandParams - ); - writeUnitTestingInteractionInfo.put("writeNullableInt32uAttribute", writeUnitTestingNullableInt32uAttributeInteractionInfo); - Map writeUnitTestingNullableInt40uCommandParams = new LinkedHashMap(); + "value", unitTestingnullableInt32uCommandParameterInfo); + InteractionInfo writeUnitTestingNullableInt32uAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .writeNullableInt32uAttribute( + (DefaultClusterCallback) callback, (Long) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeUnitTestingNullableInt32uCommandParams); + writeUnitTestingInteractionInfo.put( + "writeNullableInt32uAttribute", writeUnitTestingNullableInt32uAttributeInteractionInfo); + Map writeUnitTestingNullableInt40uCommandParams = + new LinkedHashMap(); CommandParameterInfo unitTestingnullableInt40uCommandParameterInfo = - new CommandParameterInfo( - "value", - Long.class, - Long.class - ); + new CommandParameterInfo("value", Long.class, Long.class); writeUnitTestingNullableInt40uCommandParams.put( - "value", - unitTestingnullableInt40uCommandParameterInfo - ); - InteractionInfo writeUnitTestingNullableInt40uAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).writeNullableInt40uAttribute( - (DefaultClusterCallback) callback, - (Long) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeUnitTestingNullableInt40uCommandParams - ); - writeUnitTestingInteractionInfo.put("writeNullableInt40uAttribute", writeUnitTestingNullableInt40uAttributeInteractionInfo); - Map writeUnitTestingNullableInt48uCommandParams = new LinkedHashMap(); + "value", unitTestingnullableInt40uCommandParameterInfo); + InteractionInfo writeUnitTestingNullableInt40uAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .writeNullableInt40uAttribute( + (DefaultClusterCallback) callback, (Long) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeUnitTestingNullableInt40uCommandParams); + writeUnitTestingInteractionInfo.put( + "writeNullableInt40uAttribute", writeUnitTestingNullableInt40uAttributeInteractionInfo); + Map writeUnitTestingNullableInt48uCommandParams = + new LinkedHashMap(); CommandParameterInfo unitTestingnullableInt48uCommandParameterInfo = - new CommandParameterInfo( - "value", - Long.class, - Long.class - ); + new CommandParameterInfo("value", Long.class, Long.class); writeUnitTestingNullableInt48uCommandParams.put( - "value", - unitTestingnullableInt48uCommandParameterInfo - ); - InteractionInfo writeUnitTestingNullableInt48uAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).writeNullableInt48uAttribute( - (DefaultClusterCallback) callback, - (Long) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeUnitTestingNullableInt48uCommandParams - ); - writeUnitTestingInteractionInfo.put("writeNullableInt48uAttribute", writeUnitTestingNullableInt48uAttributeInteractionInfo); - Map writeUnitTestingNullableInt56uCommandParams = new LinkedHashMap(); + "value", unitTestingnullableInt48uCommandParameterInfo); + InteractionInfo writeUnitTestingNullableInt48uAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .writeNullableInt48uAttribute( + (DefaultClusterCallback) callback, (Long) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeUnitTestingNullableInt48uCommandParams); + writeUnitTestingInteractionInfo.put( + "writeNullableInt48uAttribute", writeUnitTestingNullableInt48uAttributeInteractionInfo); + Map writeUnitTestingNullableInt56uCommandParams = + new LinkedHashMap(); CommandParameterInfo unitTestingnullableInt56uCommandParameterInfo = - new CommandParameterInfo( - "value", - Long.class, - Long.class - ); + new CommandParameterInfo("value", Long.class, Long.class); writeUnitTestingNullableInt56uCommandParams.put( - "value", - unitTestingnullableInt56uCommandParameterInfo - ); - InteractionInfo writeUnitTestingNullableInt56uAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).writeNullableInt56uAttribute( - (DefaultClusterCallback) callback, - (Long) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeUnitTestingNullableInt56uCommandParams - ); - writeUnitTestingInteractionInfo.put("writeNullableInt56uAttribute", writeUnitTestingNullableInt56uAttributeInteractionInfo); - Map writeUnitTestingNullableInt64uCommandParams = new LinkedHashMap(); + "value", unitTestingnullableInt56uCommandParameterInfo); + InteractionInfo writeUnitTestingNullableInt56uAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .writeNullableInt56uAttribute( + (DefaultClusterCallback) callback, (Long) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeUnitTestingNullableInt56uCommandParams); + writeUnitTestingInteractionInfo.put( + "writeNullableInt56uAttribute", writeUnitTestingNullableInt56uAttributeInteractionInfo); + Map writeUnitTestingNullableInt64uCommandParams = + new LinkedHashMap(); CommandParameterInfo unitTestingnullableInt64uCommandParameterInfo = - new CommandParameterInfo( - "value", - Long.class, - Long.class - ); + new CommandParameterInfo("value", Long.class, Long.class); writeUnitTestingNullableInt64uCommandParams.put( - "value", - unitTestingnullableInt64uCommandParameterInfo - ); - InteractionInfo writeUnitTestingNullableInt64uAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).writeNullableInt64uAttribute( - (DefaultClusterCallback) callback, - (Long) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeUnitTestingNullableInt64uCommandParams - ); - writeUnitTestingInteractionInfo.put("writeNullableInt64uAttribute", writeUnitTestingNullableInt64uAttributeInteractionInfo); - Map writeUnitTestingNullableInt8sCommandParams = new LinkedHashMap(); + "value", unitTestingnullableInt64uCommandParameterInfo); + InteractionInfo writeUnitTestingNullableInt64uAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .writeNullableInt64uAttribute( + (DefaultClusterCallback) callback, (Long) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeUnitTestingNullableInt64uCommandParams); + writeUnitTestingInteractionInfo.put( + "writeNullableInt64uAttribute", writeUnitTestingNullableInt64uAttributeInteractionInfo); + Map writeUnitTestingNullableInt8sCommandParams = + new LinkedHashMap(); CommandParameterInfo unitTestingnullableInt8sCommandParameterInfo = - new CommandParameterInfo( - "value", - Integer.class, - Integer.class - ); + new CommandParameterInfo("value", Integer.class, Integer.class); writeUnitTestingNullableInt8sCommandParams.put( - "value", - unitTestingnullableInt8sCommandParameterInfo - ); - InteractionInfo writeUnitTestingNullableInt8sAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).writeNullableInt8sAttribute( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeUnitTestingNullableInt8sCommandParams - ); - writeUnitTestingInteractionInfo.put("writeNullableInt8sAttribute", writeUnitTestingNullableInt8sAttributeInteractionInfo); - Map writeUnitTestingNullableInt16sCommandParams = new LinkedHashMap(); + "value", unitTestingnullableInt8sCommandParameterInfo); + InteractionInfo writeUnitTestingNullableInt8sAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .writeNullableInt8sAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeUnitTestingNullableInt8sCommandParams); + writeUnitTestingInteractionInfo.put( + "writeNullableInt8sAttribute", writeUnitTestingNullableInt8sAttributeInteractionInfo); + Map writeUnitTestingNullableInt16sCommandParams = + new LinkedHashMap(); CommandParameterInfo unitTestingnullableInt16sCommandParameterInfo = - new CommandParameterInfo( - "value", - Integer.class, - Integer.class - ); + new CommandParameterInfo("value", Integer.class, Integer.class); writeUnitTestingNullableInt16sCommandParams.put( - "value", - unitTestingnullableInt16sCommandParameterInfo - ); - InteractionInfo writeUnitTestingNullableInt16sAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).writeNullableInt16sAttribute( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeUnitTestingNullableInt16sCommandParams - ); - writeUnitTestingInteractionInfo.put("writeNullableInt16sAttribute", writeUnitTestingNullableInt16sAttributeInteractionInfo); - Map writeUnitTestingNullableInt24sCommandParams = new LinkedHashMap(); + "value", unitTestingnullableInt16sCommandParameterInfo); + InteractionInfo writeUnitTestingNullableInt16sAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .writeNullableInt16sAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeUnitTestingNullableInt16sCommandParams); + writeUnitTestingInteractionInfo.put( + "writeNullableInt16sAttribute", writeUnitTestingNullableInt16sAttributeInteractionInfo); + Map writeUnitTestingNullableInt24sCommandParams = + new LinkedHashMap(); CommandParameterInfo unitTestingnullableInt24sCommandParameterInfo = - new CommandParameterInfo( - "value", - Long.class, - Long.class - ); + new CommandParameterInfo("value", Long.class, Long.class); writeUnitTestingNullableInt24sCommandParams.put( - "value", - unitTestingnullableInt24sCommandParameterInfo - ); - InteractionInfo writeUnitTestingNullableInt24sAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).writeNullableInt24sAttribute( - (DefaultClusterCallback) callback, - (Long) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeUnitTestingNullableInt24sCommandParams - ); - writeUnitTestingInteractionInfo.put("writeNullableInt24sAttribute", writeUnitTestingNullableInt24sAttributeInteractionInfo); - Map writeUnitTestingNullableInt32sCommandParams = new LinkedHashMap(); + "value", unitTestingnullableInt24sCommandParameterInfo); + InteractionInfo writeUnitTestingNullableInt24sAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .writeNullableInt24sAttribute( + (DefaultClusterCallback) callback, (Long) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeUnitTestingNullableInt24sCommandParams); + writeUnitTestingInteractionInfo.put( + "writeNullableInt24sAttribute", writeUnitTestingNullableInt24sAttributeInteractionInfo); + Map writeUnitTestingNullableInt32sCommandParams = + new LinkedHashMap(); CommandParameterInfo unitTestingnullableInt32sCommandParameterInfo = - new CommandParameterInfo( - "value", - Long.class, - Long.class - ); + new CommandParameterInfo("value", Long.class, Long.class); writeUnitTestingNullableInt32sCommandParams.put( - "value", - unitTestingnullableInt32sCommandParameterInfo - ); - InteractionInfo writeUnitTestingNullableInt32sAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).writeNullableInt32sAttribute( - (DefaultClusterCallback) callback, - (Long) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeUnitTestingNullableInt32sCommandParams - ); - writeUnitTestingInteractionInfo.put("writeNullableInt32sAttribute", writeUnitTestingNullableInt32sAttributeInteractionInfo); - Map writeUnitTestingNullableInt40sCommandParams = new LinkedHashMap(); + "value", unitTestingnullableInt32sCommandParameterInfo); + InteractionInfo writeUnitTestingNullableInt32sAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .writeNullableInt32sAttribute( + (DefaultClusterCallback) callback, (Long) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeUnitTestingNullableInt32sCommandParams); + writeUnitTestingInteractionInfo.put( + "writeNullableInt32sAttribute", writeUnitTestingNullableInt32sAttributeInteractionInfo); + Map writeUnitTestingNullableInt40sCommandParams = + new LinkedHashMap(); CommandParameterInfo unitTestingnullableInt40sCommandParameterInfo = - new CommandParameterInfo( - "value", - Long.class, - Long.class - ); + new CommandParameterInfo("value", Long.class, Long.class); writeUnitTestingNullableInt40sCommandParams.put( - "value", - unitTestingnullableInt40sCommandParameterInfo - ); - InteractionInfo writeUnitTestingNullableInt40sAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).writeNullableInt40sAttribute( - (DefaultClusterCallback) callback, - (Long) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeUnitTestingNullableInt40sCommandParams - ); - writeUnitTestingInteractionInfo.put("writeNullableInt40sAttribute", writeUnitTestingNullableInt40sAttributeInteractionInfo); - Map writeUnitTestingNullableInt48sCommandParams = new LinkedHashMap(); + "value", unitTestingnullableInt40sCommandParameterInfo); + InteractionInfo writeUnitTestingNullableInt40sAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .writeNullableInt40sAttribute( + (DefaultClusterCallback) callback, (Long) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeUnitTestingNullableInt40sCommandParams); + writeUnitTestingInteractionInfo.put( + "writeNullableInt40sAttribute", writeUnitTestingNullableInt40sAttributeInteractionInfo); + Map writeUnitTestingNullableInt48sCommandParams = + new LinkedHashMap(); CommandParameterInfo unitTestingnullableInt48sCommandParameterInfo = - new CommandParameterInfo( - "value", - Long.class, - Long.class - ); + new CommandParameterInfo("value", Long.class, Long.class); writeUnitTestingNullableInt48sCommandParams.put( - "value", - unitTestingnullableInt48sCommandParameterInfo - ); - InteractionInfo writeUnitTestingNullableInt48sAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).writeNullableInt48sAttribute( - (DefaultClusterCallback) callback, - (Long) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeUnitTestingNullableInt48sCommandParams - ); - writeUnitTestingInteractionInfo.put("writeNullableInt48sAttribute", writeUnitTestingNullableInt48sAttributeInteractionInfo); - Map writeUnitTestingNullableInt56sCommandParams = new LinkedHashMap(); + "value", unitTestingnullableInt48sCommandParameterInfo); + InteractionInfo writeUnitTestingNullableInt48sAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .writeNullableInt48sAttribute( + (DefaultClusterCallback) callback, (Long) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeUnitTestingNullableInt48sCommandParams); + writeUnitTestingInteractionInfo.put( + "writeNullableInt48sAttribute", writeUnitTestingNullableInt48sAttributeInteractionInfo); + Map writeUnitTestingNullableInt56sCommandParams = + new LinkedHashMap(); CommandParameterInfo unitTestingnullableInt56sCommandParameterInfo = - new CommandParameterInfo( - "value", - Long.class, - Long.class - ); + new CommandParameterInfo("value", Long.class, Long.class); writeUnitTestingNullableInt56sCommandParams.put( - "value", - unitTestingnullableInt56sCommandParameterInfo - ); - InteractionInfo writeUnitTestingNullableInt56sAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).writeNullableInt56sAttribute( - (DefaultClusterCallback) callback, - (Long) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeUnitTestingNullableInt56sCommandParams - ); - writeUnitTestingInteractionInfo.put("writeNullableInt56sAttribute", writeUnitTestingNullableInt56sAttributeInteractionInfo); - Map writeUnitTestingNullableInt64sCommandParams = new LinkedHashMap(); + "value", unitTestingnullableInt56sCommandParameterInfo); + InteractionInfo writeUnitTestingNullableInt56sAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .writeNullableInt56sAttribute( + (DefaultClusterCallback) callback, (Long) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeUnitTestingNullableInt56sCommandParams); + writeUnitTestingInteractionInfo.put( + "writeNullableInt56sAttribute", writeUnitTestingNullableInt56sAttributeInteractionInfo); + Map writeUnitTestingNullableInt64sCommandParams = + new LinkedHashMap(); CommandParameterInfo unitTestingnullableInt64sCommandParameterInfo = - new CommandParameterInfo( - "value", - Long.class, - Long.class - ); + new CommandParameterInfo("value", Long.class, Long.class); writeUnitTestingNullableInt64sCommandParams.put( - "value", - unitTestingnullableInt64sCommandParameterInfo - ); - InteractionInfo writeUnitTestingNullableInt64sAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).writeNullableInt64sAttribute( - (DefaultClusterCallback) callback, - (Long) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeUnitTestingNullableInt64sCommandParams - ); - writeUnitTestingInteractionInfo.put("writeNullableInt64sAttribute", writeUnitTestingNullableInt64sAttributeInteractionInfo); - Map writeUnitTestingNullableEnum8CommandParams = new LinkedHashMap(); + "value", unitTestingnullableInt64sCommandParameterInfo); + InteractionInfo writeUnitTestingNullableInt64sAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .writeNullableInt64sAttribute( + (DefaultClusterCallback) callback, (Long) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeUnitTestingNullableInt64sCommandParams); + writeUnitTestingInteractionInfo.put( + "writeNullableInt64sAttribute", writeUnitTestingNullableInt64sAttributeInteractionInfo); + Map writeUnitTestingNullableEnum8CommandParams = + new LinkedHashMap(); CommandParameterInfo unitTestingnullableEnum8CommandParameterInfo = - new CommandParameterInfo( - "value", - Integer.class, - Integer.class - ); + new CommandParameterInfo("value", Integer.class, Integer.class); writeUnitTestingNullableEnum8CommandParams.put( - "value", - unitTestingnullableEnum8CommandParameterInfo - ); - InteractionInfo writeUnitTestingNullableEnum8AttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).writeNullableEnum8Attribute( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeUnitTestingNullableEnum8CommandParams - ); - writeUnitTestingInteractionInfo.put("writeNullableEnum8Attribute", writeUnitTestingNullableEnum8AttributeInteractionInfo); - Map writeUnitTestingNullableEnum16CommandParams = new LinkedHashMap(); + "value", unitTestingnullableEnum8CommandParameterInfo); + InteractionInfo writeUnitTestingNullableEnum8AttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .writeNullableEnum8Attribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeUnitTestingNullableEnum8CommandParams); + writeUnitTestingInteractionInfo.put( + "writeNullableEnum8Attribute", writeUnitTestingNullableEnum8AttributeInteractionInfo); + Map writeUnitTestingNullableEnum16CommandParams = + new LinkedHashMap(); CommandParameterInfo unitTestingnullableEnum16CommandParameterInfo = - new CommandParameterInfo( - "value", - Integer.class, - Integer.class - ); + new CommandParameterInfo("value", Integer.class, Integer.class); writeUnitTestingNullableEnum16CommandParams.put( - "value", - unitTestingnullableEnum16CommandParameterInfo - ); - InteractionInfo writeUnitTestingNullableEnum16AttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).writeNullableEnum16Attribute( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeUnitTestingNullableEnum16CommandParams - ); - writeUnitTestingInteractionInfo.put("writeNullableEnum16Attribute", writeUnitTestingNullableEnum16AttributeInteractionInfo); - Map writeUnitTestingNullableFloatSingleCommandParams = new LinkedHashMap(); + "value", unitTestingnullableEnum16CommandParameterInfo); + InteractionInfo writeUnitTestingNullableEnum16AttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .writeNullableEnum16Attribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeUnitTestingNullableEnum16CommandParams); + writeUnitTestingInteractionInfo.put( + "writeNullableEnum16Attribute", writeUnitTestingNullableEnum16AttributeInteractionInfo); + Map writeUnitTestingNullableFloatSingleCommandParams = + new LinkedHashMap(); CommandParameterInfo unitTestingnullableFloatSingleCommandParameterInfo = - new CommandParameterInfo( - "value", - Float.class, - Float.class - ); + new CommandParameterInfo("value", Float.class, Float.class); writeUnitTestingNullableFloatSingleCommandParams.put( - "value", - unitTestingnullableFloatSingleCommandParameterInfo - ); - InteractionInfo writeUnitTestingNullableFloatSingleAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).writeNullableFloatSingleAttribute( - (DefaultClusterCallback) callback, - (Float) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeUnitTestingNullableFloatSingleCommandParams - ); - writeUnitTestingInteractionInfo.put("writeNullableFloatSingleAttribute", writeUnitTestingNullableFloatSingleAttributeInteractionInfo); - Map writeUnitTestingNullableFloatDoubleCommandParams = new LinkedHashMap(); + "value", unitTestingnullableFloatSingleCommandParameterInfo); + InteractionInfo writeUnitTestingNullableFloatSingleAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .writeNullableFloatSingleAttribute( + (DefaultClusterCallback) callback, (Float) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeUnitTestingNullableFloatSingleCommandParams); + writeUnitTestingInteractionInfo.put( + "writeNullableFloatSingleAttribute", + writeUnitTestingNullableFloatSingleAttributeInteractionInfo); + Map writeUnitTestingNullableFloatDoubleCommandParams = + new LinkedHashMap(); CommandParameterInfo unitTestingnullableFloatDoubleCommandParameterInfo = - new CommandParameterInfo( - "value", - Double.class, - Double.class - ); + new CommandParameterInfo("value", Double.class, Double.class); writeUnitTestingNullableFloatDoubleCommandParams.put( - "value", - unitTestingnullableFloatDoubleCommandParameterInfo - ); - InteractionInfo writeUnitTestingNullableFloatDoubleAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).writeNullableFloatDoubleAttribute( - (DefaultClusterCallback) callback, - (Double) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeUnitTestingNullableFloatDoubleCommandParams - ); - writeUnitTestingInteractionInfo.put("writeNullableFloatDoubleAttribute", writeUnitTestingNullableFloatDoubleAttributeInteractionInfo); - Map writeUnitTestingNullableOctetStringCommandParams = new LinkedHashMap(); + "value", unitTestingnullableFloatDoubleCommandParameterInfo); + InteractionInfo writeUnitTestingNullableFloatDoubleAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .writeNullableFloatDoubleAttribute( + (DefaultClusterCallback) callback, (Double) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeUnitTestingNullableFloatDoubleCommandParams); + writeUnitTestingInteractionInfo.put( + "writeNullableFloatDoubleAttribute", + writeUnitTestingNullableFloatDoubleAttributeInteractionInfo); + Map writeUnitTestingNullableOctetStringCommandParams = + new LinkedHashMap(); CommandParameterInfo unitTestingnullableOctetStringCommandParameterInfo = - new CommandParameterInfo( - "value", - byte[].class, - byte[].class - ); + new CommandParameterInfo("value", byte[].class, byte[].class); writeUnitTestingNullableOctetStringCommandParams.put( - "value", - unitTestingnullableOctetStringCommandParameterInfo - ); - InteractionInfo writeUnitTestingNullableOctetStringAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).writeNullableOctetStringAttribute( - (DefaultClusterCallback) callback, - (byte[]) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeUnitTestingNullableOctetStringCommandParams - ); - writeUnitTestingInteractionInfo.put("writeNullableOctetStringAttribute", writeUnitTestingNullableOctetStringAttributeInteractionInfo); - Map writeUnitTestingNullableCharStringCommandParams = new LinkedHashMap(); + "value", unitTestingnullableOctetStringCommandParameterInfo); + InteractionInfo writeUnitTestingNullableOctetStringAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .writeNullableOctetStringAttribute( + (DefaultClusterCallback) callback, (byte[]) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeUnitTestingNullableOctetStringCommandParams); + writeUnitTestingInteractionInfo.put( + "writeNullableOctetStringAttribute", + writeUnitTestingNullableOctetStringAttributeInteractionInfo); + Map writeUnitTestingNullableCharStringCommandParams = + new LinkedHashMap(); CommandParameterInfo unitTestingnullableCharStringCommandParameterInfo = - new CommandParameterInfo( - "value", - String.class, - String.class - ); + new CommandParameterInfo("value", String.class, String.class); writeUnitTestingNullableCharStringCommandParams.put( - "value", - unitTestingnullableCharStringCommandParameterInfo - ); - InteractionInfo writeUnitTestingNullableCharStringAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).writeNullableCharStringAttribute( - (DefaultClusterCallback) callback, - (String) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeUnitTestingNullableCharStringCommandParams - ); - writeUnitTestingInteractionInfo.put("writeNullableCharStringAttribute", writeUnitTestingNullableCharStringAttributeInteractionInfo); - Map writeUnitTestingNullableEnumAttrCommandParams = new LinkedHashMap(); + "value", unitTestingnullableCharStringCommandParameterInfo); + InteractionInfo writeUnitTestingNullableCharStringAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .writeNullableCharStringAttribute( + (DefaultClusterCallback) callback, (String) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeUnitTestingNullableCharStringCommandParams); + writeUnitTestingInteractionInfo.put( + "writeNullableCharStringAttribute", + writeUnitTestingNullableCharStringAttributeInteractionInfo); + Map writeUnitTestingNullableEnumAttrCommandParams = + new LinkedHashMap(); CommandParameterInfo unitTestingnullableEnumAttrCommandParameterInfo = - new CommandParameterInfo( - "value", - Integer.class, - Integer.class - ); + new CommandParameterInfo("value", Integer.class, Integer.class); writeUnitTestingNullableEnumAttrCommandParams.put( - "value", - unitTestingnullableEnumAttrCommandParameterInfo - ); - InteractionInfo writeUnitTestingNullableEnumAttrAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).writeNullableEnumAttrAttribute( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeUnitTestingNullableEnumAttrCommandParams - ); - writeUnitTestingInteractionInfo.put("writeNullableEnumAttrAttribute", writeUnitTestingNullableEnumAttrAttributeInteractionInfo); - Map writeUnitTestingNullableRangeRestrictedInt8uCommandParams = new LinkedHashMap(); + "value", unitTestingnullableEnumAttrCommandParameterInfo); + InteractionInfo writeUnitTestingNullableEnumAttrAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .writeNullableEnumAttrAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeUnitTestingNullableEnumAttrCommandParams); + writeUnitTestingInteractionInfo.put( + "writeNullableEnumAttrAttribute", writeUnitTestingNullableEnumAttrAttributeInteractionInfo); + Map writeUnitTestingNullableRangeRestrictedInt8uCommandParams = + new LinkedHashMap(); CommandParameterInfo unitTestingnullableRangeRestrictedInt8uCommandParameterInfo = - new CommandParameterInfo( - "value", - Integer.class, - Integer.class - ); + new CommandParameterInfo("value", Integer.class, Integer.class); writeUnitTestingNullableRangeRestrictedInt8uCommandParams.put( - "value", - unitTestingnullableRangeRestrictedInt8uCommandParameterInfo - ); - InteractionInfo writeUnitTestingNullableRangeRestrictedInt8uAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).writeNullableRangeRestrictedInt8uAttribute( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeUnitTestingNullableRangeRestrictedInt8uCommandParams - ); - writeUnitTestingInteractionInfo.put("writeNullableRangeRestrictedInt8uAttribute", writeUnitTestingNullableRangeRestrictedInt8uAttributeInteractionInfo); - Map writeUnitTestingNullableRangeRestrictedInt8sCommandParams = new LinkedHashMap(); + "value", unitTestingnullableRangeRestrictedInt8uCommandParameterInfo); + InteractionInfo writeUnitTestingNullableRangeRestrictedInt8uAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .writeNullableRangeRestrictedInt8uAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeUnitTestingNullableRangeRestrictedInt8uCommandParams); + writeUnitTestingInteractionInfo.put( + "writeNullableRangeRestrictedInt8uAttribute", + writeUnitTestingNullableRangeRestrictedInt8uAttributeInteractionInfo); + Map writeUnitTestingNullableRangeRestrictedInt8sCommandParams = + new LinkedHashMap(); CommandParameterInfo unitTestingnullableRangeRestrictedInt8sCommandParameterInfo = - new CommandParameterInfo( - "value", - Integer.class, - Integer.class - ); + new CommandParameterInfo("value", Integer.class, Integer.class); writeUnitTestingNullableRangeRestrictedInt8sCommandParams.put( - "value", - unitTestingnullableRangeRestrictedInt8sCommandParameterInfo - ); - InteractionInfo writeUnitTestingNullableRangeRestrictedInt8sAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).writeNullableRangeRestrictedInt8sAttribute( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeUnitTestingNullableRangeRestrictedInt8sCommandParams - ); - writeUnitTestingInteractionInfo.put("writeNullableRangeRestrictedInt8sAttribute", writeUnitTestingNullableRangeRestrictedInt8sAttributeInteractionInfo); - Map writeUnitTestingNullableRangeRestrictedInt16uCommandParams = new LinkedHashMap(); + "value", unitTestingnullableRangeRestrictedInt8sCommandParameterInfo); + InteractionInfo writeUnitTestingNullableRangeRestrictedInt8sAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .writeNullableRangeRestrictedInt8sAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeUnitTestingNullableRangeRestrictedInt8sCommandParams); + writeUnitTestingInteractionInfo.put( + "writeNullableRangeRestrictedInt8sAttribute", + writeUnitTestingNullableRangeRestrictedInt8sAttributeInteractionInfo); + Map writeUnitTestingNullableRangeRestrictedInt16uCommandParams = + new LinkedHashMap(); CommandParameterInfo unitTestingnullableRangeRestrictedInt16uCommandParameterInfo = - new CommandParameterInfo( - "value", - Integer.class, - Integer.class - ); + new CommandParameterInfo("value", Integer.class, Integer.class); writeUnitTestingNullableRangeRestrictedInt16uCommandParams.put( - "value", - unitTestingnullableRangeRestrictedInt16uCommandParameterInfo - ); - InteractionInfo writeUnitTestingNullableRangeRestrictedInt16uAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).writeNullableRangeRestrictedInt16uAttribute( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeUnitTestingNullableRangeRestrictedInt16uCommandParams - ); - writeUnitTestingInteractionInfo.put("writeNullableRangeRestrictedInt16uAttribute", writeUnitTestingNullableRangeRestrictedInt16uAttributeInteractionInfo); - Map writeUnitTestingNullableRangeRestrictedInt16sCommandParams = new LinkedHashMap(); + "value", unitTestingnullableRangeRestrictedInt16uCommandParameterInfo); + InteractionInfo writeUnitTestingNullableRangeRestrictedInt16uAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .writeNullableRangeRestrictedInt16uAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeUnitTestingNullableRangeRestrictedInt16uCommandParams); + writeUnitTestingInteractionInfo.put( + "writeNullableRangeRestrictedInt16uAttribute", + writeUnitTestingNullableRangeRestrictedInt16uAttributeInteractionInfo); + Map writeUnitTestingNullableRangeRestrictedInt16sCommandParams = + new LinkedHashMap(); CommandParameterInfo unitTestingnullableRangeRestrictedInt16sCommandParameterInfo = - new CommandParameterInfo( - "value", - Integer.class, - Integer.class - ); + new CommandParameterInfo("value", Integer.class, Integer.class); writeUnitTestingNullableRangeRestrictedInt16sCommandParams.put( - "value", - unitTestingnullableRangeRestrictedInt16sCommandParameterInfo - ); - InteractionInfo writeUnitTestingNullableRangeRestrictedInt16sAttributeInteractionInfo = new InteractionInfo( - (cluster, callback, commandArguments) -> { - ((ChipClusters.UnitTestingCluster) cluster).writeNullableRangeRestrictedInt16sAttribute( - (DefaultClusterCallback) callback, - (Integer) commandArguments.get("value") - ); - }, - () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), - writeUnitTestingNullableRangeRestrictedInt16sCommandParams - ); - writeUnitTestingInteractionInfo.put("writeNullableRangeRestrictedInt16sAttribute", writeUnitTestingNullableRangeRestrictedInt16sAttributeInteractionInfo); - writeAttributeMap.put("unitTesting", writeUnitTestingInteractionInfo);return writeAttributeMap; + "value", unitTestingnullableRangeRestrictedInt16sCommandParameterInfo); + InteractionInfo writeUnitTestingNullableRangeRestrictedInt16sAttributeInteractionInfo = + new InteractionInfo( + (cluster, callback, commandArguments) -> { + ((ChipClusters.UnitTestingCluster) cluster) + .writeNullableRangeRestrictedInt16sAttribute( + (DefaultClusterCallback) callback, (Integer) commandArguments.get("value")); + }, + () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(), + writeUnitTestingNullableRangeRestrictedInt16sCommandParams); + writeUnitTestingInteractionInfo.put( + "writeNullableRangeRestrictedInt16sAttribute", + writeUnitTestingNullableRangeRestrictedInt16sAttributeInteractionInfo); + writeAttributeMap.put("unitTesting", writeUnitTestingInteractionInfo); + return writeAttributeMap; } }