Working example python with button on end device and turn  on/ off led router