src/controller/python/chip/clusters/CHIPClusters.cpp
// End of Cluster RelativeHumidityMeasurement
// Cluster Scenes
End of Cluster RelativeHumidityMeasurement
Cluster Scenes
End of Cluster RelativeHumidityMeasurement Cluster Scenes
chip::ChipError::StorageType chip_ime_AppendCommand_Scenes_AddScene(chip::Controller::Device * device,
                                                                    chip::EndpointId ZCLendpointId, chip::GroupId, uint16_t groupId,
                                                                    uint8_t sceneId, uint16_t transitionTime,
                                                                    const uint8_t * sceneName, uint32_t sceneName_Len,
                                                                    chip::ClusterId clusterId, uint8_t length, uint8_t value)
{
    VerifyOrReturnError(device != nullptr, CHIP_ERROR_INVALID_ARGUMENT.AsInteger());
    chip::Controller::ScenesCluster cluster;
    cluster.Associate(device, ZCLendpointId);
    return cluster
        .AddScene(nullptr, nullptr, groupId, sceneId, transitionTime, chip::ByteSpan(sceneName, sceneName_Len), clusterId, length,
                  value)
        .AsInteger();
}
chip :: ChipError :: StorageType chip_ime_AppendCommand_Scenes_AddScene ( chip :: Controller :: Device * device , chip :: EndpointId ZCLendpointId , chip :: GroupId , uint16_t groupId , uint8_t sceneId , uint16_t transitionTime , const uint8_t * sceneName , uint32_t sceneName_Len , chip :: ClusterId clusterId , uint8_t length , uint8_t value ) { VerifyOrReturnError ( device != nullptr , CHIP_ERROR_INVALID_ARGUMENT . AsInteger ( ) ) ; chip :: Controller :: ScenesCluster cluster ; cluster . Associate ( device , ZCLendpointId ) ; return cluster . AddScene ( nullptr , nullptr , groupId , sceneId , transitionTime , chip :: ByteSpan ( sceneName , sceneName_Len ) , clusterId , length , value ) . AsInteger ( ) ; }
End of Cluster RelativeHumidityMeasurement
Cluster Scenes
End of Cluster RelativeHumidityMeasurement Cluster Scenes