Native for attribute to trigger switch state