pub const MAX_TRANSITIONS: u16 = 127;
This means we could have up to 128 power levels, which seems like more than enough.