Sensors/MLBL: Fixed setting entity state.