Hi,
in Home automation light profile it is defined that
#define SAMPLELIGHT_ENDPOINT 8
and in Home automation Switch profile it is defined that
#define SAMPLESW_ENDPOINT 8
now when i changed endpoint to 7 in switch profile
#define SAMPLESW_ENDPOINT 7
still binding in light and switch is happening. correct me if i am wrong SAMPLESW_ENDPOINT this is used to give ID(1-240) to end device.