オンオフであれば
on'ofudeareba

Noun
Da Copula

The "-eba" conditional form ("if/when…") of オンオフ

1. If on/off; If it's on or off

Ba Conditional