Add ifeqs to not cause conflicts with other devices