on-off state

noun
UK /ˌɒn ˈɒf steɪt/
US /ˌɑːn ˈɔːf steɪt/

A thing that is either fully on or fully off, with nothing in between.

The light switch has only two on-off states: up for on and down for off.


OTHER MEANINGS

2. A condition in which something changes suddenly between two opposite situations.

His mood was in an on-off state all day, happy one minute and grumpy the next.

3. A setting on a device that can only be turned on or turned off.

The fan's on-off state is controlled by the red button.

4. A simple way to describe something that has just two possible positions.

The game uses an on-off state to show whether a door is open or closed.